zl程序教程

您现在的位置是:首页 >  其他

当前栏目

NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver

ITFailed The with has NVIDIA driver because
2023-09-14 09:06:47 时间

ubuntu18.04
今天发现了个神奇的问题
nvidia-smi不管用了
但是cuda还在
在这里插入图片描述问题原因:
貌似软件更新了,然后就不行了,具体原因我也不知道

解决方案
2022/05/27 可以考虑关闭bios中的security boot

sudo apt-get install dkms

接着查看一下nvidia驱动版本

ls /usr/src | grep nvidia

比如我这个就是470.63.01
在这里插入图片描述最后面那个数字替换成你的版本

sudo dkms install -m nvidia -v 470.63.01

然后问题就解决了
重启了一下,也没有发现问题