Permalink
Browse files

Make the fallback service check for the module status instead of the …

…device, which appears only after starting X
  • Loading branch information...
scaronni committed May 12, 2017
1 parent d27a996 commit f1f99b401b98a159e972acc6c179b5a100570d88
Showing with 7 additions and 3 deletions.
  1. +6 −2 nvidia-driver.spec
  2. +1 −1 nvidia-fallback.service
View
@@ -34,7 +34,7 @@
Name: nvidia-driver
Version: 381.22
Release: 3%{?dist}
Release: 4%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
Epoch: 2
License: NVIDIA License
@@ -484,11 +484,15 @@ fi ||:
%{_libdir}/libnvidia-encode.so
%changelog
* Fri May 12 2017 Simone Caronni <negativo17@gmail.com> - 2:381.22-4
- Make the fallback service check for the module status instead of the device,
which appears only after starting X.
* Fri May 12 2017 Simone Caronni <negativo17@gmail.com> - 2:381.22-3
- Restore blacklist for nouveau in modprobe configuration as it creates havoc on
Optimus laptops.
* Thu May 10 2017 Simone Caronni <negativo17@gmail.com> - 2:381.22-2
* Thu May 11 2017 Simone Caronni <negativo17@gmail.com> - 2:381.22-2
- Remove nouveau.modeset=0 from kernel cmdline arguments for Fedora 25+, as this
breaks fallback to nouveau when nvidia.ko fails to load for some reason
- Add nvidia-fallback.service which automatically fallsback to nouveau if the
View
@@ -2,7 +2,7 @@
Description=Fallback to nouveau if nvidia did not load
After=akmods.service dkms.service
Before=display-manager.service
ConditionPathExists=!/dev/nvidia
ConditionPathExists=!/sys/module/nvidia
[Service]
Type=oneshot

0 comments on commit f1f99b4

Please sign in to comment.