Ubuntu16安装nvidia驱动成功出现NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver
程序员文章站
2022-05-27 13:26:46
...
我之前安装驱动成功,用了一段时间后nvidia-smi查询后出现题目还是那个的报错。有的博客解释是Ubuntu的内核更新导致驱动无法正常工作。下面的方法亲测有效,无需重装nvidia驱动。
- 检查驱动
nvcc -V
驱动存在则进行下一步。
2.
sudo apt-get install dkms
sudo dkms install -m nvidia -v 418.56
418.56是NVIDIA的版本号,当你不知道的时候,进入/usr/src目录中,可以看到里面有nvidia文件夹,后缀就是其版本号。
成功后nvidia-smi查询到显卡驱动正常。
参考:无法连接NVIDIA驱动:NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver
上一篇: 甲骨文推出 RedPatch,RedHat 内核源码 Git 库
下一篇: Jqplot之折线图
推荐阅读
-
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver ...
-
Ubuntu:NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver. 解决方法总结
-
【Ubuntu 18.04 LTS】NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
-
Ubuntu16安装nvidia驱动成功出现NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver
-
NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
-
解决 NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
-
显卡驱动安装教程 NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver
-
Ubuntu切换显卡,NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver
-
NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver
-
ubuntu18:报错NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.解决