欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.

程序员文章站 2022-05-27 12:39:59
...

错误详情:NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver.
Make sure that the latest NVIDIA driver is installed and running.

  重启服务器之后,nvidia-smi就无法与英伟达驱动“交流”了,之前的解决方案都是重装英伟达驱动,今天查了一下,查到了解决方案,在此记录一下。
  输入以下两行命令:

sudo apt install dkms
sudo dkms install -m nvidia -v 418.87.00

后边的版本号使用下边命令查询

ls /usr/src | grep nvidia
相关标签: 学习生活 linux