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

Build Qt 6.3.1 - EGLFS - KMS error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 6.3.1
    • Yocto: meta-qt6 layer
    • None
    • Linux/X11, Linux/Yocto

    Description

      Hi,
      I'm building meta-qt6 (6.3.1:39eeba2192bdf1227a065cf7e4184ecc15b6d3ac) with bitbake yocto brand Kirkstone.

      In my local.conf I've this:
      IMAGE_FEATURES += "splash package-management"
      DISTRO_FEATURES:append = " opengl bluetooth wifi zeroconf"

      DISTRO_FEATURES:remove = " x11 wayland"
      DISTRO_FEATURES:remove = " vulkan"
      DISTRO_FEATURES:remove = "ptest"
       
      making this command 
       
      bitbake -e qtbase | grep ^PACKAGECONFIG=
       
      give this result:
      PPACKAGECONFIG=" accessibility dbus udev gui widgets icu openssl jpeg png dbus libinput fontconfig harfbuzz zstd gles2 eglfs kms eglfs"
       
      from the log.do_configure of bitbake 
       
      OpenGL:
      Desktop OpenGL ....................... no
      OpenGL ES 2.0 ........................ yes
      OpenGL ES 3.0 ........................ yes
      OpenGL ES 3.1 ........................ yes
      OpenGL ES 3.2 ........................ yes
      Vulkan ................................. no
      Session Management ..................... yes
      Features used by QPA backends:
      evdev .................................. yes
      libinput ............................... yes
      HiRes wheel support in libinput ........ yes
      INTEGRITY HID .......................... no
      mtdev .................................. no
      tslib .................................. no
      xkbcommon .............................. no
      X11 specific:
      XLib ................................. no
      XCB Xlib ............................. no
      EGL on X11 ........................... no
      xkbcommon-x11 ........................ no
      xcb-sm ............................... no
      QPA backends:
      DirectFB ............................... no
      EGLFS .................................. yes
      EGLFS details:
      EGLFS OpenWFD ........................ no
      EGLFS i.Mx6 .......................... no
      EGLFS i.Mx6 Wayland .................. no
      EGLFS RCAR ........................... no
      EGLFS EGLDevice ...................... no
      EGLFS GBM ............................ no
      EGLFS VSP2 ........................... no
      EGLFS Mali ........................... no
      EGLFS Raspberry Pi ................... no
      EGLFS X11 ............................ no
      LinuxFB ................................ no

      As you see the EGLFS have a strange configuration
       
       
      Creating a qtbase_git.bbappend file with
       
      PACKAGECONFIG:append = " eglfs kms"
      give and error in the configuration of the qt_base
       

      WARNING: Accessibility disabled. This configuration of Qt is unsupported.
      ERROR: Feature "eglfs": Forcing to "ON" breaks its condition:
      NOT ANDROID AND NOT APPLE AND NOT WIN32 AND NOT WASM AND NOT QNX AND QT_FEATURE_egl
      Condition values dump:
      ANDROID = "0"
      APPLE = ""
      WIN32 = ""
      WASM = "0"
      QNX = "0"
      QT_FEATURE_egl = "OFF"
       
      how it possible that in the configuration of qt_base eglfs and kms are enabled but in configuration are not?
       
      without this, the build is successfull but running  any application with -platform eglfs
       
      and these variables:
      export QT_QPA_PLATFORM=eglfs
      export QT_QPA_EGLFS_INTEGRATION=eglfs_kms
       
      I give this error:
       
      qt.qpa.egldeviceintegration: Failed to load EGL device integration "eglfs_kms"
      EGL library doesn't support Emulator extensions
       
      unset both variables I give the same error.
       
      What I'm doing wrong?
      Best regards
      Enrico
       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sapiippo Samuli Piippo
            peel70 Enrico Pelò
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes