* iMX6 Qt / EGLFS
@ 2013-09-25 14:55 Bell, Andrew [Allen & Heath UK]
2013-09-27 9:54 ` Thomas Senyk
0 siblings, 1 reply; 3+ messages in thread
From: Bell, Andrew [Allen & Heath UK] @ 2013-09-25 14:55 UTC (permalink / raw)
To: meta-freescale Mailing List
[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]
Hi All
Could someone tell me the current state of next branch for iMX6 solo / dual lite for EGLFS support ?
I'm trying to get Qt 5 with opengl compiled externally against my Yocto generated rootfs - as recommended in a few other threads.
I've removed X11 and wayland from poky.conf then bitbaked the lsb-sdk.
When I point the qt build at the rootfs generated by the SDK, it fails as the the EGL includes / libraries are missing.
I've then transplanted the EGL headers / libraries from the wandboard-dual sysroot within the yocto build tree into the SDK generated sysroot and it gets further but still fails ...
obj/release-shared/qeglfshooks_imx6.o: In function `QEglFSImx6Hooks::createNativeWindow(QSize const&, QSurfaceFormat const&)':
eglfshooks_imx6.cpp:(.text+0x38): undefined reference to `fbCreateWindow'
I've tracked down some conditional code within recipes-graphics in gpu-viv-bin-mx6q which suggests the variant of libEGL.so may be conditional on X11 / Wayland defines to the build.
Does anyone know what library provides the fbCreateWindow create above - do I need a libEGL-fb.so variant ?
There's also hints that I may have to define USE_X11=no to get this conditional EGL build behavior, if so where does this define need to be placed.
Finally does the gpu-viv-bin-mx6q only apply to the quad core version or is this relevant to the solo / dual lite variants ?
Any help appreciated !
Thanks
Andrew.
[-- Attachment #2: Type: text/html, Size: 2800 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: iMX6 Qt / EGLFS
2013-09-25 14:55 iMX6 Qt / EGLFS Bell, Andrew [Allen & Heath UK]
@ 2013-09-27 9:54 ` Thomas Senyk
2013-09-27 10:04 ` Juha Vuolle
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Senyk @ 2013-09-27 9:54 UTC (permalink / raw)
To: meta-freescale
On Wednesday, 25 September, 2013 14:55:51 Bell, Andrew [Allen & Heath UK]
wrote:
> Hi All
>
> Could someone tell me the current state of next branch for iMX6 solo / dual
> lite for EGLFS support ?
It's working flawlessly :)
>
> I'm trying to get Qt 5 with opengl compiled externally against my Yocto
> generated rootfs - as recommended in a few other threads.
>
> I've removed X11 and wayland from poky.conf then bitbaked the lsb-sdk.
>
> When I point the qt build at the rootfs generated by the SDK, it fails as
> the the EGL includes / libraries are missing.
>
> I've then transplanted the EGL headers / libraries from the wandboard-dual
> sysroot within the yocto build tree into the SDK generated sysroot and it
> gets further but still fails ...
I've added IMAGE_INSTALL += "gpu-viv-bin-mx6q"
to my image .. you can also use CORE_IMAGE_EXTRA_INSTALL in your local.conf
to make sure it's built and deployed.
>
> obj/release-shared/qeglfshooks_imx6.o: In function
> `QEglFSImx6Hooks::createNativeWindow(QSize const&, QSurfaceFormat const&)':
> eglfshooks_imx6.cpp:(.text+0x38): undefined reference to `fbCreateWindow'
sounds like you got the wront libEGL.so .. you're sure you don't have X11 in
your DISTRO_FEATURES?
objdump -x libEGL.so.1 should give you some idea which version it is.
>
> I've tracked down some conditional code within recipes-graphics in
> gpu-viv-bin-mx6q which suggests the variant of libEGL.so may be conditional
> on X11 / Wayland defines to the build.
yes! Different versions are packaged depening on the DISTRO_FEATURES variable.
>
> Does anyone know what library provides the fbCreateWindow create above - do
> I need a libEGL-fb.so variant ?
libEGL-fb.so or libEGL-wl.so will do.
libEGL-x11 won't.
>
> There's also hints that I may have to define USE_X11=no to get this
> conditional EGL build behavior, if so where does this define need to be
> placed.
If you have no X11 in DISTRO_FEATURES then the gpu-viv-bin-mx6q will take the
right versions!
>
> Finally does the gpu-viv-bin-mx6q only apply to the quad core version or is
> this relevant to the solo / dual lite variants ?
No, to all of them.
I've running the same binaries on wandboard-solo
>
> Any help appreciated !
>
> Thanks
>
> Andrew.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: iMX6 Qt / EGLFS
2013-09-27 9:54 ` Thomas Senyk
@ 2013-09-27 10:04 ` Juha Vuolle
0 siblings, 0 replies; 3+ messages in thread
From: Juha Vuolle @ 2013-09-27 10:04 UTC (permalink / raw)
To: Thomas Senyk; +Cc: meta-freescale
2013/9/27 Thomas Senyk <thomas.senyk@pelagicore.com>:
> On Wednesday, 25 September, 2013 14:55:51 Bell, Andrew [Allen & Heath UK]
> wrote:
>> Hi All
>>
>> Could someone tell me the current state of next branch for iMX6 solo / dual
>> lite for EGLFS support ?
>
> It's working flawlessly :)
Confirm that, beautiful and performant :-)
I had the same issue with EGL library. I didn't look for proper
solution at that point in time but hacked.
If you feel like hacking too:
look for libEGL-fb.so and GAL library under your yocto build directory
and copy them to the sysroot (IIRC /usr/lib) --> linking should now
pass.
Then do the same on the device to be able to run apps.
Should work.
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-27 10:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-25 14:55 iMX6 Qt / EGLFS Bell, Andrew [Allen & Heath UK]
2013-09-27 9:54 ` Thomas Senyk
2013-09-27 10:04 ` Juha Vuolle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.