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

eglfs_kms (GBM) should use eglGetPlatformDisplay when available

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.10.0 Alpha
    • 5.9, 5.10
    • QPA: EGLFS
    • None

    Description

      The GBM version of eglfs' DRM/KMS backend has some problems on some modern systems, see f.ex. https://github.com/lirios/wayland/commit/06bc9cb732895c101a1d9615959eb8eee3523a06.

      For details see https://github.com/libretro/RetroArch/issues/4790

      While the problem is arguably not Qt's fault, eglfs_kms could start using eglGetPlatformDisplay with EGL_PLATFORM_GBM_KHR, when available. This needs dynamic resolving of the EGL 1.5 function.

      In fact the EGLDevice (NVIDIA) variant already does it in its customized QEglFSKmsEglDeviceIntegration::createDisplay. The GBM version should follow suit and do something similar.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes