Dynamic Kernel Module Support(DKMS) is a program/frameworkthat enables generating Linux kernel moduleswhose sources generally reside outside the kernelsource tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.
解决ubuntu 20.04下重启后nVIDIA 3090*2 显卡丢失
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.
Make sure that the latest NVIDIA driver is installed and running.
DKMS全称是Dynamic Kernel Module Support,
它可以帮我们维护内核外的驱动程序,在内核版本变动之后可以自动重新生成新的模块。
sudo apt update
sudo apt install dkms
ls /usr/src | grep nvidia
sudo dkms install -m nvidia -v 470.57.02
nvidia-smi
# sudo reboot
禁止内核更新
# uname -a
# sudo apt-mark hold linux-image-5.11.0-34-generic
sudo apt-mark hold linux-image-*-generic
参考链接
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。