Results 1 to 4 of 4

Thread: Running OpenGL ES 2 examples on ARM device

  1. #1
    Join Date
    Jan 2010
    Posts
    190
    Thanks
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default 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!

  2. #2
    Join Date
    Jan 2010
    Posts
    190
    Thanks
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default 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!

  3. #3
    Join Date
    Sep 2009
    Posts
    31
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 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.

  4. #4
    Join Date
    Sep 2009
    Posts
    31
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 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) .

Similar Threads

  1. Running QWT Examples in Mac OS X
    By lynchkp in forum Qwt
    Replies: 7
    Last Post: 7th November 2012, 23:46
  2. Qt 4.7.0 compiles all tools and examples, but they all crash on running
    By prophetofreason in forum Installation and Deployment
    Replies: 0
    Last Post: 13th October 2010, 17:32
  3. Problem running QwtPolar examples
    By MSUdom5 in forum Qwt
    Replies: 4
    Last Post: 11th March 2010, 19:26
  4. Prblem in Building and running Examples.
    By Tarun in forum Qt Programming
    Replies: 1
    Last Post: 21st January 2010, 14:45
  5. Running Qt Creator examples
    By Saman in forum Newbie
    Replies: 5
    Last Post: 5th May 2009, 21:21

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.