Nvidia GPU not active

I installed the GPU drivers and enrolled it via akmod with my Boot device. But somehow my computer says it can’t find the driver during startup and nvtop only displays AMD Radeon graphics. I have a lenovo legion.
akmod-nvidia is installed, output of modinfo -F version is 595.71.05. Output of inxi -Fzxx

System:
  Kernel: 7.0.4-200.fc44.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 16.1.1
  Desktop: KDE Plasma v: 6.6.4 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Fedora Linux 44 (KDE Plasma Desktop Edition)
Machine:
  Type: Laptop System: LENOVO product: 83F1 v: Legion 5 15AKP10
    serial: <superuser required> Chassis: type: 10 v: Legion 5 15AKP10
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76574 WIN
    serial: <superuser required> part-nu: LENOVO_MT_83F1_BU_idea_FM_Legion 5
    15AKP10 Firmware: UEFI vendor: LENOVO v: RYCN28WW date: 11/20/2025
CPU:
  Info: 8-core model: AMD Ryzen AI 7 350 w/ Radeon 860M bits: 64 type: MT MCP
    arch: Zen 5 rev: 0 cache: L1: 640 KiB L2: 8 MiB L3: 16 MiB
  Speed (MHz): avg: 1909 min/max: 623/5091:3506 boost: enabled cores:
    1: 1909 2: 1909 3: 1909 4: 1909 5: 1909 6: 1909 7: 1909 8: 1909 9: 1909
    10: 1909 11: 1909 12: 1909 13: 1909 14: 1909 15: 1909 16: 1909
    bogomips: 63877
  Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a
    ssse3 svm
Graphics:
  Device-1: NVIDIA GB206M [GeForce RTX 5060 Max-Q / Mobile] vendor: Lenovo
    driver: nouveau v: kernel arch: Lovelace pcie: speed: 16 GT/s lanes: 8
    ports: active: none empty: DP-9,HDMI-A-1,eDP-2 bus-ID: 63:00.0
    chip-ID: 10de:2d19
  Device-2: Advanced Micro Devices [AMD/ATI] Krackan [Radeon 840M / 860M
    Graphics] vendor: Lenovo driver: amdgpu v: kernel pcie: speed: 16 GT/s
    lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6,
    DP-7, DP-8, Writeback-1 bus-ID: 65:00.0 chip-ID: 1002:1114 temp: 33.0 C
  Device-3: Luxvisions Innotech Integrated RGB Camera driver: uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-1:2 chip-ID: 30c9:00ec
  Display: wayland server: Xwayland v: 24.1.11 compositor: kwin_wayland
    driver: gpu: amdgpu display-ID: 0
  Monitor-1: eDP-1 model: LEN151WQXGA res: 2560x1600 hz: 165 dpi: 203
    diag: 377mm (14.86")
  API: EGL v: 1.5 platforms: device: 0 drv: zink device: 1 drv: radeonsi
    device: 2 drv: swrast gbm: drv: zink surfaceless: drv: zink wayland:
    drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 26.0.6 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon 860M Graphics (radeonsi krackan1
    ACO DRM 3.64 7.0.4-200.fc44.x86_64) device-ID: 1002:1114 display-ID: :0.0
  API: Vulkan v: 1.4.341 surfaces: N/A device: 0 type: integrated-gpu
    driver: mesa radv device-ID: 1002:1114 device: 1 type: discrete-gpu
    driver: mesa nvk device-ID: 10de:2d19 device: 2 type: cpu
    driver: mesa llvmpipe device-ID: 10005:0000
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings wl: wayland-info
    x11: xdriinfo, xdpyinfo, xprop, xrandr
Partition:
  ID-1: / size: 101.19 GiB used: 37.33 GiB (36.9%) fs: ext4
    dev: /dev/nvme1n1p2
  ID-2: /boot/efi size: 511 MiB used: 20 MiB (3.9%) fs: vfat
    dev: /dev/nvme1n1p1
  ID-3: /home size: 835.58 GiB used: 182.87 GiB (21.9%) fs: ext4
    dev: /dev/nvme1n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0

Please provide the output of sudo dmesg | grep -iE "secure|nvidia|nouveau" as well as dnf list --installed \*nvidia\*.

Gladly. Here is the first:

[    0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-7.0.4-200.fc44.x86_64 root=UUID=3b58ae8c-f5a8-4fda-951e-62c235ccaf26 ro rhgb quiet rd.driver.blacklist=nouveau,nova_core modprobe.blacklist=nouveau,nova_core
[    0.000000] secureboot: Secure boot enabled
[    0.000000] Kernel is locked down from EFI Secure Boot mode; see man kernel_lockdown.7
[    0.003308] secureboot: Secure boot enabled
[    0.025308] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-7.0.4-200.fc44.x86_64 root=UUID=3b58ae8c-f5a8-4fda-951e-62c235ccaf26 ro rhgb quiet rd.driver.blacklist=nouveau,nova_core modprobe.blacklist=nouveau,nova_core
[    4.476111] amdgpu 0000:65:00.0: SECUREDISPLAY: optional securedisplay ta ucode is not available
[    6.203693] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input26
[    6.203748] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input27
[    6.203776] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input28
[    6.203791] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input29
[    7.596676] nouveau: detected PR support, will not use DSM
[    7.596714] nouveau 0000:63:00.0: enabling device (0000 -> 0003)
[    7.596766] nouveau 0000:63:00.0: NVIDIA GB206 (1b6000a1)
[    8.114624] nouveau 0000:63:00.0: gsp: RM version: 570.144
[    9.419501] nouveau 0000:63:00.0: drm: VRAM: 8151 MiB
[    9.419508] nouveau 0000:63:00.0: drm: GART: 0 MiB
[    9.765462] nouveau 0000:63:00.0: drm: MM: using COPY for buffer copies
[    9.793927] snd_hda_intel 0000:63:00.1: bound 0000:63:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[    9.797146] nouveau 0000:63:00.0: [drm] Registered 4 planes with drm panic
[    9.797148] [drm] Initialized nouveau 1.4.2 for 0000:63:00.0 on minor 0
[    9.799510] nouveau 0000:63:00.0: [drm] Cannot find any crtc or sizes
[    9.807323] nouveau 0000:63:00.0: [drm] Cannot find any crtc or sizes
[    9.809070] nouveau 0000:63:00.0: [drm] Cannot find any crtc or sizes
[   81.278620] nouveau 0000:63:00.0: Enabling HDA controller
[  616.974586] nouveau 0000:63:00.0: Enabling HDA controller
[  938.759084] nouveau 0000:63:00.0: Enabling HDA controller
[ 1010.046796] nouveau 0000:63:00.0: Enabling HDA controller
[ 1072.430623] nouveau 0000:63:00.0: Enabling HDA controller
[ 1836.815689] nouveau 0000:63:00.0: Enabling HDA controller
[ 2085.862730] nouveau 0000:63:00.0: Enabling HDA controller
[ 2254.310821] nouveau 0000:63:00.0: Enabling HDA controller
[ 2272.622704] nouveau 0000:63:00.0: Enabling HDA controller
[ 2307.334784] nouveau 0000:63:00.0: Enabling HDA controller
[ 2328.982763] nouveau 0000:63:00.0: Enabling HDA controller
[ 6479.871525] nouveau 0000:63:00.0: Enabling HDA controller
[ 8564.238177] nouveau 0000:63:00.0: Enabling HDA controller
[ 8573.870565] nouveau 0000:63:00.0: Enabling HDA controller
[11100.061835] nouveau 0000:63:00.0: Enabling HDA controller
[13616.150025] nouveau 0000:63:00.0: Enabling HDA controller
[23565.190682] nouveau 0000:63:00.0: Enabling HDA controller

Here the second:

Installierte Pakete (available for reinstall, available for upgrade)
akmod-nvidia.x86_64                        3:595.71.05-1.fc44 rpmfusion-nonfree-updates
kmod-nvidia-6.19.14-200.fc43.x86_64.x86_64 3:595.71.05-1.fc44 @commandline
kmod-nvidia-6.19.14-300.fc44.x86_64.x86_64 3:595.71.05-1.fc44 @commandline
kmod-nvidia-7.0.4-200.fc44.x86_64.x86_64   3:595.71.05-1.fc44 @commandline
nvidia-gpu-firmware.noarch                 20260410-1.fc44    <unbekannt>
nvidia-modprobe.x86_64                     3:595.71.05-1.fc44 rpmfusion-nonfree-updates
nvidia-settings.x86_64                     3:595.71.05-1.fc44 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64                 3:595.71.05-1.fc44 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64       3:595.71.05-1.fc44 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64         3:595.71.05-1.fc44 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.i686              3:595.71.05-1.fc44 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64            3:595.71.05-1.fc44 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-power.x86_64           3:595.71.05-1.fc44 rpmfusion-nonfree-updates

(You can’t see the colors but the second command shows everything ready for reinstall)

You may want to consider adding xorg-x11-drv-nvidia-cuda to that list of installed packages.

You might try running sudo akmods --rebuild --force to rebuild and reinstall the nvidia driver for the 7.0.4 kernel. If it succeeds a reboot should load the driver. If it fails there should be a message to find out what went wrong.

I don’t see any anticipated attempt by the kernel to load the nvidia driver in that dmesg output.

And contrarily, it loads nouveau despite having been instructed to blacklist it. What could the causes of this be?

Force-rebuilt gave no error. This time during boot nothinbg was said of nouveau. But nvtop again just shows radeon. Here is the output of inxi -Fzxx again (Idk where to look for changes)

Graphics:
  Device-1: NVIDIA GB206M [GeForce RTX 5060 Max-Q / Mobile] vendor: Lenovo
    driver: nouveau v: kernel arch: Lovelace pcie: speed: 16 GT/s lanes: 8
    ports: active: none empty: DP-9,HDMI-A-1,eDP-2 bus-ID: 63:00.0
    chip-ID: 10de:2d19
  Device-2: Advanced Micro Devices [AMD/ATI] Krackan [Radeon 840M / 860M
    Graphics] vendor: Lenovo driver: amdgpu v: kernel pcie: speed: 16 GT/s
    lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6,
    DP-7, DP-8, Writeback-1 bus-ID: 65:00.0 chip-ID: 1002:1114 temp: 33.0 C
  Device-3: Luxvisions Innotech Integrated RGB Camera driver: uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-1:2 chip-ID: 30c9:00ec
  Display: wayland server: Xwayland v: 24.1.11 compositor: kwin_wayland
    driver: gpu: amdgpu display-ID: 0
  Monitor-1: eDP-1 model: LEN151WQXGA res: 2560x1600 hz: 165 dpi: 203
    diag: 377mm (14.86")
  API: EGL v: 1.5 platforms: device: 0 drv: zink device: 1 drv: radeonsi
    device: 2 drv: swrast gbm: drv: zink surfaceless: drv: zink wayland:
    drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 26.0.6 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon 860M Graphics (radeonsi krackan1
    ACO DRM 3.64 7.0.4-200.fc44.x86_64) device-ID: 1002:1114 display-ID: :0.0
  API: Vulkan v: 1.4.341 surfaces: N/A device: 0 type: integrated-gpu
    driver: mesa radv device-ID: 1002:1114 device: 1 type: discrete-gpu
    driver: mesa nvk device-ID: 10de:2d19 device: 2 type: cpu
    driver: mesa llvmpipe device-ID: 10005:0000
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdriinfo, xdpyinfo, xprop, xrandr
[    0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-7.0.4-200.fc44.x86_64 root=UUID=3b58ae8c-f5a8-4fda-951e-62c235ccaf26 ro rhgb quiet rd.driver.blacklist=nouveau,nova_core modprobe.blacklist=nouveau,nova_core
[    0.000000] secureboot: Secure boot enabled
[    0.000000] Kernel is locked down from EFI Secure Boot mode; see man kernel_lockdown.7
[    0.003360] secureboot: Secure boot enabled
[    0.025544] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-7.0.4-200.fc44.x86_64 root=UUID=3b58ae8c-f5a8-4fda-951e-62c235ccaf26 ro rhgb quiet rd.driver.blacklist=nouveau,nova_core modprobe.blacklist=nouveau,nova_core
[    4.143301] amdgpu 0000:65:00.0: SECUREDISPLAY: optional securedisplay ta ucode is not available
[    6.038528] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input26
[    6.038549] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input27
[    6.038591] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input28
[    6.038612] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input29
[    6.876495] nouveau: detected PR support, will not use DSM
[    6.876534] nouveau 0000:63:00.0: enabling device (0000 -> 0003)
[    6.876598] nouveau 0000:63:00.0: NVIDIA GB206 (1b6000a1)
[    7.409683] nouveau 0000:63:00.0: gsp: RM version: 570.144
[    8.721098] nouveau 0000:63:00.0: drm: VRAM: 8151 MiB
[    8.721108] nouveau 0000:63:00.0: drm: GART: 0 MiB
[    9.047523] nouveau 0000:63:00.0: drm: MM: using COPY for buffer copies
[    9.076177] snd_hda_intel 0000:63:00.1: bound 0000:63:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[    9.079540] nouveau 0000:63:00.0: [drm] Registered 4 planes with drm panic
[    9.079544] [drm] Initialized nouveau 1.4.2 for 0000:63:00.0 on minor 0
[    9.081892] nouveau 0000:63:00.0: [drm] Cannot find any crtc or sizes
[    9.088568] nouveau 0000:63:00.0: [drm] Cannot find any crtc or sizes
[    9.089202] nouveau 0000:63:00.0: [drm] Cannot find any crtc or sizes
[   45.991507] nouveau 0000:63:00.0: Enabling HDA controller
[  155.910693] nouveau 0000:63:00.0: Enabling HDA controller
akmod-nvidia.x86_64                        3:595.71.05-1.fc44 rpmfusion-nonfree-updates
kmod-nvidia-6.19.14-200.fc43.x86_64.x86_64 3:595.71.05-1.fc44 @commandline
kmod-nvidia-6.19.14-300.fc44.x86_64.x86_64 3:595.71.05-1.fc44 @commandline
kmod-nvidia-7.0.4-200.fc44.x86_64.x86_64   3:595.71.05-1.fc44 @commandline
nvidia-gpu-firmware.noarch                 20260410-1.fc44    <unbekannt>
nvidia-modprobe.x86_64                     3:595.71.05-1.fc44 rpmfusion-nonfree-updates
nvidia-persistenced.x86_64                 3:595.71.05-1.fc44 rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                     3:595.71.05-1.fc44 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64                 3:595.71.05-1.fc44 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda.x86_64            3:595.71.05-1.fc44 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686         3:595.71.05-1.fc44 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64       3:595.71.05-1.fc44 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64         3:595.71.05-1.fc44 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.i686              3:595.71.05-1.fc44 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64            3:595.71.05-1.fc44 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-power.x86_64           3:595.71.05-1.fc44 rpmfusion-nonfree-updates

There is a fallback service that loads the nouveau driver if loading the nvidia driver fails. However I see no attempt to load the nvidia driver first so that probably should be the area of focus.

@danrepp
Please show us the output of journalctl -b -g "nouveau|nvidia|secure"

Also check within the bios to see if there is a setting that might disable the nvidia gpu. If there is nothing there we will have to come back to this as I will be out for the next several hours.

1 Like

Thats the output, I ckeck bios now:

Mai 10 17:02:57 fedora kernel: Command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-7.0.4-200.fc44.x86_64 root=UUID=3b58ae8c-f5a8-4fda-951e-62c235ccaf26 ro rhgb quiet rd>
Mai 10 17:02:57 fedora kernel: secureboot: Secure boot enabled
Mai 10 17:02:57 fedora kernel: Kernel is locked down from EFI Secure Boot mode; see man kernel_lockdown.7
Mai 10 17:02:57 fedora kernel: secureboot: Secure boot enabled
Mai 10 17:02:57 fedora kernel: Kernel command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-7.0.4-200.fc44.x86_64 root=UUID=3b58ae8c-f5a8-4fda-951e-62c235ccaf26 ro rhgb q>
Mai 10 17:02:57 fedora dracut-cmdline[363]: Using kernel command line parameters:    BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-7.0.4-200.fc44.x86_64 root=UUID=3b58ae8c-f5a8>
Mai 10 17:03:00 fedora kernel: amdgpu 0000:65:00.0: SECUREDISPLAY: optional securedisplay ta ucode is not available
Mai 10 15:03:01 fedora kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input26
Mai 10 15:03:01 fedora kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input27
Mai 10 15:03:01 fedora kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input28
Mai 10 15:03:01 fedora kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input29
Mai 10 15:03:02 fedora systemd[1]: akmods-keygen@akmods-keygen.service - Akmods Secure boot MOK Key Generation skipped, no trigger condition checks were met.
Mai 10 15:03:02 fedora systemd[1]: Started nvidia-powerd.service - nvidia-powerd service.
Mai 10 15:03:02 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd comm="systemd" exe>
Mai 10 15:03:02 fedora nvidia-powerd[1192]: nvidia-powerd version:2.0 (build 1)
Mai 10 15:03:02 fedora systemd[1]: Starting nvidia-fallback.service - Fallback to nouveau as nvidia did not load...
Mai 10 15:03:02 fedora systemd[1]: nvidia-powerd.service: Deactivated successfully.
Mai 10 15:03:02 fedora 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=>
Mai 10 15:03:02 fedora kernel: nouveau: detected PR support, will not use DSM
Mai 10 15:03:02 fedora kernel: nouveau 0000:63:00.0: enabling device (0000 -> 0003)
Mai 10 15:03:02 fedora kernel: nouveau 0000:63:00.0: NVIDIA GB206 (1b6000a1)
Mai 10 15:03:03 fedora kernel: nouveau 0000:63:00.0: gsp: RM version: 570.144
Mai 10 15:03:04 fedora kernel: nouveau 0000:63:00.0: drm: VRAM: 8151 MiB
Mai 10 15:03:04 fedora kernel: nouveau 0000:63:00.0: drm: GART: 0 MiB
Mai 10 15:03:04 fedora kernel: nouveau 0000:63:00.0: drm: MM: using COPY for buffer copies
Mai 10 15:03:04 fedora kernel: snd_hda_intel 0000:63:00.1: bound 0000:63:00.0 (ops nv50_audio_component_bind_ops [nouveau])
Mai 10 15:03:04 fedora kernel: nouveau 0000:63:00.0: [drm] Registered 4 planes with drm panic
Mai 10 15:03:04 fedora kernel: [drm] Initialized nouveau 1.4.2 for 0000:63:00.0 on minor 0
Mai 10 15:03:04 fedora kernel: nouveau 0000:63:00.0: [drm] Cannot find any crtc or sizes
Mai 10 15:03:04 fedora kernel: nouveau 0000:63:00.0: [drm] Cannot find any crtc or sizes
Mai 10 15:03:04 fedora kernel: nouveau 0000:63:00.0: [drm] Cannot find any crtc or sizes
Mai 10 15:03:05 fedora systemd[1]: Finished nvidia-fallback.service - Fallback to nouveau as nvidia did not load.
Mai 10 15:03:05 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-fallback comm="systemd" e>
Mai 10 15:03:13 p200300e06f07b0230f15882dcf5ab448.dip0.t-ipconnect.de systemd[2168]: Starting app-nvidia\x2dsettings\x2duser@autostart.service - nvidia-settings...
Mai 10 15:03:13 p200300e06f07b0230f15882dcf5ab448.dip0.t-ipconnect.de systemd[2168]: Started app-nvidia\x2dsettings\x2duser@autostart.service - nvidia-settings.
Mai 10 15:03:14 p200300e06f07b0230f15882dcf5ab448.dip0.t-ipconnect.de nvidia-settings[3133]: ERROR: NVIDIA driver is not loaded
Mai 10 15:03:41 p200300e06f07b0230f15882dcf5ab448.dip0.t-ipconnect.de kernel: nouveau 0000:63:00.0: Enabling HDA controller
Mai 10 15:05:31 p200300e06f07b0230f15882dcf5ab448.dip0.t-ipconnect.de kernel: nouveau 0000:63:00.0: Enabling HDA controller

This is what I expected. We need to focus on the nvidia driver not loading.

I checked the boot menu - it had the options “Switchable graphics”, “Discrete Graphics” and “Internal”. It was on switchable. I changed to discrete - blackscreen, purple dots. Did not try internal because this I don’t think its correct. Changed back to Switchable.

Since you said that “output of modinfo -F version is 595.71.05” one should suspect,
since you are also using secureboot, that the akmods key is not enrolled.
(and not that the kmod-nvidia-7.0.4-200.fc44.x86_64.x86_64 RPM was partly installed,
ie: that the depmod done in postinstall was killed).

From /usr/share/doc/akmods/README.secureboot

You can confirm the enrollment of the new keypair once the system
rebooted with:
 `mokutil --list-enrolled
or with:
 `mokutil --test-key /etc/pki/akmods/certs/public_key.der`

Can you verify that ?

Only one key shows up:

[key 1]
Owner: 605dab50-e046-4300-abb6-3dd810dd8b23
SHA1 Fingerprint: 2b:b0:10:e2:4d:94:c6:32:24:58:89:ba:aa:9e:d0:f3:d5:ef:1f:68
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            22:39:af:04:13:0c:44:44:b3:f3:77:ed:be:1a:f7:86
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C=US, ST=Massachusetts, L=Cambridge, O=Red Hat, Inc., OU=Fedora Secure Boot CA 20200709, CN=fedoraca
        Validity
            Not Before: Jul 13 17:31:16 2020 GMT
            Not After : Jan 19 03:14:07 2037 GMT
        Subject: C=US, ST=Massachusetts, L=Cambridge, O=Red Hat, Inc., OU=Fedora Secure Boot CA 20200709, CN=fedoraca
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (2048 bit)
                Modulus:
                    00:ab:c4:41:ad:cb:7a:50:89:66:65:f0:09:de:db:
                    91:2b:b7:e1:7b:1e:4b:28:c5:29:31:a5:db:15:54:
                    44:df:f5:c8:b2:b6:0f:8f:18:90:2a:d2:75:b6:1c:
                    1e:57:1b:c2:6c:8d:88:5b:55:49:0c:19:97:dc:46:
                    c9:c5:c6:ba:8d:70:38:87:dd:9c:cd:79:2b:e9:74:
                    b4:87:cc:e0:6d:b7:3a:8e:5d:58:fe:53:70:5d:ca:
                    91:a3:52:8d:2f:ac:22:0e:5d:8a:0e:75:fb:51:be:
                    f4:e4:cb:a9:45:2f:a2:06:1b:64:97:90:cd:d6:0f:
                    a1:63:be:85:4d:f3:79:c9:09:e6:c4:50:6a:e2:e9:
                    e4:f2:a6:06:de:91:7b:71:54:2b:97:57:ca:6d:32:
                    30:05:7b:30:db:6f:8c:e4:95:2e:0c:d1:a8:af:f6:
                    ee:3b:9a:08:d6:64:64:94:81:6d:f2:ae:74:f3:d0:
                    03:82:5e:4a:f3:8f:c9:05:c5:1d:99:ce:43:8d:d1:
                    9b:5f:cf:8e:18:5d:eb:e0:b6:12:1e:68:de:eb:2d:
                    0a:85:96:67:4b:56:48:9a:9a:e4:40:ee:f5:e0:72:
                    77:6b:d7:72:42:cd:7f:9e:7d:0a:e6:35:f5:0f:38:
                    4f:d1:40:f5:66:a3:34:4c:5e:85:3b:f0:d8:83:22:
                    8d:b5
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            Authority Information Access: 
                CA Issuers - URI:https://fedoraproject.org/wiki/Features/SecureBoot
            X509v3 Authority Key Identifier: 
                B2:80:C7:AE:6B:88:4E:0F:4D:2A:0D:87:24:C2:5E:AF:6C:65:C3:26
            X509v3 Key Usage: critical
                Digital Signature, Certificate Sign, CRL Sign
            X509v3 Basic Constraints: critical
                CA:TRUE
            X509v3 Subject Key Identifier: 
                B2:80:C7:AE:6B:88:4E:0F:4D:2A:0D:87:24:C2:5E:AF:6C:65:C3:26

However, I do remember enrolling it.

Not this one: this is the global fedoraca key.

For the akmods key, verify that:

  • the key exist, ie: the directory /etc/pki/akmods/certs contains a X.der
    file and a symlink public_key.der pointing to X.der

  • the nvidia kernel module is signed with this key, ie: modinfo -F signer nvidia
    output X

If this is the case:

  • you don’t need to generate a new akmods key
  • you don’t need to rebuild the nvidia module
  • you only need to enroll the akmods key.

Follow the end of /usr/share/doc/akmods/README.secureboot to do that, starting line
32 at:

Now you need to enroll the public key in MOK, this process is described
below.

It seems like it worked now:

Mai 10 19:09:23 fedora kernel: Command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-7.0.4-200.fc44.x86_64 root=UUID=3b58ae8c-f5a8-4fda-951e-62c235ccaf26 ro rhgb quiet rd.driver.b>
Mai 10 19:09:23 fedora kernel: secureboot: Secure boot enabled
Mai 10 19:09:23 fedora kernel: Kernel is locked down from EFI Secure Boot mode; see man kernel_lockdown.7
Mai 10 19:09:23 fedora kernel: secureboot: Secure boot enabled
Mai 10 19:09:23 fedora kernel: Kernel command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-7.0.4-200.fc44.x86_64 root=UUID=3b58ae8c-f5a8-4fda-951e-62c235ccaf26 ro rhgb quiet rd.d>
Mai 10 19:09:23 fedora dracut-cmdline[365]: Using kernel command line parameters:    BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-7.0.4-200.fc44.x86_64 root=UUID=3b58ae8c-f5a8-4fda-951>
Mai 10 19:09:26 fedora kernel: amdgpu 0000:65:00.0: SECUREDISPLAY: optional securedisplay ta ucode is not available
Mai 10 17:09:27 fedora kernel: nvidia: loading out-of-tree module taints kernel.
Mai 10 17:09:27 fedora kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 509
Mai 10 17:09:27 fedora kernel: nvidia 0000:63:00.0: enabling device (0000 -> 0003)
Mai 10 17:09:27 fedora kernel: nvidia 0000:63:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
Mai 10 17:09:27 fedora kernel: NVRM: loading NVIDIA UNIX Open Kernel Module for x86_64  595.71.05  Release Build  (dvs-builder@U22-I3-G08-03-1)  Fri Apr 24 06:42:30 UTC 2026
Mai 10 17:09:27 fedora kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input22
Mai 10 17:09:27 fedora kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input23
Mai 10 17:09:27 fedora kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input24
Mai 10 17:09:27 fedora kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:63:00.1/sound/card0/input25
Mai 10 17:09:27 fedora kernel: nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for x86_64  595.71.05  Release Build  (dvs-builder@U22-I3-G08-03-1)  Fri Ap>
Mai 10 17:09:27 fedora kernel: [drm] [nvidia-drm] [GPU ID 0x00006300] Loading driver
Mai 10 17:09:28 fedora systemd[1]: akmods-keygen@akmods-keygen.service - Akmods Secure boot MOK Key Generation skipped, no trigger condition checks were met.
Mai 10 17:09:28 fedora systemd[1]: Started nvidia-powerd.service - nvidia-powerd service.
Mai 10 17:09:28 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd comm="systemd" exe="/usr/li>
Mai 10 17:09:28 fedora nvidia-powerd[1209]: nvidia-powerd version:2.0 (build 1)
Mai 10 17:09:29 fedora kernel: [drm] Initialized nvidia-drm 0.0.0 for 0000:63:00.0 on minor 0
Mai 10 17:09:29 fedora kernel: nvidia 0000:63:00.0: [drm] Cannot find any crtc or sizes
Mai 10 17:09:29 fedora systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load skipped, unmet condition check ConditionPathExists=!/sys/module/nvidia
Mai 10 17:09:29 fedora systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load skipped, unmet condition check ConditionPathExists=!/sys/module/nvidia
Mai 10 17:09:37 p200300e06f07b0230f15882dcf5ab448.dip0.t-ipconnect.de systemd[2154]: Starting app-nvidia\x2dsettings\x2duser@autostart.service - nvidia-settings...
Mai 10 17:09:37 p200300e06f07b0230f15882dcf5ab448.dip0.t-ipconnect.de systemd[2154]: Started app-nvidia\x2dsettings\x2duser@autostart.service - nvidia-settings.
Mai 10 17:10:13 p200300e06f07b0230f15882dcf5ab448.dip0.t-ipconnect.de kernel: nvidia 0000:63:00.0: Enabling HDA controller

But somehow, this is strange to me. Because I did this step several times before. But I think I enrolled the wrong key before (there were three keys inside, one fedora, one called public_key, one with a weird name). I guess I enrolled the public_key before, but I signed the driver with the weirdly named one. Anyway, not nvtop shows the correct GPU. Is there more tests I can do to verify it works now?

Now this happens when I start a game in Steam:

Sorry, I don’t get where you saw that :frowning:

I don’t follow also here: it’s akmods that sign the nvidia driver with its key.
How did you “signed” the driver?

The weirdly name is perhaps the X of the /etc/pki/akmods/certs/X.der file

It has the form (on my machine): HOST_N_M.der where HOST is the hostname of your
machine, N (resp M) are decimal (resp hexa) numbers. I guess that N is the date in
seconds.

mokutil --list-enrolled should show the akmods key with a subject of the form:

Subject: O=HOST, OU=HOST, emailAddress=akmods@HOST, L=None, ST=None, C=US, CN=HOST_N_M

As said Jeff V, you may install the xorg-x11-drv-nvidia-cuda RPM. It will gives you
(at least) the nvidia-smi command.

PS: if you have troubles with this “Switchable graphics” mode:

Sorry. Yes, the “weird” name is the X as you described, but for me it does not seem to follow the terminology you described. mokutil --list-enrolled now shows a second key. The nvidia-smi command returns details about my card. So I think it is solved now, thank you! But there is a weird follow up problem where games on steam don’t start (some res0olution issue). I will try to solve it via switching to discrete graphics. If that does not help, I will open a new issue. Thanks!

Right.

Good: this is the proper thing to do. (and I have no idea how to solve that).

PS: When you paste preformatted text (with </> ```) it would be clearer to
include the command itself before its output.

Discrete Graphics works :slight_smile: Yes I think I should double-check before I press “reply” :wink: