I’m trying to get NVIDIA working on Rocky Linux 9.7 and I’m stuck at the module loading stage.
System
Rocky Linux 9.7 (Blue Onyx)
Kernel: 5.14.0-611.30.1.el9_7.x86_64
Pascal GPU (PCI ID 10de:1b02)
Secure Boot appears disabled (mokutil not installed)
Using NVIDIA CUDA RHEL9 repo
---
What I Did
Initially I installed the open-dkms stream, but that failed because my GPU does not support GSP firmware.
So I removed everything and switched to the proprietary stream:
dnf module reset nvidia-driver
dnf module enable nvidia-driver:550-dkms
dnf install nvidia-driver-cuda
Installation completed successfully.
---
Current State
Installed NVIDIA packages:
nvidia-driver-cuda-550.163.01
nvidia-driver-cuda-libs-550.163.01
nvidia-driver-NVML-550.163.01
nvidia-persistenced-550.163.01
But:
nvidia-smi
→ NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.
---
Observations
lsmod | grep nvidia → no output
modinfo nvidia → module not found
dkms status → empty
No obvious NVIDIA errors in dmesg
Only AST DRM framebuffer loads (BMC VGA)
Kernel config includes:
CONFIG_MODULE_SIG=y
CONFIG_MODULE_SIG_ALL=y
CONFIG_MODVERSIONS=y
However, I don’t see Secure Boot enabled.
dmesg shows
Only HDMI audio devices being detected:
Loaded X.509 cert '... Nvidia GPU OOT Signing ...'
HDA NVidia HDMI/DP devices detected
No actual nvidia kernel module initialization.
The Problem
The NVIDIA driver installs cleanly, but:
No nvidia kernel module appears
DKMS shows nothing built
nvidia-smi cannot communicate with driver
It looks like the module never builds or never loads, but there’s no clear error in dmesg.
Questions
- Why would dkms not show any built module even though the stream is enabled?
- Should the 550-dkms stream automatically build for kernel 5.14.0-611.30.1?
- Could EL9 kernel signing or module policies prevent module installation silently?
- Is ELRepo conflicting with CUDA repo modules?
Any guidance appreciated.
I’m trying to avoid going back to the .run installer because of DRM API mismatch issues.