解决与nvidia驱动通讯失败的问题

问题:

$ 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. 记录版本,如我这边是430.64;
ls /usr/src | grep nvidia
nvidia-430.64
  1. 安装dkms;
sudo apt install dkms
  1. 重新安装驱动,版本号改成自己的。
sudo dkms install -m nvidia -v 430.64

你可能感兴趣的:(解决与nvidia驱动通讯失败的问题)