Upon installing this recommended driver and running nvidia-smi I get the following message:
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 many different installation methods over the last few days to get things working, but nothing I’ve seen so far has been able to. I am also working on a project and I can’t make any progress until I’m able to resolve this issue. Please, any help would be greatly appreciated.
The driver seems to be installed fine, but it is not loading.
Please look for files that could blacklist the module loading and remove it.
grep nvidia /etc/modprobe.d/* /lib/modprobe.d/*
Note an entry with blacklist nvidiafb is good and actually needed.
The dmesg output of your bug report is unusable, because apparmor DENIED messages filled the buffer. Please configure apparmor to get rid of those, reboot and recreate the bug report.
I’m also facing similar problem. I’ve 3090 and ubuntu 20.04. I upgraded to 5.17.3 and driver stopped working. I followed your solution to comment out nvidiafb from blacklist file but driver is still not loading. Any other solution to try?
After trying literally everything that I could find online, I was able to fix it by uninstalling and reinstalling Ubuntu. I wish there was a more realistic solution for people, it’s honestly absolutely ridiculous that this problem even exists.
@sterlingaesir thanks for update. I’m not going to reinstall ubuntu, it’s too much for me. 20 years ago I was doing the same thing with linux as I’m doing now. This thing never works out of box. I had to upgrade ubuntu to fix Intel WiFi Issue and it seems it broke GPU now. I’m without WiFi and GPU.
I’m so frustrated with linux world and those people who write drivers. So much of time waste for nothing.
My thoughts exactly. This is my first time using Linux/Ubuntu, and I’m completely put off now. I’ve never had to deal with such nonsense on any other OS that I’ve ever used. I really don’t understand how this could be a reliable platform.
@sterlingaesir after 20 years when your hairs grow grey you will still be facing similar issues ;) Welcome to the wonderful world of *ix operating system. The only thing which works in *ix world is MacOS, it’s freaking flawless, 7 years on it and not a single time I had to mess with it.