NVIDIA tools indicate that the driver is not running, though. And nvidia-settings gets a glib error.
$ 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.
$ nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
$ sudo apt -y install nvidia-driver-390
Reading package lists… Done
Building dependency tree
Reading state information… Done
nvidia-driver-390 is already the newest version (390.141-0ubuntu0.20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 292 not upgraded.
I have nouveau black listed. Any assistance getting the driver loaded and running would be appreciated.nvidia-bug-report.log.gz (395.4 KB)
While the correct 390 driver is installed, there are kernel modules from the incompatible 460 driver left which are blocking everything.
How did you previously install the 460 driver?
Thanks for your response. When i installed Ubuntu from the ISO i did click the box allowing it to install third party video drivers. I pulled up the Ubuntu “Software & Updates” application and checked the additional drivers and it did show 460 installed and so i selected 390 and it seemed to accept that change. Beyond that, i do not believe i explicitly installed 460. At this point i am only a couple days into the install so i will reinstall without allowing proprietary drivers, but if you have other suggestions please let me know. Thanks for your help.
dkms status seems to confirm exactly what you are saying.
$ dkms status
nvidia, 390.141, 5.8.0-40-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
update-initramfs -u did not issue an error, but after a reboot nothing has changed. dkms status seems to give the same response as before.
I also reinstalled ubuntu 20.04.2 by usb iso, and I found out that the kernel source tree has nvidia-460 driver, which impact DKMS rebuild.
e.g. my kernel source tree in following structure.
/usr/lib/modules/5.8.0-44-generic/kernel/nvidia-460/
I’ve moved nvidia-460 to ~/, and i’m able to install nvidia-455.
I need older nvidia driver version for official tensorflow installation, 使用 pip 安裝 TensorFlow