无法连接NVIDIA驱动


NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
sudo apt install dkms
ls /usr/src | grep nvidia # 得到底下的 495.29.05 或其他版本号
sudo dkms install -m nvidia -v 495.29.05

参考:

https://zhuanlan.zhihu.com/p/89714824

https://blog.csdn.net/hangzuxi8764/article/details/86572093