Blame SOURCES/0001-data-disable-wayland-for-legacy-QXL-VMs.patch

7b586f
From 84eac5437175efc3804e8a6133c06484d6016b26 Mon Sep 17 00:00:00 2001
7b586f
From: Ray Strode <rstrode@redhat.com>
7b586f
Date: Fri, 4 Jan 2019 16:40:07 -0500
7b586f
Subject: [PATCH] data: disable wayland for legacy QXL VMs
7b586f
7b586f
There are a number of issues right now with the QXL driver that
7b586f
prevent it from working well with wayland.
7b586f
7b586f
These days QXL is deprecated in favor of virtio anyway.
7b586f
7b586f
This commit forces Xorg fallback for QXL VMs.
7b586f
---
7b586f
 data/61-gdm.rules.in | 3 +++
7b586f
 1 file changed, 3 insertions(+)
7b586f
7b586f
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in
7b586f
index 26cf9cf51..ec19aa447 100644
7b586f
--- a/data/61-gdm.rules.in
7b586f
+++ b/data/61-gdm.rules.in
7b586f
@@ -1,5 +1,8 @@
7b586f
 # disable Wayland on Cirrus chipsets
7b586f
 ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="@libexecdir@/gdm-disable-wayland"
7b586f
 
7b586f
+# disable Wayland on legacy QXL virtual machines
7b586f
+ATTR{vendor}=="0x1b36", ATTR{device}=="0x0100", RUN+="@libexecdir@/gdm-disable-wayland"
7b586f
+
7b586f
 # disable Wayland when using the proprietary nvidia driver
7b586f
 DRIVER=="nvidia", RUN+="@libexecdir@/gdm-disable-wayland"
7b586f
-- 
7b586f
2.17.1
7b586f