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

Error occurred when run application with -platform eglfs



  • I'm using Yocto Project 2.4 with QT 5.8 and i.MX6 Quad sabreSD platform.

    After I build image with no wayland and X11, I tried to run my application with below command.

    ./Qt5_CinematicExperience -platform eglfs
    

    Unfortunately, I had occurred an error like below.

    root@imx6qsabresd:/home# Qt5_CinematicExperience -platform eglfs
    QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to     enable d
    ouble buffering and vsync.
     If this is not desired, you can override this via: export     QT_EGLFS_IMX6_NO_FB_M
    ULTI_BUFFER=1
    forenex victor ldb diabled LVDS backlight get = 0
    ldb_disable(687) forenex victor  LVDS ldb->ctrl=[693]
    ldb_disable(688) forenex victor  LVDS ldb->spl_mode=[1]
    ldb_disable(689) forenex victor  LVDS ldb->dual_mode=[0]
    ldb_disable(690) forenex victor  LVDS ldb->ctrl_reg=[8]
    ldb_disable(703) forenex victor  LVDS ldb->ctrl=[688]
    /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work-    shared/imx6qsabresd/kernel-s
    ource/drivers/video/fbdev/mxc/ldb.c_ldb_enable(623) forenex victor  LVDS     tmp_ctr
    l=[2b0]
    /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work-    shared/imx6qsabresd/kernel-s
    ource/drivers/video/fbdev/mxc/ldb.c_ldb_enable(658) forenex victor  LVDS     ldb->ct
    rl=[2b5]
    [     1] Failed to open device: No such file or directory, Try again...
    [     2] Failed to open device: No such file or directory, Try again...
    [     3] Failed to open device: No such file or directory, Try again...
    [     4] Failed to open device: No such file or directory, Try again...
    [     5] _OpenDevice(1090): FATAL: Failed to open device, errno=No such file     or
    directory.
    forenex victor ldb diabled LVDS backlight get = 0
    ldb_disable(687) forenex victor  LVDS ldb->ctrl=[693]
    ldb_disable(688) forenex victor  LVDS ldb->spl_mode=[1]
    ldb_disable(689) forenex victor  LVDS ldb->dual_mode=[0]
    ldb_disable(690) forenex victor  LVDS ldb->ctrl_reg=[8]
    ldb_disable(703) forenex victor  LVDS ldb->ctrl=[688]
    /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work-    shared/imx6qsabresd/kernel-s
    ource/drivers/video/fbdev/mxc/ldb.c_ldb_enable(623) forenex victor  LVDS     tmp_ctr
    l=[2b0]
    /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work-    shared/imx6qsabresd/kernel-s
    ource/drivers/video/fbdev/mxc/ldb.c_ldb_enable(658) forenex victor  LVDS     ldb->ct
    rl=[2b5]
    [     6] Failed to open device: No such file or directory, Try again...
    [     7] Failed to open device: No such file or directory, Try again...
    [     8] Failed to open device: No such file or directory, Try again...
    [     9] Failed to open device: No such file or directory, Try again...
    [    10] _OpenDevice(1090): FATAL: Failed to open device, errno=No such file     or
    directory.
    root@imx6qsabresd:/home#
    

    It failed to open some devices.

    I also export some parameter with below command.

    export QT_QPA_EGLFS_FB=/dev/fb0
    

    And it still show the same error.

    How can I solve this problem?


Log in to reply