πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

GUI performance degrades and nvidia-smi fails because kernel module does not load under Secure Boot.

Environment & Reproduction

Ubuntu 22.04 with proprietary NVIDIA driver and UEFI Secure Boot enabled; reproduce after driver reinstall without proper module signing.

Root Cause Analysis

Secure Boot enforces signed kernel modules; unsigned DKMS build output is rejected at module insertion time.

Quick Triage

Check mokutil –sb-state, run lsmod | grep nvidia, and inspect dmesg for module verification failed messages.

Step-by-Step Diagnosis

Validate DKMS build status, inspect enrolled MOK keys, and confirm whether nvidia module signatures match enrolled trust chain.

Illustrative mockup for ubuntu-22-04-lts β€” secureboot_nvidia_problem
NVIDIA module unsigned under Secure Boot on Ubuntu 22.04 β€” Illustrative mockup β€” Progressive Robot

Solution – Primary Fix

Enroll MOK key and sign NVIDIA DKMS modules, or reinstall driver via Ubuntu packages with proper Secure Boot signing workflow.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Illustrative mockup for ubuntu-22-04-lts β€” secureboot_nvidia_solution
Signed NVIDIA module loaded with Secure Boot on Ubuntu 22.04 β€” Illustrative mockup β€” Progressive Robot

Solution – Alternative Approaches

Temporarily disable Secure Boot for troubleshooting, switch to open drivers, or pin tested driver version.

Verification & Acceptance Criteria

nvidia modules load at boot, nvidia-smi reports devices, and desktop/workload acceleration functions normally.

Rollback Plan

Revert to previous driver package and remove newly enrolled keys if rollout introduces module trust conflicts.

Prevention & Hardening

Standardize signed module process in imaging pipelines and retest Secure Boot after every kernel/driver update.

Related Ubuntu 22.04 graphics issues include GNOME login loops and black screen after suspend on specific drivers.

Related tutorial: View the step-by-step tutorial for Ubuntu 22.04 LTS.

View all Ubuntu 22.04 LTS tutorials on the Tutorials Hub β†’

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

Ubuntu Secure Boot docs, DKMS documentation, NVIDIA Linux driver guides, and mokutil manual.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β€” we respond within one business day.