Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.5.0
-
None
-
-
8f5097000 (dev), 5362dfd3c (6.5)
Description
Unfortunately, buffer sharing between compositor and clients doesn't work with wayland-egl on raspberrypi4-64. Sharing via dmabuf (linux-dmabuf-unstable-v1.xml) does work, though. The problem is that the necessary plugin isn't built in the Yocto recipe. We'd need something like:
--- a/recipes-qt/qt6/qtwayland_git.bb +++ b/recipes-qt/qt6/qtwayland_git.bb @@ -24,6 +24,8 @@ PACKAGECONFIG ?= "\ wayland-client \ wayland-server \ " +PACKAGECONFIG:append:raspberrypi4-64 = " dmabuf-client-buffer" + PACKAGECONFIG:class-native ?= "" PACKAGECONFIG:class-nativesdk ?= ""
or how ever this is properly done in Yocto.
Actually, sharing via dmabuf could be enabled on any platform that supports it (not only raspberrypi4-64). Wayland compositor support for dmabuf will have to be enabled anyways by setting:
QT_WAYLAND_CLIENT_BUFFER_INTEGRATION=linux-dmabuf-unstable-v1
I can't tell, whether raspberrypi4 (32bit) has the same issue or not.