2

I wanted to update NVIDIA drivers on my Ubuntu 20.04. I have installed them by command sudo apt install nvidia-driver-510, then I reboot my PC. And now when I use command nvidia-smi I get the error 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.

Also, now I can't to change display resolution. How can I fix this issue?

Maybe I do something wrong. What is the proper way to install these drivers?

$ dkms status 
nvidia, 510.54, 5.14.0-39-generic, x86_64: installed
$ uname -r
5.13.0-39-generic

2 Answers2

3

I solved my problem. There were not problems with drivers installation. It was nessecary to disable Secure Boot in BIOS.

0

In my case, disabling Secure Boot nor prime-select nor rebooting don't help.

I have to install nvidia-dkms package via sudo apt install nvidia-dkms-YOUR-VERSION which is missing in the recommended installation method in the official doc (https://ubuntu.com/server/docs/nvidia-drivers-installation). The nvidia-dkms package is only mentioned in the manual installation method.