Fix NVIDIA driver not loading on Ubuntu Server
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.
Filtering by topic #dkms · clear
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.
Secure Boot refuses unsigned NVIDIA modules, so DKMS builds fine and modprobe still fails. Check firmware state, then enrol a MOK or stop enforcing.
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.