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

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