Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error occurred when run application with -platform eglfs
Forum Updated to NodeBB v4.3 + New Features

Error occurred when run application with -platform eglfs

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 647 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    victor wang
    wrote on 4 Dec 2018, 06:26 last edited by
    #1

    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?

    1 Reply Last reply
    0

    1/1

    4 Dec 2018, 06:26

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved