"Failed to open device..." when run application with -platform eglfs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"Failed to open device..." when run application with -platform eglfs

2,665 Views
wangtsungli
Contributor IV

Hi community,

I'm using yocto project 2.4 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#

So I tried to see the permission of fb0.

ls -l /dev/fb0

crw-rw---- 1 root video 29, 0 Nov 29 07:39 fb0

How to solve eglfs problem?

Is there any driver config that I miss to enable?

Thanks in Advanced!

0 Kudos
2 Replies

1,792 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi tsung,

try export DISPLAY:=0

Regards

0 Kudos

1,792 Views
wangtsungli
Contributor IV

Bio_TICFSL 留言:

Hi tsung,

 

try export DISPLAY:=0

 

Regards

Still not working.

I tried export DISPLAY:=0 and system showed not a valid identifier.

So I tried export DISPLAY=0 and run application.

Unfortunately, still not work.

I returned the same error to me.

Any other suggestion?

0 Kudos