NVIDIA driver issues on custom silverblue image

Hi,
I recently switched from Pop!OS to a custom image based on silverblue-nvidia. I’ve learned a lot from my tinkering and have been really happy with the result!

Unfortunately, the recent update to Fedora 42/the switch to the nvidia-open kernel module seems to have messed up my nvidia driver install (related: this topic). Although the nvidia driver is listed as installed, the nouveau driver is being used instead.

However, I’m having a hard time troubleshooting the reason for this issue as my gpu should be compatible with the new module, and I’d like to try to pinpoint the issue before I start tinkering with things to try and fix it. The output from some of the things I’ve checked:

fastfetch

             .',;::::;,'.                 kryoshi@kryblue
         .';:cccccccccccc:;,.             ---------------
      .;cccccccccccccccccccccc;.          OS: Fedora Linux 42.20250429.0 (Silverblue) x86_64
    .:cccccccccccccccccccccccccc:.        Host: Standard (Standard)
  .;ccccccccccccc;.:dddl:.;ccccccc;.      Kernel: Linux 6.14.3-300.fc42.x86_64
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.     Uptime: 58 mins
.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.    Packages: 2059 (rpm), 42 (flatpak)
,cccccccccccccc;MMM.;cc;;WW:;cccccccc,    Shell: bash 5.2.37
:cccccccccccccc;MMM.;cccccccccccccccc:    Display (BOE0977): 2560x1440 @ 165 Hz in 17" [Built-in] *
:ccccccc;oxOOOo;MMM000k.;cccccccccccc:    Display (LG Electronics 22"): 1920x1080 @ 60 Hz in 22" [External]
cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;    DE: GNOME 48.1
ccccc;XMO';cccc;MMM.;cccccccccccccccc'    WM: Mutter (Wayland)
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;     WM Theme: Adwaita
ccccc;0MNc.ccc.xMMd;ccccccccccccccc;      Theme: Adwaita [GTK2/3/4]
cccccc;dNMWXXXWM0:;cccccccccccccc:,       Icons: Adwaita [GTK2/3/4]
cccccccc;.:odl:.;cccccccccccccc:,.        Font: Cantarell (11pt) [GTK2/3/4]
ccccccccccccccccccccccccccccc:'.          Cursor: Adwaita (24px)
:ccccccccccccccccccccccc:;,..             Terminal: Ptyxis 48.1
 ':cccccccccccccccc::;,.                  Terminal Font: Adwaita Mono (11pt)
                                          CPU: Intel(R) Core(TM) i7-10875H (16) @ 5.10 GHz
                                          GPU 1: NVIDIA GeForce RTX 3070 Mobile / Max-Q [Discrete]
                                          GPU 2: Intel UHD Graphics @ 1.20 GHz [Integrated]
                                          Memory: 6.55 GiB / 31.17 GiB (21%)
                                          Swap: 0 B / 8.00 GiB (0%)
                                          Disk (/): 24.10 MiB / 24.10 MiB (100%) - overlay [Read-only]

lspci -k | grep -A 3 -E "(VGA|3D)"

00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
	DeviceName: Onboard - Video
	Subsystem: AIstone Global Limited Device 1117
	Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] (rev a1)
	Subsystem: AIstone Global Limited Device 1117
	Kernel driver in use: nouveau
	Kernel modules: nouveau, nvidia_drm, nvidia

dnf list installed '*nvidia*'

Installed packages
kmod-nvidia.x86_64                                  3:570.144-1.fc42                   @commandline
libnvidia-cfg.x86_64                                3:570.144-1.fc42                   fedora-multimedia
libnvidia-container-tools.x86_64                    1.17.6-1                           nvidia-container-toolkit
libnvidia-container1.x86_64                         1.17.6-1                           nvidia-container-toolkit
libnvidia-fbc.x86_64                                3:570.144-1.fc42                   fedora-multimedia
libnvidia-ml.i686                                   3:570.144-1.fc42                   fedora-multimedia
libnvidia-ml.x86_64                                 3:570.144-1.fc42                   fedora-multimedia
libva-nvidia-driver.x86_64                          1:0.0.13^20250118gitc519e97-2.fc42 fedora-multimedia
nvidia-container-toolkit.x86_64                     1.17.6-1                           nvidia-container-toolkit
nvidia-container-toolkit-base.x86_64                1.17.6-1                           nvidia-container-toolkit
nvidia-driver.x86_64                                3:570.144-1.fc42                   fedora-multimedia
nvidia-driver-cuda.x86_64                           3:570.144-1.fc42                   fedora-multimedia
nvidia-driver-cuda-libs.i686                        3:570.144-1.fc42                   fedora-multimedia
nvidia-driver-cuda-libs.x86_64                      3:570.144-1.fc42                   fedora-multimedia
nvidia-driver-libs.i686                             3:570.144-1.fc42                   fedora-multimedia
nvidia-driver-libs.x86_64                           3:570.144-1.fc42                   fedora-multimedia
nvidia-gpu-firmware.noarch                          20250410-1.fc42                    <unknown>
nvidia-kmod-common.noarch                           3:570.144-1.fc42                   fedora-multimedia
nvidia-libXNVCtrl.x86_64                            3:570.144-1.fc42                   fedora-multimedia
nvidia-modprobe.x86_64                              3:570.144-1.fc42                   fedora-multimedia
nvidia-persistenced.x86_64                          3:570.144-1.fc42                   fedora-multimedia
nvidia-settings.x86_64                              3:570.144-1.fc42                   fedora-multimedia
ublue-os-nvidia-addons.noarch                       0.12-1.fc42                        @commandline

mokutil --sb-state

SecureBoot disabled

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.

nvidia-settings

ERROR: NVIDIA driver is not loaded


(nvidia-settings:30269): GLib-GObject-CRITICAL **: 01:28:54.507: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (nvidia-settings:30269): CRITICAL **: 01:28:54.508: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failed

ERROR: nvidia-settings could not find the registry key file or the X server is not accessible. This file should have been installed along
       with this driver at /usr/share/nvidia/nvidia-application-profiles-key-documentation. The application profiles will continue to
       work, but values cannot be prepopulated or validated, and will not be listed in the help text. Please see the README for possible
       values and descriptions.

modinfo nvidia | grep -E 'firmware|version|filename'

filename:       /lib/modules/6.14.3-300.fc42.x86_64/extra/nvidia/nvidia.ko.xz
version:        570.144
firmware:       nvidia/570.144/gsp_tu10x.bin
firmware:       nvidia/570.144/gsp_ga10x.bin
srcversion:     2F302500582E9F4ABC1500B
parm:           rm_firmware_active:charp

cat /proc/driver/nvidia/version cat /sys/module/nvidia/version

cat: /proc/driver/nvidia/version: No such file or directory
cat: /sys/module/nvidia/version: No such file or directory

All in all, I’m quite lost. I’m considering switching my custom image back to akmod-nvidia instead of akmod-nvidia-open, or I could try building the akmods from scratch instead of using the ublue ones. Any help would be greatly appreciated!

What’s the status of rpm-ostree kargs?

1 Like

rpm-ostree kargs

rhgb quiet root=UUID=c532615a-fd36-4b88-af39-876f82dad264 rootflags=subvol=root rw ostree=/ostree/boot.0/fedora/88bcd350a628216c5fb78e0714815d20408d8e6ddd23bf8f86de0ff6de65af58/0

Looks like you found an issue! Track it here, thanks!

1 Like

Ah I figured it was just something to do with my hardware. Glad I could be of use! And thank you all for the amazing work you do!

1 Like

@j0rge, Hi, I guess that since that fix is in main, and the *-nvidia images are still built from hwe, we need to wait for that change for the fix to land?

The hwe repo is archived, everything is building out of main, pulling a fresh image should have the fix, if not please file an issue, thanks!

Where should I report that?

Main doens’t list any silverblue-nvidia image (Packages · Universal Blue · GitHub), and if I search for it, the one that shows up is from HWE (Package silverblue-nvidia · GitHub). So GitHub UI is outdated or something else is going on.

The github UI is outdated, skopeo inspect docker://ghcr.io/ublue-os/silverblue-nvidia will show the same information.

Report the issue in ublue-os/main and we’ll take it from there!