Skip to content

Instantly share code, notes, and snippets.

@espoirMur
Last active January 25, 2024 22:50
  • Star 86 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save espoirMur/65cec3d67e0a96e270860c9c276ab9fa to your computer and use it in GitHub Desktop.
How I fix this issue NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

I am no longer abe to monitor this post , I have decided to move everything to my personal blog for better monitoring.

Please click here to access the full post

@bameroncaird
Copy link

Works on Ubuntu 22.04.1, NVIDIA GeForce RTX 3090. Original error: "NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running."

@ahenestrosa
Copy link

thanks @tuokor !!

@paramunix
Copy link

paramunix commented May 18, 2023

sudo apt-get purge nvidia-*
sudo apt-get update
sudo apt-get autoremove
and

apt search nvidia ( check latest version)

sudo apt install libnvidia-common-<version>
sudo apt install libnvidia-gl-<version>
sudo apt install nvidia-driver-<version>

@ASG09
Copy link

ASG09 commented May 19, 2023

Worked for me (Ubuntu 22.04 on a dell inspiron 5510) after I did the reboot on secure mode on, but with a slight detail: The BIOS Audit Mode for the secure boot must be checked instead of the other (default) mode. If this default mode is checked, the drivers still does not load. After booting up with this config on, the driver is loaded and I could switch back the secure boot off again (maybe I could even leave it with secure boot on).

@ecolss
Copy link

ecolss commented Sep 24, 2023

In my case I updated from 20 to 21 ubuntu, installed new nvidia drivers and it didn't work. The solution was to disable secure boot. Thanks lyh458

This is it!!

@ardadi
Copy link

ardadi commented Jan 25, 2024

Worked for me (Ubuntu 22.04 on a dell inspiron 5510) after I did the reboot on secure mode on, but with a slight detail: The BIOS Audit Mode for the secure boot must be checked instead of the other (default) mode. If this default mode is checked, the drivers still does not load. After booting up with this config on, the driver is loaded and I could switch back the secure boot off again (maybe I could even leave it with secure boot on).

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment