Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Lima driver and eglfs



  • Hello,

    is there some easy way to configure qt5.14 to use lima driver to accelerate e.g. qml animations? I run opengl examples with lima driver but unfortunately I cannot make it working with eglfs. My config looks like this:

      OpenVG ................................. no
      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 ..................... no
    Features used by QPA backends:
      evdev .................................. yes
      libinput ............................... no
      INTEGRITY HID .......................... no
      mtdev .................................. no
      tslib .................................. no
      xkbcommon .............................. yes
      X11 specific:
        XLib ................................. yes
        XCB Xlib ............................. yes
        EGL on X11 ........................... yes
    QPA backends:
      DirectFB ............................... yes
      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 ............................ yes
      LinuxFB ................................ yes
      VNC .................................... yes
    

    When run my test app with -platform eglfs I'm getting:

    "Could not open egl display"
    

    I didn't try to use wayland as I would like to avoid adding it to my image. Thanks.



  • Seems enable kms config option was missing. Now it works fine.



  • @Marek-Belisko said in Lima driver and eglfs:

    Now it works fine.

    so please don't forget to mark you post as solved then!


Log in to reply