Running OpenGL ES 2 examples on ARM device
Hi! I compiled both Qt 4.5.4 X11 and 4.7.2 X11 for Tegra2 (ARM). I am able to run examples applications with both of them it seems.
Now I'm trying to compile with OpenGL support: Qt 4.5.4 seems to go just fine, with some modifications to the examples, but Qt 4.7.2 seems to have problems. I get:
Unable to find an X11 visual which matches EGL config 8
and required libXrender for compilation while Qt 4.5.4 didn't. Does anyone have any idea of what is going on?
Thanks!
Re: Running OpenGL ES 2 examples on ARM device
Sorry. I finally found some information related to my issue: http://bugreports.qt.nokia.com/browse/QTBUG-9444. I tried setting xorg.conf to 16bpp and everything is working. According to the link I posted it may be possible to set to work even to 24bpp, but I haven't tried yet.
Interesting is that Qt 4.5.4 didn't show this segfault.
Thanks!
Re: Running OpenGL ES 2 examples on ARM device
Hello Luc4,
could you please provide me some informations how you had built the Qt with X11 for Tegra2? I'm also trying to make it working, but I cannot see any output e.g. for hellogl_es2. I suppose I still need to run it with -qws addition, right? Or under X11 it doesn't work with QWS system (as I'm thinking about it, probably it should work without -qws .. but I don't know how to configure Qt for it)? It would be greate if you could provide your ./configure line and qmake.conf file.
Thank you very much for help.
Re: Running OpenGL ES 2 examples on ARM device
Sorry, I just found my mistake, I had used -embedded argument in configure ... now it works (without -qws of course) ;).