NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
程序员文章站
2022-05-27 12:49:58
...
参考:https://zhuanlan.zhihu.com/p/89714824
用 nvidia-smi
查看一下,提示如下错误:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.
Make sure that the latest NVIDIA driver is installed and running.
又用 nvcc -V
看了一下驱动还在,网上搜了一下,用下面的方法顺利解决了问题 ,参考:https://blog.csdn.net/hangzuxi8764/article/details/86572093
sudo apt install dkms
sudo dkms install -m nvidia -v 418.87.00
其中,418.87.00 是之前安装 nvidia 驱动的版本号,可通过下面方法查到:
ls /usr/src | grep nvidia
如果安装过程出现错误,可能是gcc版本不对,需要切换版本,比如nvidia-450就需要gcc7,gcc5安装会出错
下一篇: 目录操作,部分命令详解(Linux)
推荐阅读
-
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 couldnot 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