You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
426 B
18 lines
426 B
3 years ago
|
[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
|