From b25389d2bbc99aee82414d9d76ce1192f4b6fe52 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Wed, 30 Jun 2021 09:09:37 +0200 Subject: [PATCH] login: XGI Z7/Z9 (XG20 core) graphic chip requires master-of-seat to be set This graphic chip doesn't have a DRM driver and fallback to vesa-framebuffer driver. Without this patch, users of such chip suddenly see their GUI broken without any indication or reason of what happened (no error message). Hence this regression is near to impossible to troubleshoot for end users. --- src/login/71-seat.rules.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/login/71-seat.rules.in b/src/login/71-seat.rules.in index 809467c6c85..e629a40094e 100644 --- a/src/login/71-seat.rules.in +++ b/src/login/71-seat.rules.in @@ -29,6 +29,10 @@ SUBSYSTEM=="graphics", KERNEL=="fb[0-9]", IMPORT{cmdline}="nomodeset", TAG+="mas SUBSYSTEM=="pci", ENV{ID_PCI_CLASS_FROM_DATABASE}=="Display controller", \ ENV{DRIVER}=="", IMPORT{cmdline}="nomodeset", TAG+="seat", TAG+="master-of-seat" +# eXtreme Graphic Innovation Z7/Z9 (XG20 core), a rather ancient graphic chip, +# doesn't have a DRM driver and fallback to vesafb. +SUBSYSTEM=="pci", ATTR{vendor}=="0x18ca", ATTR{device}=="0x0020", TAG+="master-of-seat" + SUBSYSTEM=="drm", KERNEL=="card[0-9]*", TAG+="seat", TAG+="master-of-seat" # Allow individual USB ports to be assigned to a seat