[meta-freescale] imx6qsabresd: qt4 + opengl not working
Jacob Kroon
jacob.kroon at gmail.com
Mon Mar 3 07:36:46 PST 2014
On Mon, Mar 3, 2014 at 4:02 PM, Javier Viguera <javier.viguera at digi.com>wrote:
> Hi all,
>
> I'm testing QT4 + OpenGL on a *imx6qsabresd* board and so far I have not
> been able to make it work.
>
> The setup is simple: an imx6qsabresd board, a project using *master*
> branches of poky, meta-oe, meta-fsl-arm and meta-fsl-demos, and then build
> the *fsl-image-gui* demo image.
>
> It boots to an X-based GUI and all seems to be working fine (accelerated
> videos and so on) but trying to run the QT-OpenGL hello word example fails
> with following error:
>
> # export DISPLAY=:0
> # /usr/bin/qt4/examples/opengl/hellogl_es2/hellogl_es2
>
> Warning: EGL suggested using X Visual ID 33 (ARGB0888) for EGL config 28
>> (ARGB0444), but this is incompatable
>> Unable to find an X11 visual which matches EGL config 28
>>
>
> So it seems to be some mismatch between when OpenGL expects and what the
> binary OpenGL implementation provides.
>
> Does anyone know how to solve it?
>
> This is using X-based QT4, not framebuffer/DirectFB.
>
> The same happens using the stable Dora branches.
>
>
I had a similar problem for using Qt5/X11. The wandboard.org wiki mentions
a patch for Qt5 that forces the visual to be correct. Maybe this would work
for Qt4 aswell
http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard
/Jacob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140303/8f93b384/attachment.html>
More information about the meta-freescale
mailing list