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

Add a DRM dumb buffer platform plugin - or make it an option for linuxfb

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • QPA: LinuxFB
    • None

    Description

      With fbdev being deprecated and even offered only via (sometimes broken) emulation on some recent embedded systems, linuxfb is in need of a counterpart that performs rendering via DRM/KMS.

      Using dumb buffers is a good start - this in effect is equivalent to the unaccelerated linuxfb and is supported mostly everywhere .

      A significant part of the code could be shared with eglfs_kms_support - this will involve moving around some stuff and creating kmsconvenience (i.e. QtKmsSupport with the new modularized platformsupport).

      Additionally, it is good to keep in mind that this is also an enabler for certain type of 2D accelerated compositors: for instance, Wayland via V4L+VSP is based on DRM and dumb buffers.

      that "everywhere" is wishful thinking though, for instance it turns out neither vmgfx (e.g. VMWare Workstation 12) nor the normal i.MX6 images support dumb buffers. Continuing support for plain old /dev/fb0 is clearly a must. Hence the idea of adding a double-buffered dumb buffer "backend" to linuxfb instead of creating a whole new plugin.

      Attachments

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              lagocs Laszlo Agocs
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes