NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver.
程序员文章站
2022-05-27 12:39:47
...
在运行 nvidia-smi时出现以下错误:
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver.
解决方法:
step1: 运行 “nvcc -V”
(base) [email protected]:~/Desktop$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
step2: 运行“whereis nvidia”
(base) [email protected]:~/Desktop$ whereis nvidia
nvidia: /usr/lib/nvidia /usr/share/nvidia /usr/src/nvidia-440.33.01/nvidia
根据返回的信息,我的nvidia的版本是440.33.01
step3: 运行 “sudo apt-get install dkms”
sudo apt-get install dkms
step4: 根据step3得到的nvidia版本信息,执行以下命令
sudo dkms install -m nvidia -v 440.33.01
上一篇: linux下安装mysql数据库
下一篇: Linux下安装Mysql数据库
推荐阅读
-
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