Can not lunch Qt5_CinematicExperience

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

Can not lunch Qt5_CinematicExperience

2,939 Views
chihwenlee
Contributor II

IMX6SL/EINK,

MACHINE=imx6slevk source fsl-setup-release.sh -b build -e x11

bitbake fsl-image-qt5

root@imx6slevk:/usr/share/xcb# uname -r

3.14.28-1.0.0_ga+g91cf351

------------

root@imx6slevk:/usr/share/xcb# export DISPLAY=:0.0

root@imx6slevk:/usr/share/xcb# Qt5_CinematicExperience

Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.

Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.

libGL error: dlopen /usr/lib/dri/vivante_dri.so failed (libGL.so.1.2: cannot open shared object file: No such file or directory)

libGL error: unable to load driver: vivante_dri.so

libGL error: failed to load driver: vivante

libpng warning: iCCP: known incorrect sRGB profile

libpng warning: iCCP: known incorrect sRGB profile

libGL error: dlopen /usr/lib/dri/vivante_dri.so failed (libGL.so.1.2: cannot open shared object file: No such file or directory)

^C

root@imx6slevk:/usr/share/xcb#

root@imx6slevk:/usr/share/xcb# Qt5_CinematicExperience --platform xcb

Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.

Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.

libGL error: dlopen /usr/lib/dri/vivante_dri.so failed (libGL.so.1.2: cannot open shared object file: No such file or directory)

libGL error: unable to load driver: vivante_dri.so

libGL error: failed to load driver: vivante

libpng warning: iCCP: known incorrect sRGB profile

libpng warning: iCCP: known incorrect sRGB profile

Labels (2)
0 Kudos
6 Replies

1,083 Views
hernanrodriguez
Contributor II

Hi,

I have the same problem.

When I try run QT5 examples in imx6slevk whit EPDC always I have the same error.

I build yocto image (fsl-image-qt5) whit X11 backend, kernel 3.14.52.

MACHINE=imx6slevk source fsl-setup-release.sh -b build -e x11

bitbake fsl-image-qt5

In command line I run :

export DISPLAY=:0.0

Qt5_CinematicExperience -platform xcb -plugin evdevtouch:/dev/input/event1

and I get this error :  
libGL error: unable to load driver: vivante_dri.so
libGL error: failed to load driver: vivante
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile

But, I can run mxc_epdc_x11.out without any problem and I can see gui desktop.

Any help?
Thanks in advance

0 Kudos

1,083 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Chih

Please check your /usr/lib directory for libGL.so with:

ls /usr/lib/libGL*

If you can see libGL.so in that list then you need to use ln command.

Also per the User guide documentation:

The command lines for some of the Qt 5 sample applications are as follows. For Wayland, it sometimes helps to add --

fullscreen to the command line. The Qt 5 desktop may contain links to these examples.

Qt5_CinematicExperience -platform ${GRAPHICS} -plugin evdevtouch:/dev/input/event0

/usr/share/qt5nmapcarousedemo-1.0/Qt5_NMap_CarouselDemo -platform ${GRAPHICS} -plugin

evdevtouch:/dev/input/event0

/usr/bin/qt5/qmlscene -platform ${GRAPHICS} -plugin evdevtouch:/dev/input/event0 /usr/share/

qt5ledscreen-1.0/example_hello.qml

/usr/bin/qt5/qmlscene -platform ${GRAPHICS} -plugin evdevtouch:/dev/input/event0 /usr/share/

qt5ledscreen-1.0/example_billboard.qml

/usr/bin/qt5/qmlscene -platform ${GRAPHICS} -plugin evdevtouch:/dev/input/event0 /usr/share/

qt5ledscreen-1.0/example_combo.qml

Some examples must be run from a particular directory. The first column in the following table shows the directory and the

second column shows the command to run in that directory. The examples are usually installed in /usr/share.

Hope this helps

0 Kudos

1,083 Views
ajithpv
Contributor V

Hi,

I would like to tell you that, I'm also getting the same error when running Qt5 application to E-INK EPD in i.MX6SoloLite. My kernel version is 3.14.28 (Rev. L3.14.28_1.0.0-ga).

Could you please clarify the below doubt?

If you can see libGL.so in that list then you need to use ln command.

Could you please tell me how should I use 'ln' command for resolving this "libGL - Vivante" error? Will this change resolve the above error?

Looking forward to your reply...

Thank you in advance,
Ajith P V

0 Kudos

1,083 Views
chihwenlee
Contributor II

Thanks, I can see display updated by

./mxc_epdc_x11_fb_test.out&

Qt5_CinematicExperience

0 Kudos

1,083 Views
ajithpv
Contributor V

Hi chihwenlee

I would like to know whether you getting "mxc_epdc_x11_fb_test.out" result on the EPD or "Qt5_CinematicExperience" result on EPD? Could you please tell me how I can use only Qt applications without './mxc_epdc_x11_fb_test.out&' commands and all.

Looking forward to your reply...

Thank you in advance,
Ajith P V

0 Kudos

1,083 Views
chihwenlee
Contributor II

I think the key is

drivers/video/mxc/mxc_epdc_fb.c

-->   case MXCFB_SEND_UPDATE:

0 Kudos