Fix NVIDIA DKMS build failures after upgrade
A kernel upgrade made the NVIDIA DKMS build fail. The log DKMS leaves under /var/lib/dkms names the real cause. Here is how to read it and fix it.
Filtering by topic #dkms · clear
A kernel upgrade made the NVIDIA DKMS build fail. The log DKMS leaves under /var/lib/dkms names the real cause. Here is how to read it and fix it.
Secure Boot refuses unsigned NVIDIA modules, so DKMS builds fine and modprobe still fails. Check firmware state, then enrol a MOK or stop enforcing.
nvidia-smi cannot talk to the driver. Walk the ladder: lsmod, dmesg, dkms status, then fix missing headers, nouveau, a kernel update or Secure Boot.