Skip to content

Instantly share code, notes, and snippets.

@espoirMur
Last active June 3, 2025 06:44
Show Gist options
  • Save espoirMur/65cec3d67e0a96e270860c9c276ab9fa to your computer and use it in GitHub Desktop.
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

@Mahaveer2041
Copy link

Here is what worked for me ( I use Ubuntu 22.04)

  1. Create a config file to blacklist the Nouveau driver:
    sudo tee /etc/modprobe.d/disable-nouveau.conf <<EOF blacklist nouveau options nouveau modeset=0 EOF
  2. Regenerate the initial RAM filesystem:
    sudo update-initramfs -u
    sudo apt purge 'nvidia-*' sudo apt update sudo ubuntu-drivers devices sudo ubuntu-drivers autoinstall sudo reboot

@kaveenkumar
Copy link

thanks! worked for Ubuntu 25.04 and nvidia-driver-570

@jvalladarescea
Copy link

Disabling secure boot and nvidia-driver-570 work for me. Thanks!

@stan1ey-shen
Copy link

Thanks! Disabling Secure Boot fixed the issue with nvidia-driver-570 on Ubuntu 24.04.

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