Open jianyunchao opened 11 months ago
ls -l /boot
find /boot/ -name "grub.cfg"
reboot
uname -r查看系统版本,再执行nvidia-smi已经显示正常
将apt自动升级设置为0,关闭状态
vim /etc/apt/apt.conf.d/10periodic
vim /etc/apt/apt.conf.d/20auto-upgrades
apt-mark hold $(uname -r) 查看: dpkg --get-selections | grep hold
背景:执行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. 解决思路:查看内核ls /boot,发现内核升级导致原有驱动不可用,回退到历史的内核版本 or 重新安装driver驱动和固件适配