I have a similar issue.
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.
I have tried several things in this thread but cannot find out what I am missing.
I support a bunch of software developers using CentOS 7 on a Dell Optiplex 9020, and either an NVIDIA 510, NVIDIA 620, or NVIDIA 315 video card. I get this error every time there is a kernel update when I do a yum update. The vast majority of time all it takes to fix it is to rerun the NVIDIA video driver installation program.
I use a virtual machine (Kali linux x64 2021) running on a ESXi 7.0 Free with a PCIPassthru Enabled/Active, with a NVIDIA Corporation GF100 [GeForce GTX 480] that gets recognized by Kali, commands bellow.
What can i do to solved this? thks!
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.
uname -a
Linux kprs01 5.10.0-kali7-amd64 #1 SMP Debian 5.10.28-1kali1 (2021-04-12) x86_64 GNU/Linux
“nvidia-smi” returns me also NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running .
“nvidia-settings” gives also Errors: ERROR: NVIDIA driver is not loaded. ERROR: Unable to load info from any available system...
The output of dpkg -l |grep nvidia-prime: ii nvidia-prime 0.8.16~0.20.04.1 all Tools to enable NVIDIA’s Prime
But dkms status: nvidia, 465.27, 5.8.0-50-generic, x86_64: installed
nvidia, 465.27, 5.8.18-050818-generic, x86_64: installed
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=realloc" in /etc/default/grub, then updated grub and rebooted. But nothing has changed.
Computer: HP omen
Ubuntu release: 20.04.1 LTS Kernel: 5.8.0-50-generic
The driver can’t be loaded, the error message is as follow:
modprobe: ERROR: …/libkmod/libkmod-module.c:838 kmod_module_insert_module() could not find module by name=‘off’
modprobe: ERROR: could not insert ‘off’: Unknown symbol in module, or unknown parameter (see dmesg)
After run ‘sudo prime-select nvidia’ (output: Info: the nvidia profile is already set), and reboot the pc, I check again, the driver still can not be loaded.
sudo modprobe nvidia
modprobe: ERROR: …/libkmod/libkmod-module.c:838 kmod_module_insert_module() could not find module by name=‘off’
modprobe: ERROR: could not insert ‘off’: Unknown symbol in module, or unknown parameter (see dmesg)
grep nvidia /etc/modprobe.d/* /lib/modprobe.d/*
the output:
/etc/modprobe.d/blacklist-framebuffer.conf:blacklist nvidiafb
/lib/modprobe.d/blacklist-nvidia.conf:# This file was generated by nvidia-prime
/lib/modprobe.d/blacklist-nvidia.conf:blacklist nvidia
/lib/modprobe.d/blacklist-nvidia.conf:blacklist nvidia-drm
/lib/modprobe.d/blacklist-nvidia.conf:blacklist nvidia-modeset
/lib/modprobe.d/blacklist-nvidia.conf:alias nvidia off
/lib/modprobe.d/blacklist-nvidia.conf:alias nvidia-drm off
/lib/modprobe.d/blacklist-nvidia.conf:alias nvidia-modeset off
/lib/modprobe.d/nvidia-kms.conf:# This file was generated by nvidia-prime
/lib/modprobe.d/nvidia-kms.conf:options nvidia-drm modeset=1
Hi, after I have updated software on my Ubuntu 20.04, my second HDMI display is not detected. With nvidia-smi I get the same Error NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure....
With nvidia-detector command, I get nvidia-driver-510. But it seems not to be installed.
In the settings I see, that AMD Graphics as used and not NVIDIA, although it was set as a primary graphics driver.
How can I solve this problem?
The bug report is below.