Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-112725

Qt Wayland compositor broken on raspberrypi4-64

    XMLWordPrintable

Details

    • Linux/Yocto
    • 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.

      Attachments

        For Gerrit Dashboard: QTBUG-112725
        # Subject Branch Project Status CR V

        Activity

          People

            sapiippo Samuli Piippo
            bweimer Bernd Weimer
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes