Unable to install NVIDIA driver on various GCP Ubuntu VM s with Tesla K80 GPU

0 votes

I have followed the guide on GCP below with Ubuntu 18 and 20 ( have also tried Ubuntu Lite , Debian and Centos 7 ):

https://cloud.google.com/compute/docs/gpus/install-drivers-gpu

Unfortunately, after completing the lengthy install I get this:

me@gpu:~$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

Have tried installing via the script and via the direct downloads from Nvidia site for Cuda 10. Ready to pull my hair out if that helps! I don't understand how a company that builds a bazillion gpu's can't make the installation process robust?

Mar 17 in GCP by Rahul
• 3,380 points
142 views

1 answer to this question.

0 votes

The mistake you are making here is not doing the pre installation steps before running the cuda_10.1.243_418.87.00_linux.run script The users must do all the pre installation steps specially I had to do this for Ubuntu 18.

sudo nano /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
options nouveau modeset=0
sudo update-initramfs -u
reboot

This seems like bit of a hack so I don't why nvidia can't make the process more robust.

answered Apr 5 by Korak
• 5,820 points

Related Questions In GCP

0 votes
1 answer

How to install GPU driver for a ubuntu 18.04 instance?

After you create an instance with one ...READ MORE

answered Nov 7, 2019 in GCP by Sirajul
• 59,170 points
1,230 views
+3 votes
1 answer

GCP Error: "Unable to connect on port 22"

You may see this error under the ...READ MORE

answered Sep 24, 2019 in GCP by Sirajul
• 59,170 points
5,941 views
0 votes
1 answer
0 votes
2 answers

How to install gcp in Python?

If you're accessing BigQuery in python, you ...READ MORE

answered Aug 20, 2018 in GCP by Priyaj
• 58,080 points
948 views
0 votes
1 answer
0 votes
1 answer

How to add a PTR record to my VM instance on gcp?

If your VM instance uses the primary ...READ MORE

answered Sep 26, 2019 in GCP by Sirajul
• 59,170 points
988 views
0 votes
1 answer

How to allow outbound traffic on a custom port in gcp?

To allow outbound traffic through a custom ...READ MORE

answered Sep 26, 2019 in GCP by Sirajul
• 59,170 points
2,262 views
0 votes
1 answer

Cannot connect to my VM instance on GCP via SSH.

This might be because UFW is installed. ...READ MORE

answered Sep 27, 2019 in GCP by Sirajul
• 59,170 points
3,279 views
0 votes
1 answer

Unable to install NVIDIA driver on various GCP Ubuntu VM's with Tesla K80 GPU

If you've installed the driver so many ...READ MORE

answered Mar 20 in GCP by Korak
• 5,820 points
76 views
0 votes
1 answer

Unable to connect through SSH with VS-Code in Mac to a remote GCP VM

It looks to be a specific error ...READ MORE

answered Mar 20 in GCP by Korak
• 5,820 points
108 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP