F40 Kernel module load error when installing Nvidia drivers(No such device)

Suddenly in the app shop there was some update of ‘Security Boot firmware …’ from version 77 to 331, or something like that. I didn’t really read it because I thought I could look it up later, but there is no such application/package in the list…
The boot message about no nvidia kernel is gone, but checking in the console won’t show the drivers

Снимок экрана от 2024-08-16 20-05-37

There’s also an update, but it didn’t work.

I think you have the drivers I expect you to have.

I will let others check the info and respond.

I don’t really understand you

I wanted to put nvidia drivers but it gives an error that there is no such device. I was advised to install akmod drivers, but they don’t work for the same reasons. So I’m following your instructions and reading other forums to solve this as soon as possible

Please provide the output from running inxi -Fzxx in a terminal. This will show us if an Nvidia dGPU is detected, and also provides details that can be found with a web search by others with similar hardware and issues.

If no dGPU is detected, see: Nvidia RTX3050 not detected on GF63.

inxi -Fzxx

System:
  Kernel: 6.10.4-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: GNOME v: 46.4 tk: GTK v: 3.24.43 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Laptop System: Micro-Star product: GF63 Thin 11UC v: REV:1.0
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Micro-Star model: MS-16R6 v: REV:1.0 serial: <superuser required>
    part-nu: 16R6.1 UEFI: American Megatrends LLC. v: E16R6IMS.10D
    date: 06/23/2022
Battery:
  ID-1: BAT1 charge: 20.8 Wh (56.7%) condition: 36.7/51.3 Wh (71.4%)
    volts: 11.4 min: 11.4 model: MSI BIF0_9 serial: N/A status: not charging
