Nvidia driver not loading

Hi,

Great news your up and running. I did a fresh install of 39 about a week ago and have been holding off of dealing with nvidia. I did an upgrade to 40 today and all seems well.

I just followed your install process:

sudo dnf install akmod-nvidia ← no issues
sudo dnf install xorg-x11-drv-nvidia-cuda ← no issues

waited for the result of ‘modinfo -F version nvidia’ to give me → 550.76

then i did a reboot and during that reboot I see “nvidia driver missing, falling back to nouveau”

What additional steps do i need to do to get this working ?

I’m guessing I’m missing this step but its not on the rpmfusion site

sudo dnf install kernel-devel kernel-headers gcc make dkms acpid libglvnd-glx libglvnd-opengl libglvnd-devel pkgconfig

??

After rebooting what do you get from modinfo -F version nvidia? What does cat /proc/cmdline show?

You appear to be doing a fresh installation so you may need additional steps (depending on your hardware) mentioned in the rpmfusion Nvidia Howto.

after reboot modinfo -F version nvidia => 550.76

cat /proc/cmdline =>

BOOT_IMAGE=(hd0,gpt3)/vmlinuz-6.8.7-300.fc40.x86_64 root=UUID=84c41107-4c04-4330-865d-6a96f287a8c7 ro rootflags=subvol=root rhgb quiet mem_sleep_default=deep rd.driver.blacklist=nouveau modprobe.blacklist=nouveau

hardware is 4090 FE , CPU = amd 7950x3d, mobo Asus strix 670i-e.

Do you have the nvidia-gpu-firmware.noarch from the Fedora repos?

how would i check that ??

dnf list installed ‘nvidia
Installed Packages
akmod-nvidia.x86_64 3:550.76-1.fc40 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.8.7-300.fc40.x86_64.x86_64 3:550.76-1.fc40 @@commandline
nvidia-gpu-firmware.noarch 20240410-1.fc40 @updates
nvidia-modprobe.x86_64 3:550.76-1.fc40 @rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64 3:550.76-1.fc40 @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64 3:550.76-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64 3:550.76-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64 3:550.76-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686 3:550.76-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64 3:550.76-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:550.76-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686 3:550.76-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64 3:550.76-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64 3:550.76-1.fc40 @rpmfusion-nonfree-nvidia-driver

I Did not run →

sudo dnf install kernel-devel kernel-headers gcc make dkms acpid libglvnd-glx libglvnd-opengl libglvnd-devel pkgconfig

but I do have the kernel-devel and kernel-headers installed according to 'dnf list installed ‘kernel

Time to look for error messages using journalctl in a terminal.

You have not been using the </> button for pre-formatted text. That is important for the complex journalctl output.

journalctl captures enormous detail, so you have to do some work to filter out irrelevant entries. It also produces very long lines that end with > in the default terminal output. You can get complete lines by piping the output to cat. I’ll give some examples but you should read man journalctl for the explanation of the suggested options. Start with journalctl --nophostname -b -g nvidia and journalctl --no-hostame -b -p 3 | cat.

journalctl --no-hostname -b -g nvidia
Apr 25 16:39:42 kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input21
Apr 25 16:39:42 kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input22
Apr 25 16:39:42 kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input23
Apr 25 16:39:42 kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input24
Apr 25 16:39:42 systemd[1]: Started nvidia-powerd.service - nvidia-powerd service.
Apr 25 16:39:42 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd >
Apr 25 16:39:43 /usr/bin/nvidia-powerd[1348]: nvidia-powerd version:1.0(build 1)
Apr 25 16:39:43 systemd[1]: Starting nvidia-fallback.service - Fallback to nouveau as nvidia did not load...
Apr 25 16:39:43 kernel: nouveau 0000:01:00.0: NVIDIA AD102 (192000a1)
Apr 25 16:39:43 systemd[1]: nvidia-powerd.service: Deactivated successfully.
Apr 25 16:39:43 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd c>
Apr 25 16:39:45 systemd[1]: Finished nvidia-fallback.service - Fallback to nouveau as nvidia did not load.
Apr 25 16:39:45 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-fallbac>
Apr 25 16:54:57 systemd[1]: Starting nvidia-suspend.service - NVIDIA system suspend actions...
Apr 25 16:54:57 suspend[3077]: nvidia-suspend.service
Apr 25 16:54:57 logger[3077]: <13>Apr 25 16:54:57 suspend: nvidia-suspend.service
Apr 25 16:54:57 systemd[1]: nvidia-suspend.service: Deactivated successfully.
Apr 25 16:54:57 systemd[1]: Finished nvidia-suspend.service - NVIDIA system suspend actions.
Apr 25 16:54:57 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-suspend>
Apr 25 16:54:57 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-suspend >
Apr 25 17:05:49 systemd[1]: Starting nvidia-resume.service - NVIDIA system resume actions...
Apr 25 17:05:49 suspend[3262]: nvidia-resume.service
Apr 25 17:05:49 logger[3262]: <13>Apr 25 17:05:49 suspend: nvidia-resume.service
Apr 25 17:05:49 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-resume >
Apr 25 17:05:49 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-resume c>
Apr 25 17:05:49 systemd[1]: nvidia-resume.service: Deactivated successfully.
Apr 25 17:05:49 systemd[1]: Finished nvidia-resume.service - NVIDIA system resume actions.
Apr 25 17:05:57 /usr/libexec/gdm-x-session[3415]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event21)
Apr 25 17:05:57 /usr/libexec/gdm-x-session[3415]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event22)
Apr 25 17:05:57 /usr/libexec/gdm-x-session[3415]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event23)
Apr 25 17:05:57 /usr/libexec/gdm-x-session[3415]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event24)
Apr 25 17:05:58 /usr/libexec/gdm-x-session[3688]: [33B blob data]
Apr 25 17:05:59 systemd[2761]: Started app-gnome-nvidia\x2dsettings\x2duser-4093.scope - Application launched by gnome-session-binary.
Apr 25 17:06:01 nvidia-settings-user.desktop[4093]: ERROR: NVIDIA driver is not loaded
Apr 25 17:06:01 systemd[2761]: app-gnome-nvidia\x2dsettings\x2duser-4093.scope: Consumed 1.771s CPU time.

journalctl --no-hostname -b -p 3 | cat
Apr 25 12:39:40 kernel: hub 12-0:1.0: config failed, hub doesn't have any ports! (err -19)
Apr 25 16:39:43 /usr/bin/nvidia-powerd[1348]: Allocate client failed 89
Apr 25 16:39:43 /usr/bin/nvidia-powerd[1348]: Failed to initialize RM Client
Apr 25 16:39:49 wpa_supplicant[1741]: bgscan simple: Failed to enable signal strength monitoring
Apr 25 16:39:57 bluetoothd[1336]: src/gatt-database.c:database_add_chrc() Failed to create characteristic entry in database
Apr 25 16:39:57 bluetoothd[1336]: src/gatt-database.c:database_add_service() Failed to add characteristic
Apr 25 16:39:57 bluetoothd[1336]: src/gatt-database.c:database_add_app() Failed to add service
Apr 25 16:39:57 bluetoothd[1336]: src/gatt-database.c:client_ready_cb() Failed to create GATT service entry in local database
Apr 25 17:05:50 bluetoothd[1336]: src/gatt-database.c:database_add_chrc() Failed to create characteristic entry in database
Apr 25 17:05:50 bluetoothd[1336]: src/gatt-database.c:database_add_service() Failed to add characteristic
Apr 25 17:05:50 bluetoothd[1336]: src/gatt-database.c:database_add_app() Failed to add service
Apr 25 17:05:50 bluetoothd[1336]: src/gatt-database.c:client_ready_cb() Failed to create GATT service entry in local database
Apr 25 17:05:55 wpa_supplicant[1741]: bgscan simple: Failed to enable signal strength monitoring
Apr 25 17:05:56 gdm-password][3303]: gkr-pam: unable to locate daemon control file
Apr 25 17:05:59 systemd[2761]: Failed to start app-gnome-gnome\x2dkeyring\x2dsecrets-3913.scope - Application launched by gnome-session-binary.
Apr 25 17:05:59 systemd[2761]: Failed to start app-gnome-liveinst\x2dsetup-3932.scope - Application launched by gnome-session-binary.
Apr 25 17:05:59 systemd[2761]: Failed to start app-gnome-user\x2ddirs\x2dupdate\x2dgtk-4107.scope - Application launched by gnome-session-binary.
Apr 25 17:05:59 bluetoothd[1336]: src/gatt-database.c:database_add_chrc() Failed to create characteristic entry in database
Apr 25 17:05:59 bluetoothd[1336]: src/gatt-database.c:database_add_service() Failed to add characteristic
Apr 25 17:05:59 bluetoothd[1336]: src/gatt-database.c:database_add_app() Failed to add service
Apr 25 17:05:59 bluetoothd[1336]: src/gatt-database.c:client_ready_cb() Failed to create GATT service entry in local database
Apr 25 17:06:00 kernel: nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
Apr 25 17:06:00 kernel: nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
Apr 25 17:06:00 kernel: nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
Apr 25 17:06:00 kernel: nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
Apr 25 17:06:05 kernel: nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
Apr 25 17:06:05 kernel: nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
Apr 25 17:06:05 kernel: nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff
Apr 25 17:06:05 kernel: nouveau 0000:01:00.0: gsp: cli:0xc1d00002 obj:0x00730000 ctrl cmd:0x00731341 failed: 0x0000ffff

