[oe] [meta-kde] Test images (was: Re: [OE-core] RFC: Porting KDE Plasma Active (WIP))

Samuel Stirtzel s.stirtzel at googlemail.com
Mon Apr 23 13:49:53 UTC 2012


2012/4/23 Koen Kooi <koen at dominion.thruhere.net>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Op 23-04-12 09:17, Samuel Stirtzel schreef:
>> 2012/4/20 Koen Kooi <koen at dominion.thruhere.net>:
>
>> And do you have a bbappend for qt to enable GLES?
>>
>>> The "recipes-misc-support/qt4-x11-free_4.8.0.bbappend" [1] enables GLES
>>> for Qt on the soc family omap3.
>
> Actually it doesn't :) That enables EGL mode, but 'desktop GL' as Qt calls it:
>
> OpenGL support ......... yes (Desktop OpenGL)
>
> So I did:
>
> +++ b/recipes-misc-support/qt4-x11-free_4.8.0.bbappend
> @@ -1,7 +1,7 @@
> - -QT_GLFLAGS_omap3 = "-egl"
> +QT_GLFLAGS_omap3 = "-opengl es2 "
>
> And I get:
>
> [koen at Angstrom-F16-vm-rpm qt4-x11-free-4.8.0-r43.1]$ grep OpenGL
> temp/log.do_configure
> OpenGL ES 2.x auto-detection... ()
> OpenGL ES 2.x enabled.
> OpenGL support ......... yes (OpenGL ES 2.x)

Interesting,
seems like I have been fooled by Qt:

OpenGL support ......... yes (Desktop OpenGL)
EGL support ............ yes <EGL/egl.h>

For me this sounded as if it was configured right, so "EGL support" is
a bit misleading..

>
> I'm going to see if that actually builds. If so, I'll send a patch to fix it
> and add more TI opengl platforms. And I'll poke my ex coworkers about having
> a bbappend in meta-ti to enable opengl for the respective platforms, doing
> it in meta-kde feels wrong, but works for me at the moment.

TBH it wasn't properly tested yet.
On my Overo every time I start any EGL application all I get is just
EGL_BAD_ALLOC 0x3003 ...
There was a thread about this on the meta-ti mailing list [1], but it
seems to be low priority.
Also with your patch [2] nothing seems to change for me.


[1] https://lists.yoctoproject.org/pipermail/meta-ti/2012-March/000798.html
[2] https://lists.yoctoproject.org/pipermail/meta-ti/2012-April/000947.html

-- 
Regards
Samuel




More information about the Openembedded-devel mailing list