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

Enabling eglfs for virtual DRM



  • Hello,

    I'm looking to run my qt app on a secondary display connected on an android A15 processor with Android Oreo.
    So, I got few leads that this is possible with Qt Qpa eglfs_kms that can take drm connector as input through json config file to display my qt app on desired display.

    But, On Qt 5.11.1, I don't see eglfs_kms option in my build summary configuration. I see below config:

    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
    EGL on X11 ........................... yes

    So,
    1- is eglfs_gbm same as eglfs_kms in 5.11.1?
    2- When I try to configure it using configure -gbm command, I get error:
    ERROR: Feature 'gbm' was enabled, but the pre-condition 'libs.gbm' failed.

    Thanks.


Log in to reply