Time to start a new thread. There have been previous issues with nvidia-powerd, see: Failed to start Nvidia powerd service after update:

Users with a desktop system who never suspend or hibernate should never have that installed anyway. If they do suspend or hibernate it is needed for a recovery of the GPU at the same state when suspended.

We don’t know if you have a laptop or a desktop. The RPMFusion Nvidia Howto has information for laptop configurations.

the system with nvidia is a desktop

systemctl status nvidia-powerd
○ nvidia-powerd.service - nvidia-powerd service
Loaded: loaded (/usr/lib/systemd/system/nvidia-powerd.service; enabled; preset: enabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: inactive (dead) since Thu 2024-04-25 20:10:50 EDT; 3s ago
Duration: 602ms
Process: 7169 ExecStart=/usr/bin/nvidia-powerd (code=exited, status=1/FAILURE)
Main PID: 7169 (code=exited, status=1/FAILURE)
CPU: 552ms

Apr 25 20:10:50 marks-linux-desktop systemd[1]: Started nvidia-powerd.service - nvidia-powerd service.
Apr 25 20:10:50 marks-linux-desktop /usr/bin/nvidia-powerd[7169]: nvidia-powerd version:1.0(build 1)
Apr 25 20:10:50 marks-linux-desktop /usr/bin/nvidia-powerd[7169]: Allocate client failed 89
Apr 25 20:10:50 marks-linux-desktop /usr/bin/nvidia-powerd[7169]: Failed to initialize RM Client
Apr 25 20:10:50 marks-linux-desktop systemd[1]: nvidia-powerd.service: Deactivated successfully.

Possibly due to secure boot being enabled
You can check that with mokutil --sb-state

You also may need to add nvidia.drm-modeset=1 into that kernel command line

That can be done by editing the file /etc/default/grub and on the line beginning with GRUB-CMDLINE_LINUX insert the above option into the line and save it. Then run sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Note that you hijacked a thread that already contained a solution and yours should have been a new thread. I am moving your posts to a new thread.

SB Enabled

Yeah, sorry, I was seeing that the other person had success and just wanted to confirm I had performed the steps correctly, didn’t mean to highjack it.

Did this and tried a reboot, still get the message on boot that the fallback to nouveau is happening

Also the powerd had the same exit code 89

looking through the journalctl log this morning i noticed loading unsigned module rejected ?

Apr 26 09:36:12 marks-linux-desktop kernel: Loading of unsigned module is rejected
Apr 26 09:36:12 marks-linux-desktop systemd[1]: Starting nvidia-fallback.service - Fallback to nouveau as nvidia did not load...
Apr 26 09:36:12 marks-linux-desktop audit[1568]: NETFILTER_CFG table=firewalld:3 family=1 entries=233 op=nft_register_chain pid=1568 subj=system_u:system_r:firewalld_t:s0 comm="firewalld"
Apr 26 09:36:12 marks-linux-desktop audit[1568]: NETFILTER_CFG table=firewalld_policy_drop:4 family=1 entries=2 op=nft_unregister_table pid=1568 subj=system_u:system_r:firewalld_t:s0 comm="firewalld"
Apr 26 09:36:12 marks-linux-desktop kernel: nouveau 0000:01:00.0: vgaarb: deactivate vga console
Apr 26 09:36:12 marks-linux-desktop kernel: nouveau 0000:01:00.0: NVIDIA AD102 (192000a1)
Apr 26 09:36:12 marks-linux-desktop kernel: Loading of unsigned module is rejected
Apr 26 09:36:12 marks-linux-desktop /usr/bin/nvidia-powerd[1347]: Allocate client failed 89
Apr 26 09:36:12 marks-linux-desktop /usr/bin/nvidia-powerd[1347]: Failed to initialize RM Client
Apr 26 09:36:12 marks-linux-desktop systemd[1]: nvidia-powerd.service: Deactivated successfully.
Apr 26 09:36:12 marks-linux-desktop audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'