[bazzite/nvidia] Plymouth "nvidia kernel module not loaded. Falling back to nouveau"

I switched from kinoite to bazzite with nvidia about a month ago. With recent updates, I'm getting the message in the title during boot. My kargs: rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 nowatchdog gpu_sched.sched_policy=0 nvidia_drm.modeset=1
lsmod|grep -i nvidia
nvidia_drm 118784 25
nvidia_modeset 1585152 47 nvidia_drm
nvidia_uvm 3526656 12
nvidia 62394368 1073 nvidia_uvm,nvidia_modeset
video 81920 3 i915,nouveau,nvidia_modeset
lsmod|grep -i nvidia
nvidia_drm 118784 25
nvidia_modeset 1585152 47 nvidia_drm
nvidia_uvm 3526656 12
nvidia 62394368 1073 nvidia_uvm,nvidia_modeset
video 81920 3 i915,nouveau,nvidia_modeset
❯ lspci -nnk | grep -iA2 vga

03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] [10de:1c03] (rev a1)
Subsystem: eVga.com. Corp. Device [3842:6161]
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
--
Subsystem: eVga.com. Corp. Device [3842:6161]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
❯ lspci -nnk | grep -iA2 vga

03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] [10de:1c03] (rev a1)
Subsystem: eVga.com. Corp. Device [3842:6161]
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
--
Subsystem: eVga.com. Corp. Device [3842:6161]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
systemctl status nvidia-fallback.service
nvidia-fallback.service - Fallback to nouveau as nvidia did not load
Loaded: loaded (/usr/lib/systemd/system/nvidia-fallback.service; disabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (exited) since Tue 2024-02-13 15:38:39 GMT; 2min 25s ago
Process: 1121 ExecStart=/sbin/modprobe nouveau (code=exited, status=0/SUCCESS)
Process: 1235 ExecStartPost=/bin/plymouth message --text=NVIDIA kernel module missing. Falling back to nouveau (code=exited, status=0/SUCCESS)
Main PID: 1121 (code=exited, status=0/SUCCESS)
CPU: 468ms

Feb 13 15:38:38 akane systemd[1]: Starting nvidia-fallback.service - Fallback to nouveau as nvidia did not load...
Feb 13 15:38:39 akane systemd[1]: Finished nvidia-fallback.service - Fallback to nouveau as nvidia did not load.
systemctl status nvidia-fallback.service
nvidia-fallback.service - Fallback to nouveau as nvidia did not load
Loaded: loaded (/usr/lib/systemd/system/nvidia-fallback.service; disabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (exited) since Tue 2024-02-13 15:38:39 GMT; 2min 25s ago
Process: 1121 ExecStart=/sbin/modprobe nouveau (code=exited, status=0/SUCCESS)
Process: 1235 ExecStartPost=/bin/plymouth message --text=NVIDIA kernel module missing. Falling back to nouveau (code=exited, status=0/SUCCESS)
Main PID: 1121 (code=exited, status=0/SUCCESS)
CPU: 468ms

Feb 13 15:38:38 akane systemd[1]: Starting nvidia-fallback.service - Fallback to nouveau as nvidia did not load...
Feb 13 15:38:39 akane systemd[1]: Finished nvidia-fallback.service - Fallback to nouveau as nvidia did not load.
4 Replies
BW
BWOP11mo ago
And finally, to check if I am using the correct image.
ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia:39
Digest: sha256:8230ad95bd2e9b8dcea305688fcae2df7c28bbcf3e891574d6edb63af00d1bd3
Version: 39.20240116.0 (2024-02-13T01:42:21Z)
LayeredPackages: atop containernetworking-plugins fcitx5 fcitx5-mozc iotop irqbalance libreoffice onedrive podman-compose yakuake zsh
Initramfs: '"-I /etc/crypttab /usr/lib/modprobe.d/nvidia.conf"'
ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia:39
Digest: sha256:8230ad95bd2e9b8dcea305688fcae2df7c28bbcf3e891574d6edb63af00d1bd3
Version: 39.20240116.0 (2024-02-13T01:42:21Z)
LayeredPackages: atop containernetworking-plugins fcitx5 fcitx5-mozc iotop irqbalance libreoffice onedrive podman-compose yakuake zsh
Initramfs: '"-I /etc/crypttab /usr/lib/modprobe.d/nvidia.conf"'
It appears I am using the nvidia module? I'm a little confused. On an unrelated note, I was tinkering with my BIOS earlier (Z170A Sli Plus) and flipped Windows 8.1/10 WHQL Support on, which subsequently made grub not show. I'll fix that later. I forgot to mention that I am not using secure boot. Woke up and my monitor was blank. No output. Several attempted reboots and no change to that. I couldn't even access my BIOS, even after plugging monitor into the motherboard graphics output. So I reset my BIOS. Could access it after this but another reboot saw the vga debug led become a steady red. More reseats of the gpu in the same slot and the problem still persisted. Moving the card up one slot fixed thie issue and I'm back into bazzite.
❯ sudo lshw -class video | grep driver=
configuration: driver=nvidia latency=0
configuration: driver=i915 latency=0
❯ sudo lshw -class video | grep driver=
configuration: driver=nvidia latency=0
configuration: driver=i915 latency=0
Hopefully I haven't broken that slot ;_;
cat /usr/lib/systemd/system/nvidia-fallback.service
[Unit]
Description=Fallback to nouveau as nvidia did not load
After=akmods.service
Before=display-manager.service
ConditionKernelCommandLine=rd.driver.blacklist=nouveau
ConditionPathExists=!/sys/module/nvidia


[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=-/sbin/modprobe nouveau
ExecStartPost=-/bin/plymouth message --text="NVIDIA kernel module missing. Falling back to nouveau"


[Install]
WantedBy=graphical.target
cat /usr/lib/systemd/system/nvidia-fallback.service
[Unit]
Description=Fallback to nouveau as nvidia did not load
After=akmods.service
Before=display-manager.service
ConditionKernelCommandLine=rd.driver.blacklist=nouveau
ConditionPathExists=!/sys/module/nvidia


[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=-/sbin/modprobe nouveau
ExecStartPost=-/bin/plymouth message --text="NVIDIA kernel module missing. Falling back to nouveau"


[Install]
WantedBy=graphical.target
Going to do more research Because it seems to be just a cosmetic thing, I'll just ignore the message from now on. At least until the nvidia module actually doesn't load.
©TriMoon™
©TriMoon™11mo ago
For what it is worth to you: - Some hardware need to load some drivers, from the UEFI-BIOS, that are signed by the vendor, which might need SecureBoot Enabled. - To boot Bazzite in SecureBoot enabled, you need to enroll the MOK-Key. This is especially needed after you reset/update your UEFI-BIOS. To do that you need to first boot with SecureBoot disabled, then use the below command and reboot after you enable SecureBoot again in the UEFI-BIOS:
ujust enroll-secure-boot-key
ujust enroll-secure-boot-key
Bazzite uses it's own akmods MOK-Key these days with respect to older versions... (I'm running Bazzite-nVidia with encryption and SecureBoot enabled,)
Xarius86
Xarius8610mo ago
Same problem here with the cinnamon-nvidia image. The secure boot thing above does nothing to change it. I should note, mine isn't cosmetic, the driver actually fails to load when I see that message. If I reset the kargs again, then reboot, it magically works again...but only for that first boot. It will go back to not working on the second boot, even though the kargs have not changed.
©TriMoon™
©TriMoon™10mo ago
Yea i have the same as what you describe, see: https://discord.com/channels/1072614816579063828/1212374800908030032
Want results from more Discord servers?
Add your server