I am having issues getting my Nvidia Driver to load on Rocky 9

I followed this guide to get the drivers to work but I still get the following error:

[root@ip-10-0-130-103 ~]# nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

[root@ip-10-0-130-103 ~]# lspci | grep -e VGA
01:00.0 VGA compatible controller: NVIDIA Corporation AD102 [GeForce RTX 4090] (rev a1)

Secure boot is disabled.

Here is my bug report:
nvidia-bug-report.log (610.1 KB)

Hi there @krism and welcome to the NVIDIA developer forums.

The log file does not contain any nvidia installer information, so it is difficult to say at what stage things went wrong. But clearly the installation process was not successful since the X initialization is not able to load the driver. Looking at the sections like these:

(==) Matched nouveau as autoconfigured driver 0
(==) Matched nv as autoconfigured driver 1
(==) Matched modesetting as autoconfigured driver 2
(==) Matched fbdev as autoconfigured driver 3
(==) Matched vesa as autoconfigured driver 4
(==) Assigned the driver to the xf86ConfigLayout

there should be nvidia listed as well, which it is not.

Did you maybe miss the X configuration during installation?
The instructions also use the CUDA repositories which is not the ideal configuration if you only need the GPU driver but not necessarily CUDA.

It might also be a good idea to check out the actual NVIDIA provided installation guidelines in the official README to see if you overlooked something.

Thanks!