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, 2022 in GCP by Rahul
• 3,380 points
881 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, 2022 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,230 points
1,805 views
0 votes
0 answers

how to install virtualenv on Ubuntu 20.04 GCP instance?

I am trying to install python3 virtualenv. ...READ MORE

Nov 8, 2022 in GCP by Ashwini
• 5,430 points
689 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,230 points
7,594 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,090 points
1,427 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,230 points
1,562 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,230 points
4,435 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, 2022 in GCP by Korak
• 5,820 points
660 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, 2022 in GCP by Korak
• 5,820 points
1,329 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP