Almost 80% of recent updates fall back to nouveau drivers at reboot

hi, i’ve been posting here before searching for help and explanations about nouveau drivers and nvidia drivers . For a while it was ok , but since about 1 month almost 80% of the updates make me fall on nouveau drivers at reboot . I know we need to wait 5mn before rebooting , i also check thru this CLI if the nvidia drvers is well installed and active with 'modinfo -F version nvidia’which was advised on how to nvidia
so i need to ‘sudo akmods --rebuild --force’ everytime .
Am i missing something ?

How and from where were the nvidia drivers installed?
What hardware do you have?

Please post as preformatted text the results of
inxi -Fzxx and dnf list installed \*nvidia\* to answer both those questions.

2 Likes
System:
  Kernel: 6.10.6-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: Desktop System: Gigabyte product: N/A v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: X99-UD4-CF v: x.x serial: <superuser required>
    UEFI: American Megatrends v: F24b date: 03/13/2018
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mobile Mouse MX Anywhere
    2S serial: <filter> charge: 55% (should be ignored) status: discharging
CPU:
  Info: 6-core model: Intel Core i7-5930K bits: 64 type: MT MCP arch: Haswell
    rev: 2 cache: L1: 384 KiB L2: 1.5 MiB L3: 15 MiB
  Speed (MHz): avg: 1421 high: 3600 min/max: 1200/3700 cores: 1: 1391
    2: 1200 3: 3600 4: 1200 5: 1200 6: 1200 7: 1200 8: 1200 9: 1200 10: 1200
    11: 1262 12: 1200 bogomips: 84000
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3090] driver: nvidia v: 560.35.03
    arch: Ampere pcie: speed: 8 GT/s lanes: 16 ports: active: none
    off: DP-1,DP-2,HDMI-A-1 empty: DP-3 bus-ID: 02:00.0 chip-ID: 10de:2204
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 24.1.2
    compositor: gnome-shell driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa alternate: nv
    gpu: nvidia,nvidia-nvswitch display-ID: :1 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96
  Monitor-1: DP-1 note: disabled pos: top-right model: Idek Iiyama PL2280H
    res: 1920x1080 dpi: 102 diag: 547mm (21.5")
  Monitor-2: DP-2 mapped: DP-3 note: disabled pos: bottom-r model: FHD
    res: 1920x1080 dpi: 163 diag: 355mm (14")
  Monitor-3: HDMI-A-1 mapped: HDMI-0 note: disabled pos: primary,top-left
    model: EIZO NANAO CG247 res: 1920x1200 dpi: 94 diag: 616mm (24.2")
  API: OpenGL v: 4.6.0 vendor: nvidia v: 560.35.03 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3090/PCIe/SSE2
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel C610/X99 series HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8d20
  Device-2: NVIDIA GA102 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 02:00.1 chip-ID: 10de:1aef
  API: ALSA v: k6.10.6-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 Ethernet I218-V vendor: Gigabyte driver: e1000e v: kernel
    port: f020 bus-ID: 00:19.0 chip-ID: 8086:15a1
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 3.18 TiB used: 1.85 TiB (58.1%)
  ID-1: /dev/nvme0n1 vendor: Kikwot model: FN955 2TB size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 38.9 C
  ID-2: /dev/sda vendor: Samsung model: SSD 850 EVO 1TB size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-3: /dev/sdb vendor: Samsung model: SSD 840 EVO 500GB size: 465.76 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 1.82 TiB used: 616.61 GiB (33.1%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 409.9 MiB (42.1%) 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: 1.82 TiB used: 616.61 GiB (33.1%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 4.65 GiB (58.2%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 50.0 C mobo: N/A gpu: nvidia temp: 67 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 67%
Info:
  Memory: total: 64 GiB note: est. available: 62.63 GiB
    used: 19.14 GiB (30.6%)
  Processes: 423 Power: uptime: 14h 39m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 26 Compilers: gcc: 14.2.1 Shell: Bash
    v: 5.2.26 running-in: warp inxi: 3.3.34
dnf list installed \*nvidia\*
Installed Packages
akmod-nvidia.x86_64                                                  3:560.35.03-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.10.5-200.fc40.x86_64.x86_64                            3:555.58.02-1.fc40                            @@commandline
kmod-nvidia-6.10.6-200.fc40.x86_64.x86_64                            3:560.35.03-1.fc40                            @@commandline
nvidia-gpu-firmware.noarch                                           20240811-2.fc40                               @updates
nvidia-modprobe.x86_64                                               3:560.35.03-1.fc40                            @rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64                                           3:560.35.03-1.fc40                            @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                                               3:560.35.03-1.fc40                            @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                                           3:560.35.03-2.fc40                            @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64                                      3:560.35.03-2.fc40                            @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64                                 3:560.35.03-2.fc40                            @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64                                   3:560.35.03-2.fc40                            @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64                                      3:560.35.03-2.fc40                            @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64                                     3:560.35.03-2.fc40                            @rpmfusion-nonfree-nvidia-driver

I see nothing wrong with the nvidia drivers in that information. All the proper packages are installed and the currently loaded driver is nvidia.

I also see that you are using the X11 DE and have 3 monitors attached to the GPU, which is an RTX 3090.

The drivers for the 6.10.4 & 6.10.5 kernels was the 555.58.02 version but the one for the current 6.10.6 kernel is the 560.35.03 version as I would expect.

Your initial complaint seems that you may have needed to run the akmods command to repair the driver. The only situation where that is often seen is when the user is using the cli with dnf to update and fails to wait adequate time before rebooting or when the update is done using gnome software and also fails to wait adequate time (either intentionally or with an automatic reboot) to allow the drivers to complete building.

Please let us know in detail what happens the next time this problem occurs. The detail necessary is to know exact timing of each step done before and during a kernel upgrade where the driver fails to properly load.

2 Likes

ok fine, thanks a lot but i can assure you that i’m always waiting time before restarting to avoid that rebuild . Anyway, yesterday i received an nvidia driver update and it went fine , so i don’t really know what did happen with other update , thanks for your help anyway

1 Like

journalctl should have details for the switch to nouveau. Try something like journalctl --no-hostname -b <N> -g nvidia, where <N> is the number of boot where nouveau was used. I expect you will see entries for nvidia-powerd. Fedora enables nvidia-powerd on all systems , but it is only needed on certain laptop configurations. Nvidia recommends disabling it on desktops. Failure to load nvidia-powerd is supposed to have no impact on desktops, but Nvidia warns that cards from 3rd party vendors may depart from the behaviour of Nvidia’s own cards.

tried that cl

journalctl --no-hostname -b -g nvidia
doesn’t seems to work

You may need this to work if the problem comes back – “doesn’t seems to work” is not helpful. Do you get an error, -- No entries --, or something else?. You need to supply an appropriate value for <N>.

ok would love to supply the appropriate value for N if i knew which appropriate value to give …???
journalctl --no-hostname -b -g nvidia
bash: N: No such file or directory
That’s what i get , also tried with nvidia-powerd instead of N , no better results

<N> is -1 for the previous boot, -2 for second previous boot, etc. See man journalctl for ways to list all the recorded boots and ways to “filter” output, but be prepared to spend some time as there are lots of options. When you are dealig with frequently occuring issues, it is useful to make a list with the time and dates of the issues to help locate the relevant entries in journalctl.

thanks a lot for explanation, i checked the man journalctl , i’m afraid is far too advanced for me and my knowledge in computer .
Sorry has you trying to help me and i really appreciate that , but i have to confess that i don’t understand so much in the man journalctl .
I get a result with <journalctl --no-hostname -b <-1> -g nvidia> but it’s only giving result from set 6 and my reboot with nouveau were older than that, at least one week.I pasted anyway .
That would be great to have for people like me a video which show and explain ( what they do ) the major basics cli for being able to get an idea of the error we’re facing before posting here instead of crying like babies : " my computer doesn’t work anymore " which is not very specific as an error. Maybe if it’s already exist ( i checked briefly the fedora project Utube page without success) , link will be greatly appreciated but please some kind of vulgarization not too technical for average acknowledged people like me ( Am i ?) could understand .

journalctl --no-hostname -b -1 -g nvidia
Sep 06 10:40:16 systemd[1]: Started nvidia-powerd.service - nvidia-powerd service.
Sep 06 10:40:16 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=">
Sep 06 10:40:16 /usr/bin/nvidia-powerd[950]: nvidia-powerd version:1.0(build 1)
Sep 06 10:40:17 kernel: nvidia: loading out-of-tree module taints kernel.
Sep 06 10:40:17 kernel: nvidia: module license 'NVIDIA' taints kernel.
Sep 06 10:40:17 kernel: nvidia: module license taints kernel.
Sep 06 10:40:17 kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/0000:02:00.1/sound/card1/input23
Sep 06 10:40:17 kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/0000:02:00.1/sound/card1/input24
Sep 06 10:40:17 kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/0000:02:00.1/sound/card1/input25
Sep 06 10:40:17 kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/0000:02:00.1/sound/card1/input26
Sep 06 10:40:18 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 234
Sep 06 10:40:18 kernel: nvidia 0000:02:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
Sep 06 10:40:18 kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  560.35.03  Fri Aug 16 21:39:15 UTC 2024
Sep 06 10:40:18 kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
Sep 06 10:40:18 kernel: nvidia-uvm: Loaded the UVM driver, major device number 510.
Sep 06 10:40:18 kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  560.35.03  Fri Aug 16 21:21:48 UTC 2024
Sep 06 10:40:20 kernel: [drm] [nvidia-drm] [GPU ID 0x00000200] Loading driver
Sep 06 10:40:20 systemd[1]: nvidia-powerd.service: Deactivated successfully.
Sep 06 10:40:20 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="s>
Sep 06 10:40:20 systemd[1]: nvidia-powerd.service: Consumed 3.654s CPU time.
Sep 06 10:40:21 kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:02:00.0 on minor 1
Sep 06 10:40:21 kernel: nvidia 0000:02:00.0: vgaarb: deactivate vga console
Sep 06 10:40:21 kernel: fbcon: nvidia-drmdrmfb (fb0) is primary device
Sep 06 10:40:22 kernel: nvidia 0000:02:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
Sep 06 10:40:22 systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load was skipped because of an unmet condition check (>
Sep 06 10:40:22 systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load was skipped because of an unmet condition check (>
Sep 06 10:40:42 /usr/libexec/gdm-x-session[3542]: (II) Applying OutputClass "nvidia" to /dev/dri/card1
Sep 06 10:40:42 /usr/libexec/gdm-x-session[3542]:         loading driver: nvidia
Sep 06 10:40:43 /usr/libexec/gdm-x-session[3542]: (==) Matched nvidia as autoconfigured driver 0
Sep 06 10:40:43 /usr/libexec/gdm-x-session[3542]: (II) LoadModule: "nvidia"
Sep 06 10:40:43 /usr/libexec/gdm-x-session[3542]: (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
Sep 06 10:40:43 /usr/libexec/gdm-x-session[3542]: (II) Module nvidia: vendor="NVIDIA Corporation"
Sep 06 10:40:43 /usr/libexec/gdm-x-session[3542]: (II) NVIDIA dlloader X Driver  560.35.03  Fri Aug 16 21:25:43 UTC 2024
Sep 06 10:40:43 /usr/libexec/gdm-x-session[3542]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Sep 06 10:40:43 /usr/libexec/gdm-x-session[3542]: (II) NOUVEAU driver for NVIDIA chipset families :
Sep 06 10:40:44 /usr/libexec/gdm-x-session[3542]: (II) NVIDIA(0): Creating default Display subsection in Screen section
Sep 06 10:40:44 /usr/libexec/gdm-x-session[3542]: (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
Sep 06 10:40:44 /usr/libexec/gdm-x-session[3542]: (==) NVIDIA(0): RGB weight 888
Sep 06 10:40:44 /usr/libexec/gdm-x-session[3542]: (==) NVIDIA(0): Default visual is TrueColor
Sep 06 10:40:44 /usr/libexec/gdm-x-session[3542]: (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
Sep 06 10:40:44 /usr/libexec/gdm-x-session[3542]: (**) Option "AllowNVIDIAGpuScreens"
Sep 06 10:40:44 /usr/libexec/gdm-x-session[3542]: (II) Applying OutputClass "nvidia" options to /dev/dri/card1
Sep 06 10:40:44 /usr/libexec/gdm-x-session[3542]: (**) NVIDIA(0): Option "SLI" "Auto"
Sep 06 10:40:44 /usr/libexec/gdm-x-session[3542]: (**) NVIDIA(0): Option "BaseMosaic" "on"
Sep 06 10:40:44 /usr/libexec/gdm-x-session[3542]: (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
 ESCOC

I would suggest that your own evaluation of your knowledge level is the only relevant value.

The log snippets you show seem 100% normal for a system that is loading nvidia drivers.

What some see as an error is only a message and is only a reminder that because nvidia actually loaded the fallback service was skipped.

Sep 06 10:40:22 systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load was skipped because of an unmet condition check (>
journalctl --no-hostname -b -1 -g nvidia
Sep 08 01:44:28 kernel: nvidia: loading out-of-tree module taints kernel.
Sep 08 01:44:28 kernel: nvidia: module license 'NVIDIA' taints kernel.
Sep 08 01:44:28 kernel: nvidia: module license taints kernel.
Sep 08 01:44:28 kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/0>
Sep 08 01:44:28 kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/0>
Sep 08 01:44:28 kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/0>
Sep 08 01:44:28 kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/0>
Sep 08 01:44:29 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number >
Sep 08 01:44:29 kernel: nvidia 0000:02:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,d>
Sep 08 01:44:29 kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  560.35.03  Fri Aug 16>
Sep 08 01:44:29 kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from >
Sep 08 01:44:29 kernel: nvidia-uvm: Loaded the UVM driver, major device number 510.
Sep 08 01:44:29 kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX pl>
Sep 08 01:44:29 kernel: [drm] [nvidia-drm] [GPU ID 0x00000200] Loading driver
Sep 08 01:44:32 kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:02:00.0 on minor>
Sep 08 01:44:32 kernel: nvidia 0000:02:00.0: vgaarb: deactivate vga console
Sep 08 01:44:32 kernel: fbcon: nvidia-drmdrmfb (fb0) is primary device
Sep 08 01:44:32 kernel: nvidia 0000:02:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
Sep 08 01:44:32 systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not l>
Sep 08 01:44:32 systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not l>
Sep 08 01:44:39 ollama[894]: time=2024-09-08T01:44:39.312+02:00 level=INFO source=types.go:10>
lines 1-21/21 (END)...skipping...
Sep 08 01:44:28 kernel: nvidia: loading out-of-tree module taints kernel.
Sep 08 01:44:28 kernel: nvidia: module license 'NVIDIA' taints kernel.
Sep 08 01:44:28 kernel: nvidia: module license taints kernel.
Sep 08 01:44:28 kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/0000:02:00.1/sound/card1/input23
Sep 08 01:44:28 kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/0000:02:00.1/sound/card1/input24
Sep 08 01:44:28 kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/0000:02:00.1/sound/card1/input25
Sep 08 01:44:28 kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/0000:02:00.1/sound/card1/input26
Sep 08 01:44:29 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 234
Sep 08 01:44:29 kernel: nvidia 0000:02:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
Sep 08 01:44:29 kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  560.35.03  Fri Aug 16 21:39:15 UTC 2024
Sep 08 01:44:29 kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
Sep 08 01:44:29 kernel: nvidia-uvm: Loaded the UVM driver, major device number 510.
Sep 08 01:44:29 kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  560.35.03  Fri Aug 16 21:21:48 UTC 2024
Sep 08 01:44:29 kernel: [drm] [nvidia-drm] [GPU ID 0x00000200] Loading driver
Sep 08 01:44:32 kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:02:00.0 on minor 1
Sep 08 01:44:32 kernel: nvidia 0000:02:00.0: vgaarb: deactivate vga console
Sep 08 01:44:32 kernel: fbcon: nvidia-drmdrmfb (fb0) is primary device
Sep 08 01:44:32 kernel: nvidia 0000:02:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
Sep 08 01:44:32 systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load was skipped because of an unmet condition check (ConditionPathExists=!/sys/module/nvidia).
Sep 08 01:44:32 systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load was skipped because of an unmet condition check (ConditionPathExists=!/sys/module/nvidia).
Sep 08 01:44:39 ollama[894]: time=2024-09-08T01:44:39.312+02:00 level=INFO source=types.go:107 msg="inference compute" id=GPU-04cfece0-a2dd-503f-d991-3724bdfc774c library=cuda variant=v12 compute=8.6 driver=12.6 name="NVIDIA GeForce >

Now you are getting results from journalctl, but when preparing content for a forum post you need an extra step to avoid truncating overly long lines (the ones that end with >). Once you have a filter that shows the lines relevant to a problem, run the command again but add | cat, which wraps the overly long lines so no content is lost.

1 Like