updated by Bitao 2022-08
在ubuntu系统已经安装过显卡驱动,在命令端使用命令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.
1. 查看已安装驱动的版本信息
ls /usr/src | grep nvidia
我的是 nvidia-460.67。
2. 输入以下命令
sudo apt-get install dkms
sudo dkms install -m nvidia -v 460.67
过程如下图所示:
以上。