nvidia-smi no devices were found

Error: Device not found
Insert image description here
input

lspci|grep -i vga

I found that the graphics card was actually still
Insert image description here
working. I used NVIDIA-Linux-x86_64-xxx.xxx.run to reinstall the graphics card driver and found that it still didn’t work.

Finally used another installation method

ubuntu-drivers devices

Insert image description here
Choose one.
For example, if you choose 525, that is

sudo apt-get install nvidia-driver-525

After the installation is complete, the device is still not found, so I need to restart
and then everything will be fine.
Insert image description here

Reference
https://blog.csdn.net/dujianghai/article/details/125760522

Guess you like

Origin blog.csdn.net/qq_39942341/article/details/128346642