commit 71447e6cac1506511d63f045039fe92127c963e3
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Wed Aug 29 13:55:51 2018 +0100
Enable modeset on epel
xorg-x11-drv-nvidia.spec | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 02dd0e2..f73ff3c 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -11,7 +11,7 @@
%global _modprobe_d %{_prefix}/lib/modprobe.d/
%global _grubby %{_sbindir}/grubby --update-kernel=ALL
%if 0%{?rhel} >= 7
-%global _dracutopts nouveau.modeset=0 rd.driver.blacklist=nouveau
+%global _dracutopts nouveau.modeset=0 rd.driver.blacklist=nouveau
nvidia-drm.modeset=1
%else #fedora
%global _dracutopts rd.driver.blacklist=nouveau
modprobe.blacklist=nouveau nvidia-drm.modeset=1
%endif
@@ -340,11 +340,9 @@ if [ "$1" -eq "1" ]; then
sed -i -e 's/GRUB_CMDLINE_LINUX="/GRUB_CMDLINE_LINUX="%{_dracutopts}
/g' /etc/default/grub
# Until mutter enable egl stream support, we need to disable gdm wayland
#
https://bugzilla.redhat.com/1462052
-%if 0%{?fedora}
if [ -f %{_sysconfdir}/gdm/custom.conf ] ; then
sed -i -e 's/#WaylandEnable=.*/WaylandEnable=false/'
%{_sysconfdir}/gdm/custom.conf
fi
-%endif
fi || :
%triggerun -- xorg-x11-drv-nvidia < 3:384.59-5