summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2022-09-20 19:10:04 +0200
committerMarge Bot <marge-bot@gnome.org>2022-09-22 08:32:02 +0000
commit2f825f3a8678284ed7ca116526dc053587eb329a (patch)
treeaf977aebc2c010e1546d6cc1d8961f905ce63ccc /data
parentefc4fa333cd5f0bd129a67d7c4316babf3dc94d5 (diff)
downloadmutter-2f825f3a8678284ed7ca116526dc053587eb329a.tar.gz
udev-rules: Disable sending modifiers to clients with amdgpu
ATM sending modifiers to clients prevents direct scanout for DRI3 clients via Xwayland. Xwayland using the dma-buf feedback v4 Wayland protocol will solve that, but that might take a while yet to appear in the wild. Once that happens, this can be reverted. Direct scanout still works for native Wayland clients as well. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2637>
Diffstat (limited to 'data')
-rw-r--r--data/61-mutter.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/61-mutter.rules b/data/61-mutter.rules
index 7c2b96349..e7cdada7e 100644
--- a/data/61-mutter.rules
+++ b/data/61-mutter.rules
@@ -1,2 +1,3 @@
+DRIVERS=="amdgpu", SUBSYSTEM=="drm", TAG+="mutter-device-disable-client-modifiers"
DRIVERS=="i915", SUBSYSTEM=="drm", TAG+="mutter-device-disable-kms-modifiers"
ENV{ID_PATH}=="platform-vkms", TAG+="mutter-device-ignore"