[mutter] screen-cast: Add vmwgfx to the DMA buffer deny list



commit aaf70b28d198811e4fa838f0eeb4e41c8aacc889
Author: Grey Christoforo <grey christoforo net>
Date:   Wed Jul 29 20:02:27 2020 +0000

    screen-cast: Add vmwgfx to the DMA buffer deny list
    
    VMWare has the same issues with mmap():ing DMA buffers cross process
    boundaries so fall back to regular shared memory for 'vmwgfx' as well.
    
    https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1318

 src/backends/native/meta-backend-native.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/backends/native/meta-backend-native.c b/src/backends/native/meta-backend-native.c
index cc7fc532d8..fc68fe917b 100644
--- a/src/backends/native/meta-backend-native.c
+++ b/src/backends/native/meta-backend-native.c
@@ -354,6 +354,7 @@ maybe_disable_screen_cast_dma_bufs (MetaBackendNative *native)
   const char *driver_name;
   static const char *disable_dma_buf_drivers[] = {
     "qxl",
+    "vmwgfx",
     NULL,
   };
 


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