Blame SOURCES/0001-data-disable-wayland-for-proprietary-nvidia-machines.patch

f83012
From f2ac0603854c7933ecea4a13876fa7e72fd66d1a Mon Sep 17 00:00:00 2001
f83012
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
f83012
Date: Thu, 6 Sep 2018 10:14:08 -0400
f83012
Subject: [PATCH] data: disable wayland for proprietary nvidia machines
f83012
f83012
At the moment GLX applications don't work well when the
f83012
proprietary nvidia driver is used with a wayland session.
f83012
f83012
For now, disable wayland on that hardware, and users who
f83012
want to opt in can just edit the udev rule.
f83012
(or add their own that overrides it)
f83012
---
f83012
 data/61-gdm.rules.in | 3 +++
f83012
 1 file changed, 3 insertions(+)
f83012
f83012
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in
f83012
index de8e17903..26cf9cf51 100644
f83012
--- a/data/61-gdm.rules.in
f83012
+++ b/data/61-gdm.rules.in
f83012
@@ -1,2 +1,5 @@
f83012
 # disable Wayland on Cirrus chipsets
f83012
 ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="@libexecdir@/gdm-disable-wayland"
f83012
+
f83012
+# disable Wayland when using the proprietary nvidia driver
f83012
+DRIVER=="nvidia", RUN+="@libexecdir@/gdm-disable-wayland"
f83012
-- 
f83012
2.20.1
f83012