[mutter] udev-rules: Disable sending modifiers to clients with amdgpu



commit 2f825f3a8678284ed7ca116526dc053587eb329a
Author: Michel Dänzer <mdaenzer redhat com>
Date:   Tue Sep 20 19:10:04 2022 +0200

    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>

 data/61-mutter.rules | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/data/61-mutter.rules b/data/61-mutter.rules
index 7c2b963498..e7cdada7ef 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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]