CPU:
  Info: 6-core model: 11th Gen Intel Core i5-11400H bits: 64 type: MT MCP
    arch: Tiger Lake rev: 1 cache: L1: 480 KiB L2: 7.5 MiB L3: 12 MiB
  Speed (MHz): avg: 804 high: 853 min/max: 800/4500 cores: 1: 800 2: 800
    3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 802 10: 800 11: 800 12: 853
    bogomips: 64512
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Micro-Star MSI
    driver: i915 v: kernel arch: Gen-12.1 ports: active: eDP-1 empty: HDMI-A-1
    bus-ID: 00:02.0 chip-ID: 8086:9a68
  Device-2: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: Micro-Star MSI
    driver: N/A arch: Ampere pcie: speed: 16 GT/s lanes: 8 bus-ID: 01:00.0
    chip-ID: 10de:25a2
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.2
    compositor: gnome-shell driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1521 res: 1920x1080 dpi: 142
    diag: 394mm (15.5")
  API: OpenGL v: 4.6 vendor: intel mesa v: 24.1.5 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel UHD Graphics (TGL GT1)
    device-ID: 8086:9a68 display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: Micro-Star MSI
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:43c8
  API: ALSA v: k6.10.4-200.fc40.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:43f0
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168
  IF: enp3s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 3-14:3 chip-ID: 8087:0026
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11
Drives:
  Local Storage: total: 476.94 GiB used: 73.87 GiB (15.5%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ512HBLU-00B00
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 34.9 C
Partition:
  ID-1: / size: 475.35 GiB used: 73.32 GiB (15.4%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 544.2 MiB (55.9%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 475.35 GiB used: 73.32 GiB (15.4%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 15.32 GiB used: 5.38 GiB (35.1%)
  Processes: 389 Power: uptime: 42m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 65 Compilers: gcc: 14.2.1 Shell: Bash
    v: 5.2.26 running-in: gnome-terminal inxi: 3.3.34

It turns out it detects

A search for [MSI GF63 Thin i5](site:linux-hardware.org MSI GF63 Thin 11UC i5) finds several hardware probes with PCI ID: 25A2. This dGPU appears to be unique to MSI, but the PCI ID is listed in the RPMFusion HowTo
table:

Current NVIDIA GPUs
NVIDIA GPU product 	Device        PCI ID* features
[...]
NVIDIA GeForce RTX 3050 Laptop GPU 	25A2 	K

Sometimes the LHDB has users comments with kernel options that work around a problem.
I have too often encountered issues like this where Nvidia drivers fail for a particular model the Nvidia developers never tested with Linux (why I no longer have any current Nvidia dGPU’s). You might get help from a Micro-Star forum.

Too bad I ran into this. I tried writing to them, but it is important for them to specify the system information file that is uploaded from their windows application. Thank you all for your time. I’ll keep watching the forum just in case I have any more ideas. Hopefully other colleagues will be able to advise

With all that has been said and done to date I have one additional suggestion that has not yet been done.

First run sudo akmods --force --rebuild
If that fails then it should give you a message about the log file that should contain the cause.

When that completes then reboot and see if it loads the drivers.

It is really surprising that it is not loading the drivers (neither nouveau or nvidia) right now, but that sometimes happens if the driver module gets corrupted in some way when initially installed.

Also please show us the output of dnf list installed \*nvidia\*

Yes, there were errors after sudo akmods --force --rebuild. From the log I could see which packages needed to be installed. But the driver still wouldn’t turn on(
dnf list installed \*nvidia\*

akmod-nvidia.x86_64                       3:555.58.02-1.fc40 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia.x86_64                        3:555.58.02-1.fc40 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.10.4-200.fc40.x86_64.x86_64 3:555.58.02-1.fc40 @@commandline      
kmod-nvidia-6.8.5-301.fc40.x86_64.x86_64  3:555.58.02-1.fc40 @@commandline      
nvidia-gpu-firmware.noarch                20240709-1.fc40    @updates           
nvidia-modprobe.x86_64                    3:555.58.02-1.fc40 @rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64                3:555.58.02-1.fc40 @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                    3:555.58.02-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                3:555.58.02-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64           3:555.58.02-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686        3:555.58.02-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64      3:555.58.02-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64        3:555.58.02-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686             3:555.58.02-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64           3:555.58.02-1.fc40 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64          3:555.58.02-1.fc40 @rpmfusion-nonfree-nvidia-driver

There may be new details available with journalctl. Try (using N for the number of the boot for 6.10.3 and |cat to wrap long lines so they don’t get cut off when pasted as pre-formatted text):

journalctl --no-hostname -b N  -p 3 |cat

and

journalctl --no-hostname -b N -g nvidia |cat

I didn’t understand at all what was to be inserted in place of the N. What is suggested when you press tab:

user@fedora:~$ journalctl --no-hostname -b   -g nvidia |cat
0d6be9bb7aa245d696475bde41c18524  42817a3d597b41578cdadbb9ba25f228  7e588b66249a43e5bbcf94643a9f02cd  a44a4244fb7a4d0d8646e2075ad991ae  cfbc6d856c27401a931d0b00bec21c79  fab3286d3f3c4ab99dae01d9466981e5
122a80a65ab94cb3b9273bc528edf1be  48cd939322a449698ec662f364c192a9  80c33b7e7e2b40a2a04773a462ccbbc4  ab36e9c1a9e74393974c8aec7fa1c2db  d2fc80d0e7f448488734f0a2f3c51d0f  fe1a634d0ce0446cbc0ab9ee332830f5
2cf13c6be0b4438798fe59641bcde395  4abb435e343b4ee4b7e2514ce40ea8eb  815cb6651ee54a7a9c0574aa68bbb543  ac3107edd7214c05b1b1f1ea6e408261  d4bf0ed476f643fb850d9b1df0745dac  
2efe5f770a6d453b9e47d6299ffbda9b  4d93ace2a91e402588fdb30dd3a0acd6  8a2aa463b0d84017a1ffb1aa8a5716fe  b3832bd0714044cca0dc26c733ce239f  d68ee1ead0de4075a8bccc7e08d5fc9b  
3c180941f95c4f2980de1d8ee04647a7  574920d6aa514e23b6331bb5cd5a2a78  8b1a6b23373b4a0ba483e15ce109c844  bda1e994298042e5a667a19998fa74e7  e277a7b794d24009846b8c4e2d8b7a9a  
3d1945fc155d40368a9468b7eeb1dd1d  64d8737426734f959e93c8312fe9860e  9060074cea02491fa3390395fd73232e  ce42adef6e464005bc1845f35ec6c4b1  ebe908a16a694276902f1cd3e1658027  
40a553217cc947df860da1a7454f9be5  7a1ffc57f7a34f2089658585f6807acc  99a6ddb314244ae790f49964aa5599cf  ced730466e3342ef861a6e83a7d11759  ed7879de83af440097ad90a3c59f23b5  

The meaning of the -b N is simple and can be found with using the man page for journalctl. The N represents the number of the boot where you wish to look for information. 0 is the current boot, -1 is the last boot, and so on for each earlier boot. The ID you used for the -b number is not valid in the journalctl context.

Trimming out a large portion of the data requests is almost certain to eliminate all or part of what is needed for diagnosis.

Please repeat those commands as written with valid numbers.

1 Like

journalctl --no-hostname -b -1 -p 3 |cat

авг 17 01:25:44 kernel: psmouse serio1: synaptics: Unable to query device: -71
авг 17 01:25:47 kernel: 
авг 17 01:25:47 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:25:48 kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
авг 17 01:25:48 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:25:48 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:25:48 /usr/bin/nvidia-powerd[1002]: Allocate client failed 89
авг 17 01:25:48 /usr/bin/nvidia-powerd[1002]: Failed to initialize RM Client
авг 17 01:25:48 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:25:48 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:26:01 gdm-password][2053]: gkr-pam: unable to locate daemon control file
авг 17 01:26:02 gdm[1423]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
авг 17 01:26:02 systemd[2066]: Failed to start app-gnome-xdg\x2duser\x2ddirs-2325.scope - Application launched by gnome-session-binary.
авг 17 01:26:04 gdm[1423]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
авг 17 01:26:05 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:26:05 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:26:06 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:26:06 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:26:07 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:26:07 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:34:59 gdm[1423]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
авг 17 01:35:13 gdm[1423]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
авг 17 01:41:23 gdm[1423]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
авг 17 01:41:23 gdm[1423]: GLib: Source ID 116 was not found when attempting to remove it
авг 17 01:41:24 dbus-broker-launch[984]: Activation request for 'org.freedesktop.ColorManager' failed.
авг 17 01:41:24 dbus-broker-launch[984]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
авг 17 01:41:24 dbus-broker-launch[984]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
авг 17 01:41:25 dbus-broker-launch[984]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
авг 17 01:41:26 kernel: watchdog: watchdog0: watchdog did not stop!

journalctl --no-hostname -b -1 -g nvidia |cat

6.10.3 exactly

journalctl --no-hostname -b -1 -g nvidia |cat

авг 17 01:41:42 systemd[1]: Started nvidia-powerd.service - nvidia-powerd service.
авг 17 01:41: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 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
авг 17 01:41:42 /usr/bin/nvidia-powerd[1002]: nvidia-powerd version:1.0(build 1)
авг 17 01:41:42 kernel: nvidia: module license 'NVIDIA' taints kernel.
авг 17 01:41:42 kernel: nvidia: module license taints kernel.
авг 17 01:41:42 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 510
авг 17 01:41:42 kernel: nvidia 0000:01:00.0: enabling device (0000 -> 0003)
авг 17 01:41:42 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:41:42 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:41:42 kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
авг 17 01:41:42 kernel: NVRM: None of the NVIDIA devices were initialized.
авг 17 01:41:42 kernel: nvidia-nvlink: Unregistered Nvlink Core, major device number 510
авг 17 01:41:43 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 510
авг 17 01:41:43 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:41:43 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:41:43 kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
авг 17 01:41:43 kernel: NVRM: None of the NVIDIA devices were initialized.
авг 17 01:41:43 kernel: nvidia-nvlink: Unregistered Nvlink Core, major device number 510
авг 17 01:41:43 systemd[1]: nvidia-powerd.service: Deactivated successfully.
авг 17 01:41: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 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
авг 17 01:41:43 systemd[1]: nvidia-powerd.service: Consumed 1.215s CPU time.
авг 17 01:41:43 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 510
авг 17 01:41:43 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:41:43 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:41:43 kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
авг 17 01:41:43 kernel: NVRM: None of the NVIDIA devices were initialized.
авг 17 01:41:43 kernel: nvidia-nvlink: Unregistered Nvlink Core, major device number 510
авг 17 01:41:56 systemd[2067]: Started app-gnome-nvidia\x2dsettings\x2duser-2628.scope - Application launched by gnome-session-binary.
авг 17 01:41:58 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 510
авг 17 01:41:58 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:41:58 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:41:58 kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
авг 17 01:41:58 kernel: NVRM: None of the NVIDIA devices were initialized.
авг 17 01:41:58 kernel: nvidia-nvlink: Unregistered Nvlink Core, major device number 510
авг 17 01:41:59 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 510
авг 17 01:41:59 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:41:59 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:41:59 kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
авг 17 01:41:59 kernel: NVRM: None of the NVIDIA devices were initialized.
авг 17 01:41:59 kernel: nvidia-nvlink: Unregistered Nvlink Core, major device number 510
авг 17 01:42:00 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 510
авг 17 01:42:00 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:42:00 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:42:00 kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
авг 17 01:42:00 kernel: NVRM: None of the NVIDIA devices were initialized.
авг 17 01:42:00 kernel: nvidia-nvlink: Unregistered Nvlink Core, major device number 510
авг 17 01:42:00 nvidia-settings-user.desktop[2628]: ERROR: NVIDIA driver is not loaded
авг 17 01:42:00 systemd[2067]: app-gnome-nvidia\x2dsettings\x2duser-2628.scope: Consumed 3.434s CPU time.
авг 17 01:47:59 audit[18305]: SOFTWARE_UPDATE pid=18305 uid=0 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=update sw="kmod-nvidia-6.10.4-200.fc40.x86_64-3:555.58.02-1.fc40.x86_64" sw_type=rpm key_enforce=0 gpg_res=0 root_dir="/" comm="dnf" exe="/usr/bin/python3.12" hostname=fedora addr=? terminal=pts/1 res=success'
авг 17 01:48:01 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 510
авг 17 01:48:01 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:48:01 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:48:01 kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
авг 17 01:48:01 kernel: NVRM: None of the NVIDIA devices were initialized.
авг 17 01:48:01 kernel: nvidia-nvlink: Unregistered Nvlink Core, major device number 510
авг 17 01:48:02 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 510
авг 17 01:48:02 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:48:02 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:48:02 kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
авг 17 01:48:02 kernel: NVRM: None of the NVIDIA devices were initialized.
авг 17 01:48:02 kernel: nvidia-nvlink: Unregistered Nvlink Core, major device number 510
авг 17 01:49:44 audit[31363]: SOFTWARE_UPDATE pid=31363 uid=0 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=update sw="kmod-nvidia-6.8.5-301.fc40.x86_64-3:555.58.02-1.fc40.x86_64" sw_type=rpm key_enforce=0 gpg_res=0 root_dir="/" comm="dnf" exe="/usr/bin/python3.12" hostname=fedora addr=? terminal=pts/1 res=success'
авг 17 01:57:01 sudo[32056]:     user : TTY=pts/0 ; PWD=/home/user ; USER=root ; COMMAND=/usr/bin/dnf install libva-nvidia-driver-0.0.12-2.fc40.x86_64
авг 17 01:57:04 audit[32061]: SOFTWARE_UPDATE pid=32061 uid=0 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=install sw="libva-nvidia-driver-0.0.12-2.fc40.x86_64" sw_type=rpm key_enforce=0 gpg_res=1 root_dir="/" comm="dnf" exe="/usr/bin/python3.12" hostname=fedora addr=? terminal=pts/1 res=success'
авг 17 01:57:08 sudo[32084]:     user : TTY=pts/0 ; PWD=/home/user ; USER=root ; COMMAND=/usr/bin/dnf install libva-nvidia-driver-0.0.12-2.fc40.i686
авг 17 01:57:31 audit[32087]: SOFTWARE_UPDATE pid=32087 uid=0 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=install sw="libva-nvidia-driver-0.0.12-2.fc40.i686" sw_type=rpm key_enforce=0 gpg_res=1 root_dir="/" comm="dnf" exe="/usr/bin/python3.12" hostname=fedora addr=? terminal=pts/1 res=success'
авг 17 01:59:03 sudo[32519]:     user : TTY=pts/0 ; PWD=/home/user ; USER=root ; COMMAND=/usr/bin/dnf install nvidia-settings-3:550.67-1.fc40.x86_64
авг 17 02:02:29 sudo[32785]:     user : TTY=pts/0 ; PWD=/home/user ; USER=root ; COMMAND=/usr/bin/dnf install nvidia-persistenced-3:550.67-1.fc40.x86_64
авг 17 02:02:46 sudo[32803]:     user : TTY=pts/0 ; PWD=/home/user ; USER=root ; COMMAND=/usr/bin/dnf install nvidia-persistenced-3:550.67-1.fc40.x86_64 --skip-broken
авг 17 02:31:27 dnf[34076]: RPM Fusion for Fedora 40 - Nonfree - NVIDIA Dri  12 kB/s | 8.5 kB     00:00

journalctl --no-hostname -b -1 -p 3 |cat

авг 17 01:41:39 kernel: psmouse serio1: synaptics: Unable to query device: -71
авг 17 01:41:42 kernel: 
авг 17 01:41:42 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:41:43 kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
авг 17 01:41:43 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:41:43 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:41:43 /usr/bin/nvidia-powerd[1002]: Allocate client failed 89
авг 17 01:41:43 /usr/bin/nvidia-powerd[1002]: Failed to initialize RM Client
авг 17 01:41:43 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:41:43 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:41:55 gdm-password][2054]: gkr-pam: unable to locate daemon control file
авг 17 01:41:55 gdm[1421]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
авг 17 01:41:55 systemd[2067]: Failed to start app-gnome-xdg\x2duser\x2ddirs-2342.scope - Application launched by gnome-session-binary.
авг 17 01:41:56 systemd[2067]: Failed to start app-gnome-user\x2ddirs\x2dupdate\x2dgtk-2653.scope - Application launched by gnome-session-binary.
авг 17 01:41:57 gdm[1421]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
авг 17 01:41:58 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:41:58 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:41:59 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:41:59 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:42:00 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:42:00 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:48:01 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:48:01 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:48:02 kernel: NVRM: The NVIDIA GPU 0000:01:00.0
                           NVRM: (PCI ID: 10de:25a2) installed in this system has
                           NVRM: fallen off the bus and is not responding to commands.
авг 17 01:48:02 kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
авг 17 01:57:31 (sd-pam)[32258]: pam_systemd(login:session): Failed to release session: Access denied
авг 17 01:57:31 (sd-pam)[32328]: pam_systemd(login:session): Failed to release session: Access denied
авг 17 02:35:24 gdm[1421]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
авг 17 02:35:24 dbus-broker-launch[984]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
авг 17 02:35:24 dbus-broker-launch[984]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
авг 17 02:35:25 dbus-broker-launch[984]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
авг 17 02:35:26 kernel: watchdog: watchdog0: watchdog did not stop!

in 6.10.3
sudo akmods --force --rebuild

Checking kmods exist for 6.10.3-200.fc40.x86_64            [  ОК  ]
Files needed for building modules against kernel
6.10.3-200.fc40.x86_64 could not be found as the following
directories are missing:
/usr/src/kernels/6.10.3-200.fc40.x86_64/
/lib/modules/6.10.3-200.fc40.x86_64/build/Is the correct ke[FAILURE ]vel package installed?
Checking kmods exist for 6.8.5-301.fc40.x86_64             [  ОК  ]
Building and installing nvidia-kmod                        [  ОК  ]

Those errors should give us a clue.
The segments of the log that was named where the errors appear should aid in figuring out the actual problem.

Though @gnwiii gave you information about the LHDB in post 26 above and the results that may be found there. This may be specific hardware related since the drivers cannot be loaded.

In post 16 @barryascott provided a command

and if you used that command it could explain why even the nouveau driver is not being loaded.

If you did use that command then I suggest you do the following to re-enable nouveau.

  1. sudo systemctl unmask nvidia-fallback.service
  2. sudo systemctl enable nvidia-fallback.service
  3. reboot.

If the nouveau driver now loads then it is definitely an issue with the nvidia driver.
If the nouveau driver does not load then it may be a bios issue and you should then check the latest bios version for that laptop is installed – upgrade if necessary.

Looking at the sudo akmods --force --rebuild errors, could maybe missing kernel-devel packages cause the issue?

Yes that is to stop nouveau being loaded to allow for easier debug of nvidia driver.

Use sudo systemctl unmask nvidia-fallback.service to restore the service.

/var/log/akmods/akmods.log

2024/08/15 20:40:31 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/15 20:40:31 akmods: Building and installing nvidia-kmod
2024/08/15 20:40:31 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.10.4-200.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/15 20:41:50 akmods: Installing newly built rpms
2024/08/15 20:41:50 akmods: DNF detected
2024/08/15 20:41:59 akmods: Successful.
2024/08/15 20:45:31 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/15 21:06:46 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/15 21:10:00 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/15 21:10:00 akmods: Building and installing nvidia-kmod
2024/08/15 21:10:00 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.10.4-200.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/15 21:11:18 akmods: Installing newly built rpms
2024/08/15 21:11:18 akmods: DNF detected
2024/08/15 21:11:26 akmods: Successful.
2024/08/15 21:12:35 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/15 21:15:33 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/15 21:15:33 akmods: Building and installing nvidia-kmod
2024/08/15 21:15:33 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.10.4-200.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/15 21:16:56 akmods: Installing newly built rpms
2024/08/15 21:16:56 akmods: DNF detected
2024/08/15 21:17:05 akmods: Successful.
2024/08/15 21:17:26 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/15 21:19:51 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/15 21:19:51 akmods: Files needed for building modules against kernel
2024/08/15 21:19:51 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/15 21:19:51 akmods: directories are missing:
2024/08/15 21:19:51 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/15 21:19:51 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/15 21:19:51 akmods: Is the correct kernel-devel package installed?
2024/08/15 21:19:51 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/15 21:22:23 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/15 22:08:04 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/15 22:09:50 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/15 22:12:05 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 00:41:00 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 00:41:47 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 16:38:19 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 16:54:56 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 16:54:56 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/16 16:54:56 akmods: Files needed for building modules against kernel
2024/08/16 16:54:56 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/16 16:54:56 akmods: directories are missing:
2024/08/16 16:54:56 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/16 16:54:56 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/16 16:54:56 akmods: Is the correct kernel-devel package installed?
2024/08/16 17:41:07 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 17:41:07 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/16 17:41:07 akmods: Files needed for building modules against kernel
2024/08/16 17:41:07 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/16 17:41:07 akmods: directories are missing:
2024/08/16 17:41:07 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/16 17:41:07 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/16 17:41:07 akmods: Is the correct kernel-devel package installed?
2024/08/16 17:46:53 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 17:46:53 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/16 17:46:53 akmods: Files needed for building modules against kernel
2024/08/16 17:46:53 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/16 17:46:53 akmods: directories are missing:
2024/08/16 17:46:53 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/16 17:46:53 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/16 17:46:53 akmods: Is the correct kernel-devel package installed?
2024/08/16 18:13:04 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 18:13:04 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/16 18:13:04 akmods: Files needed for building modules against kernel
2024/08/16 18:13:04 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/16 18:13:04 akmods: directories are missing:
2024/08/16 18:13:04 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/16 18:13:04 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/16 18:13:04 akmods: Is the correct kernel-devel package installed?
2024/08/16 19:00:05 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 19:00:05 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/16 19:00:05 akmods: Files needed for building modules against kernel
2024/08/16 19:00:05 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/16 19:00:05 akmods: directories are missing:
2024/08/16 19:00:05 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/16 19:00:05 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/16 19:00:05 akmods: Is the correct kernel-devel package installed?
2024/08/16 19:01:23 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 19:01:23 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/16 19:01:23 akmods: Files needed for building modules against kernel
2024/08/16 19:01:23 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/16 19:01:23 akmods: directories are missing:
2024/08/16 19:01:23 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/16 19:01:23 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/16 19:01:23 akmods: Is the correct kernel-devel package installed?
2024/08/16 19:53:28 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 19:53:29 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/16 19:53:29 akmods: Files needed for building modules against kernel
2024/08/16 19:53:29 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/16 19:53:29 akmods: directories are missing:
2024/08/16 19:53:29 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/16 19:53:29 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/16 19:53:29 akmods: Is the correct kernel-devel package installed?
2024/08/16 19:54:01 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 19:54:01 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/16 19:54:01 akmods: Files needed for building modules against kernel
2024/08/16 19:54:01 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/16 19:54:01 akmods: directories are missing:
2024/08/16 19:54:01 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/16 19:54:01 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/16 19:54:01 akmods: Is the correct kernel-devel package installed?
2024/08/16 20:06:47 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 20:06:47 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/16 20:06:47 akmods: Files needed for building modules against kernel
2024/08/16 20:06:47 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/16 20:06:47 akmods: directories are missing:
2024/08/16 20:06:47 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/16 20:06:47 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/16 20:06:47 akmods: Is the correct kernel-devel package installed?
2024/08/16 22:39:32 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/16 22:39:32 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/16 22:39:32 akmods: Files needed for building modules against kernel
2024/08/16 22:39:32 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/16 22:39:32 akmods: directories are missing:
2024/08/16 22:39:32 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/16 22:39:32 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/16 22:39:32 akmods: Is the correct kernel-devel package installed?
2024/08/17 00:21:14 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 00:21:14 akmods: Building and installing nvidia-kmod
2024/08/17 00:21:14 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.10.4-200.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 00:22:37 akmods: Installing newly built rpms
2024/08/17 00:22:37 akmods: DNF detected
2024/08/17 00:22:52 akmods: Successful.
2024/08/17 00:22:55 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 00:22:55 akmods: Files needed for building modules against kernel
2024/08/17 00:22:55 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/17 00:22:55 akmods: directories are missing:
2024/08/17 00:22:55 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/17 00:22:55 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/17 00:22:55 akmods: Is the correct kernel-devel package installed?
2024/08/17 00:33:41 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 00:33:41 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 00:33:41 akmods: Files needed for building modules against kernel
2024/08/17 00:33:41 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/17 00:33:41 akmods: directories are missing:
2024/08/17 00:33:41 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/17 00:33:41 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/17 00:33:41 akmods: Is the correct kernel-devel package installed?
2024/08/17 00:33:55 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 00:33:55 akmods: Building and installing nvidia-kmod
2024/08/17 00:33:55 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.10.4-200.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 00:35:17 akmods: Installing newly built rpms
2024/08/17 00:35:17 akmods: DNF detected
2024/08/17 00:35:31 akmods: Successful.
2024/08/17 00:35:34 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 00:35:34 akmods: Files needed for building modules against kernel
2024/08/17 00:35:34 akmods: 6.8.5-301.fc40.x86_64 could not be found as the following
2024/08/17 00:35:34 akmods: directories are missing:
2024/08/17 00:35:34 akmods: /usr/src/kernels/6.8.5-301.fc40.x86_64/
2024/08/17 00:35:34 akmods: /lib/modules/6.8.5-301.fc40.x86_64/build/
2024/08/17 00:35:34 akmods: Is the correct kernel-devel package installed?
2024/08/17 00:37:57 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 00:37:57 akmods: Building and installing nvidia-kmod
2024/08/17 00:37:57 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.10.4-200.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 00:39:23 akmods: Installing newly built rpms
2024/08/17 00:39:23 akmods: DNF detected
2024/08/17 00:39:37 akmods: Successful.
2024/08/17 00:39:40 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 00:39:40 akmods: Building and installing nvidia-kmod
2024/08/17 00:39:40 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.8.5-301.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 00:41:09 akmods: Installing newly built rpms
2024/08/17 00:41:09 akmods: DNF detected
2024/08/17 00:41:09 akmods: Could not install newly built RPMs. You can find them and the logfile in:
2024/08/17 00:41:09 akmods: /var/cache/akmods/nvidia/555.58.02-1-for-6.8.5-301.fc40.x86_64.failed.log
2024/08/17 00:51:08 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 00:51:08 akmods: Building and installing nvidia-kmod
2024/08/17 00:51:08 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.10.4-200.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 00:52:30 akmods: Installing newly built rpms
2024/08/17 00:52:30 akmods: DNF detected
2024/08/17 00:52:44 akmods: Successful.
2024/08/17 00:52:47 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 00:52:47 akmods: Building and installing nvidia-kmod
2024/08/17 00:52:47 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.8.5-301.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 00:54:10 akmods: Installing newly built rpms
2024/08/17 00:54:10 akmods: DNF detected
2024/08/17 00:54:10 akmods: Could not install newly built RPMs. You can find them and the logfile in:
2024/08/17 00:54:10 akmods: /var/cache/akmods/nvidia/555.58.02-1-for-6.8.5-301.fc40.x86_64.failed.log
2024/08/17 00:58:50 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 00:58:50 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 00:58:50 akmods: Building and installing nvidia-kmod
2024/08/17 00:58:50 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.8.5-301.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 01:00:08 akmods: Installing newly built rpms
2024/08/17 01:00:08 akmods: DNF detected
2024/08/17 01:00:16 akmods: Successful.
2024/08/17 01:00:16 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 01:00:16 akmods: Building and installing nvidia-kmod
2024/08/17 01:00:16 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.10.4-200.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 01:00:36 akmods: Building rpms failed; see /var/cache/akmods/nvidia/550.67-1-for-6.10.4-200.fc40.x86_64.failed.log for details
2024/08/17 01:00:36 akmods: Hint: Some kmods were ignored or failed to build or install.
2024/08/17 01:00:36 akmods: You can try to rebuild and install them by by calling
2024/08/17 01:00:36 akmods: '/usr/sbin/akmods --force' as root.
2024/08/17 01:00:38 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 01:00:39 akmods: Building and installing nvidia-kmod
2024/08/17 01:00:39 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.8.5-301.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 01:02:00 akmods: Installing newly built rpms
2024/08/17 01:02:00 akmods: DNF detected
2024/08/17 01:02:13 akmods: Successful.
2024/08/17 01:02:27 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 01:02:27 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 01:02:33 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 01:02:33 akmods: Building and installing nvidia-kmod
2024/08/17 01:02:33 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.10.4-200.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 01:02:50 akmods: Building rpms failed; see /var/cache/akmods/nvidia/550.67-1-for-6.10.4-200.fc40.x86_64.failed.log for details
2024/08/17 01:02:50 akmods: Hint: Some kmods were ignored or failed to build or install.
2024/08/17 01:02:50 akmods: You can try to rebuild and install them by by calling
2024/08/17 01:02:50 akmods: '/usr/sbin/akmods --force' as root.
2024/08/17 01:02:52 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 01:02:52 akmods: Building and installing nvidia-kmod
2024/08/17 01:02:52 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.8.5-301.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 01:19:34 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 01:19:35 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 01:19:35 akmods: Building and installing nvidia-kmod
2024/08/17 01:19:35 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.8.5-301.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 01:19:38 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 01:19:38 akmods: Building and installing nvidia-kmod
2024/08/17 01:19:38 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.10.4-200.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 01:22:00 akmods: Installing newly built rpms
2024/08/17 01:22:00 akmods: DNF detected
2024/08/17 01:22:05 akmods: Installing newly built rpms
2024/08/17 01:22:05 akmods: DNF detected
2024/08/17 01:22:15 akmods: Successful.
2024/08/17 01:22:30 akmods: Successful.
2024/08/17 01:22:33 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 01:22:33 akmods: Building and installing nvidia-kmod
2024/08/17 01:22:33 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.8.5-301.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 01:24:10 akmods: Installing newly built rpms
2024/08/17 01:24:10 akmods: DNF detected
2024/08/17 01:24:25 akmods: Successful.
2024/08/17 01:25:47 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 01:25:47 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 01:39:40 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 01:39:40 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 01:41:42 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 01:41:42 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 01:46:14 akmods: Checking kmods exist for 6.10.4-200.fc40.x86_64
2024/08/17 01:46:14 akmods: Building and installing nvidia-kmod
2024/08/17 01:46:14 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.10.4-200.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 01:47:43 akmods: Installing newly built rpms
2024/08/17 01:47:43 akmods: DNF detected
2024/08/17 01:48:00 akmods: Successful.
2024/08/17 01:48:03 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 01:48:03 akmods: Building and installing nvidia-kmod
2024/08/17 01:48:03 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.8.5-301.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 01:49:29 akmods: Installing newly built rpms
2024/08/17 01:49:29 akmods: DNF detected
2024/08/17 01:49:44 akmods: Successful.
2024/08/17 02:35:43 akmods: Checking kmods exist for 6.10.3-200.fc40.x86_64
2024/08/17 02:35:43 akmods: Files needed for building modules against kernel
2024/08/17 02:35:43 akmods: 6.10.3-200.fc40.x86_64 could not be found as the following
2024/08/17 02:35:43 akmods: directories are missing:
2024/08/17 02:35:43 akmods: /usr/src/kernels/6.10.3-200.fc40.x86_64/
2024/08/17 02:35:43 akmods: /lib/modules/6.10.3-200.fc40.x86_64/build/
2024/08/17 02:35:43 akmods: Is the correct kernel-devel package installed?
2024/08/17 02:35:43 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 02:44:39 akmods: Checking kmods exist for 6.10.3-200.fc40.x86_64
2024/08/17 02:44:39 akmods: Files needed for building modules against kernel
2024/08/17 02:44:39 akmods: 6.10.3-200.fc40.x86_64 could not be found as the following
2024/08/17 02:44:39 akmods: directories are missing:
2024/08/17 02:44:39 akmods: /usr/src/kernels/6.10.3-200.fc40.x86_64/
2024/08/17 02:44:39 akmods: /lib/modules/6.10.3-200.fc40.x86_64/build/
2024/08/17 02:44:39 akmods: Is the correct kernel-devel package installed?
2024/08/17 02:44:39 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 02:44:39 akmods: Building and installing nvidia-kmod
2024/08/17 02:44:39 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.8.5-301.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 02:45:50 akmods: Installing newly built rpms
2024/08/17 02:45:50 akmods: DNF detected
2024/08/17 02:46:04 akmods: Successful.
2024/08/17 02:50:43 akmods: Checking kmods exist for 6.10.3-200.fc40.x86_64
2024/08/17 02:50:43 akmods: Files needed for building modules against kernel
2024/08/17 02:50:43 akmods: 6.10.3-200.fc40.x86_64 could not be found as the following
2024/08/17 02:50:43 akmods: directories are missing:
2024/08/17 02:50:43 akmods: /usr/src/kernels/6.10.3-200.fc40.x86_64/
2024/08/17 02:50:43 akmods: /lib/modules/6.10.3-200.fc40.x86_64/build/
2024/08/17 02:50:43 akmods: Is the correct kernel-devel package installed?
2024/08/17 02:50:43 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 02:50:47 akmods: Checking kmods exist for 6.10.3-200.fc40.x86_64
2024/08/17 02:50:47 akmods: Files needed for building modules against kernel
2024/08/17 02:50:47 akmods: 6.10.3-200.fc40.x86_64 could not be found as the following
2024/08/17 02:50:47 akmods: directories are missing:
2024/08/17 02:50:47 akmods: /usr/src/kernels/6.10.3-200.fc40.x86_64/
2024/08/17 02:50:47 akmods: /lib/modules/6.10.3-200.fc40.x86_64/build/
2024/08/17 02:50:47 akmods: Is the correct kernel-devel package installed?
2024/08/17 02:50:47 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 02:50:47 akmods: Building and installing nvidia-kmod
2024/08/17 02:50:47 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.8.5-301.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2024/08/17 02:51:58 akmods: Installing newly built rpms
2024/08/17 02:51:58 akmods: DNF detected
2024/08/17 02:51:58 akmods: Could not install newly built RPMs. You can find them and the logfile in:
2024/08/17 02:51:58 akmods: /var/cache/akmods/nvidia/550.67-1-for-6.8.5-301.fc40.x86_64.failed.log
2024/08/17 12:02:11 akmods: Checking kmods exist for 6.10.3-200.fc40.x86_64
2024/08/17 12:02:11 akmods: Files needed for building modules against kernel
2024/08/17 12:02:11 akmods: 6.10.3-200.fc40.x86_64 could not be found as the following
2024/08/17 12:02:11 akmods: directories are missing:
2024/08/17 12:02:11 akmods: /usr/src/kernels/6.10.3-200.fc40.x86_64/
2024/08/17 12:02:11 akmods: /lib/modules/6.10.3-200.fc40.x86_64/build/
2024/08/17 12:02:11 akmods: Is the correct kernel-devel package installed?
2024/08/17 12:02:11 akmods: Checking kmods exist for 6.8.5-301.fc40.x86_64
2024/08/17 12:02:11 akmods: Building and installing nvidia-kmod
2024/08/17 12:02:11 akmods: Building RPM using the command '/usr/sbin/akmodsbuild --kernels 6.8.5-301.fc40.x86_64 /usr/src/akmods/nvidia-kmod.latest'

Yes, I followed your commands. But afterwards, I did some more actions:

  1. I cleaned the /etc/modprobe.d/ directory of blacklist configs for the nouveau.
  2. In /etc/default/grub I left the variable GRUB_CMDLINE_LINUX_DEFAULT empty, because there were also the words blacklist and nouveau.
  3. sudo dracut -f.

And after rebooting again to kernel 6.10.3, during boot there was a gray screen with white text that nvidia driver is missing go back to nouveau. But -inxi -G still shows driver: N/A

You can use sudo modprobe nouveau to see if there is an error loading that driver.
Also you can use sudo lsmod to see what modules are loaded.