Skip to contentSkip to conversation

fsl-image-multimedia-full.bb how-to add FB support

DISCUSSION ZHOU Yanxin 2 participants 3 messages Apr 22, 2016 – Apr 23, 2016

lore
Share & tools
lore
#0 lore raw

Dear all,

I am now working on the riotboard, I have bitbaked the meta-toolchain-qt5 and fsl-image-multimedia-full. Both use Jethro branch. I referred to the "Building Qt5 using yocto on Wandboard" guide.

In the conf/local.conf I made following modification:
PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility eglfs alsa puseaudio fontconfig gles2 glib examples tools" DISTRO_FEATURES_remove = "x11 wayland"

I also setup the qtcreator : device, kit, qt version, compiler, debugger and ssh connection, but when I run the application, Qt says "This application failed to start becase it could not find or load the qt platform plugin xcb, available plugin are:
Eglfs, minimal, minimaegl, offscreen".

I also tried to run the application like this : ./helloworld -platform eglfs, there is one error: "QEglFSVivIntegration will Set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync. If this is not desired, you can Override this via: export QT_EGLFS_IMX6_NO_FB_MULTI-BUFFER=1". I also tried it, but still can not open egl display.

Just now I checked the fsl-image-multimedia-(full).bb, it looks like it only contain the X11 and wayland support, how can I modify it and let it support the Framebuffer?

I have worked on this problem for several days. I hope someone can help me.

Thank you very much!

Best regards!

Yanxin ZHOU
Electronic Product Engineering
STAUBLI HANGZHOU LTD.
No 123 Weiken Street Hangzhou Economic & Technological Development Zone
310018 Hangzhou / CN
Phone: +86 40066 70066
Mobile: +86 18605811677
mailto: [email protected]<mailto:[email protected]>
www.staubli.com<http://www.staubli.com>
This e-mail and any attachment (the 'message') are confidential and privileged and intended solely for the person or the entity to which it is addressed. If you have received it in error, please advise the sender by return e-mail and delete it immediately. Any use not in accordance with its purpose, any dissemination or reproduction, either whole or partial, by entities other than the intended recipient is strictly prohibited.

#1 lore raw

Hello,

Quoted 38 lines · ZHOU Yanxin

I am now working on the riotboard, I have bitbaked the meta-toolchain-qt5 and fsl-image-multimedia-full.

Both use Jethro branch. I referred to the “Building Qt5 using yocto on Wandboard” guide.

In the conf/local.conf I made following modification:

PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility eglfs alsa puseaudio fontconfig gles2 glib examples tools"

DISTRO_FEATURES_remove = "x11 wayland"

I also setup the qtcreator : device, kit, qt version, compiler, debugger and ssh connection, but when I run the application,

Qt says “This application failed to start becase it could not find or load the qt platform plugin xcb, available plugin are:

Eglfs, minimal, minimaegl, offscreen”.

I also tried to run the application like this : ./helloworld –platform eglfs, there is one error: “QEglFSVivIntegration will

Set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync. If this is not desired, you can

Override this via: export QT_EGLFS_IMX6_NO_FB_MULTI-BUFFER=1”. I also tried it, but still can not open egl display.

Quoted 4 lines

Just now I checked the fsl-image-multimedia-(full).bb, it looks like it only contain the X11 and wayland support, how can

I modify it and let it support the Framebuffer?

You are likely missing qtbase-plugins package and eglfs platform plugin.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#2 lore raw

I have added qt_base-plugins in my "IMAGE_INSTALL_append" already, how to add eglfs platform plugin? Best regards!

James Zhou
Staubli Group

Quoted 54 lines · 在 2016年4月23日,00:20,Otavio Salvador <[email protected]> 写道:

Hello,

Quoted 39 lines · ZHOU Yanxin

I am now working on the riotboard, I have bitbaked the meta-toolchain-qt5 and fsl-image-multimedia-full.

Both use Jethro branch. I referred to the “Building Qt5 using yocto on Wandboard” guide.

In the conf/local.conf I made following modification:

PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility eglfs alsa puseaudio fontconfig gles2 glib examples tools"

DISTRO_FEATURES_remove = "x11 wayland"

I also setup the qtcreator : device, kit, qt version, compiler, debugger and ssh connection, but when I run the application,

Qt says “This application failed to start becase it could not find or load the qt platform plugin xcb, available plugin are:

Eglfs, minimal, minimaegl, offscreen”.

I also tried to run the application like this : ./helloworld –platform eglfs, there is one error: “QEglFSVivIntegration will

Set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync. If this is not desired, you can

Override this via: export QT_EGLFS_IMX6_NO_FB_MULTI-BUFFER=1”. I also tried it, but still can not open egl display.

Quoted 4 lines

Just now I checked the fsl-image-multimedia-(full).bb, it looks like it only contain the X11 and wayland support, how can

I modify it and let it support the Framebuffer?

You are likely missing qtbase-plugins package and eglfs platform plugin.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ossystems.com.br&d=CwIFaQ&c=2s-ADuGVSPAUCa1HnsgOhA&r=vfIi17NQh0-6eyowN7wPkEhLl-GuLZHJsuTWI1c7u1s&m=sZIKckaXQ8QH7wzWgVAyKRK5BOhwxTSz07p4YxIuqfk&s=CyY-7hjNy8F_I1HfKWG--1TCUw0VXWJAVbHfiMVViaI&e=         https://urldefense.proofpoint.com/v2/url?u=http-3A__code.ossystems.com.br&d=CwIFaQ&c=2s-ADuGVSPAUCa1HnsgOhA&r=vfIi17NQh0-6eyowN7wPkEhLl-GuLZHJsuTWI1c7u1s&m=sZIKckaXQ8QH7wzWgVAyKRK5BOhwxTSz07p4YxIuqfk&s=Qo_gnEFX82Izx9jJc6opYW9qMRoJi1aldSfTUDKdOC4&e= 
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750