Skip to content

wayland-dma-buf: Add support for DRM_FORMAT_ABGR2101010

Daniel van Vugt requested to merge vanvugt/mutter:fix-1520 into master

It seems to be the preferred format of the Mesa V3D driver on Raspberry Pi 4. If the compositor doesn't advertise it then Mesa will fallback from zwp_linux_dmabuf_v1 to wl_drm, incorrectly. Meaning it will keep using a buffer with modifiers on an interface that does not have modifiers.

Add support for DRM_FORMAT_ABGR2101010. It works, and prevents Mesa from taking its broken fallback path.

Fixes: #1520 (closed)

Merge request reports