nvidia/nvidia-fallback.service
Silvan Calarco 8429ffcc69 added nvidia-fallback service which loads nouveau as fallback if nvidia driver is not loaded before display-manager
remove simplefb causing plymouth to block at boot if nvidia driver is not loaded [release 560.35.03-2mamba;Sun Aug 25 2024]
2024-08-25 21:20:27 +02:00

18 lines
426 B
Desktop File

[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