问题描述,ubuntu18.04上在 软件更新 功能中安装显卡驱动后,使用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
进入目录后查看驱动版本号,比如(430.xx)
sudo apt install dkms
sudo dkms install -m nvidia -v 430.xx
重新输入nvidia-smi
查看是否正常
方法二:
内核降级
参考:
https://blog.csdn.net/zhe_csdn/article/details/96431265
https://blog.csdn.net/qq_41870658/article/details/93330041