显卡驱动bug
显卡驱动bug
问题描述:
使用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
解决方案
$ cd /usr/src/
$ ls
# 查看nvidia-xxx,xxx为版本号,记下
$ sudo apt-get install dkms
$ sudo dkms install -m nvidia -v xxx(你的nvidia-xxx版本号)
然后就可以用nvidia-smi命令查看信息啦