Ubuntu关机开机之后出现NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver

柔光的暖阳◎ 2023-07-10 11:19 102阅读 0赞

给大家分享一个tip:
问题:
Ubuntu关机开机之后出现NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
查了一下,应该是由于内核版本更新造成的。

解决方案:

第一步:
sudo apt-get install dkms

#DKMS全称是Dynamic Kernel Module Support,它可以帮我们维护内核外的这些驱动程序,在内核版本变动之后可以自动重新生成新的模块。

第二步:
sudo dkms install -m nvidia -v 410.78 #410.78是安装驱动的版本

发表评论

表情:
评论列表 (有 0 条评论,102人围观)

还没有评论,来说两句吧...

相关阅读