Results 1 to 3 of 3

Thread: Problems with integrating Qt and OpenGL ES

  1. #1
    Join Date
    Jan 2011
    Posts
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Problems with integrating Qt and OpenGL ES

    Hi,

    I'm trying to get the OpenGL ES2 acceleration on CM-T35 board based on OMAP3530 using PowerVR SGX drivers. On many forums I've seen people getting exactly the same errors as I do but unfortunatelly none of them were really solved. So I'm trying one more time hoping for some more luck

    What I have done successfully so far is:
    • Cross-compiled Qt Embedded 4.6.1 with following ./configure parameters:
      -embedded arm -xplatform qws/linux-omap3530-g++ -platform qws/linux-x86-g++
      -no-accessibility -no-qt3support -no-javascript-jit -no-script -no-scripttools -no-webkit
      -qt-kbd-linuxinput -qt-mouse-linuxinput -qt-mouse-tslib
      -depths 16,24,32
      -opengl es2 -qt-gfx-linuxfb -plugin-gfx-powervr
      -fast
    • Cross-compiled and installed TI Graphics drivers (1.6.16.3977 drivers from Graphics_SDK_4_03_00_02) which are working as expected.
    • Running Qt demos without OpenGL ES acceleration


    But when trying to employ OpenGL ES rendering in hellogl_es2 example (with QT_DEBUG_PLUGINS=1)

    QT_INSTALL_DIR/examples/opengl/hellogl_es2/hellogl_es2 -qws -display powervr

    I get the following errors:
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Trolltech/QtEmbedded-4.6.1-arm/plugins/gfxdrivers/libqgfxpvregl.so" keys ("powervr")

    QEglContext::createSurface(): Unable to create EGL surface, error = 0x300b
    QGLContext::makeCurrent(): Cannot make invalid context current
    QEglContext::createSurface(): Unable to create EGL surface, error = 0x300b

    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Trolltech/QtEmbedded-4.6.1-arm/plugins/iconengines/libqsvgicon.so" keys ("svg", "svgz", "svg.gz")

    To not be confused, I have set the right WindowSystem in powervr.ini file (libpvrQWSWSEGL.so) and SGX drivers are loaded successfully (can be checked with lsmod).

    Interestingly enough, executing the provided eglinfo utility (from TI Graphics SDK), which is also creating EGL surfaces, contexts as hellogl_es2 demo does, runs without any errors!

    I believe this is some kind of a bug in QWSWSEGL layer. Please can you provide some advices regarding this problem.

    Thank you,

    Adi

  2. #2
    Join Date
    Jan 2011
    Posts
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Problems with integrating Qt and OpenGL ES


  3. #3
    Join Date
    Feb 2012
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Problems with integrating Qt and OpenGL ES

    Quote Originally Posted by Adi View Post
    What was the answer there? I'm trying tos olve same problem for 6 months

Similar Threads

  1. Qt Creator/MingGW on Windows - Problems with XML, OpenGL, etc. modules
    By craigdillabaugh in forum Installation and Deployment
    Replies: 0
    Last Post: 12th January 2011, 18:29
  2. Problems with Qt OpenGL drawing a textured Quad
    By Halcom in forum Qt Programming
    Replies: 1
    Last Post: 26th October 2010, 13:27
  3. Mac OSX OpenGL problems
    By tksharpless in forum Qt Programming
    Replies: 0
    Last Post: 23rd March 2009, 18:27
  4. Qt4 Lib -- Linker Problems Qt4/OpenGL
    By Jackson.Shredder in forum Qt Programming
    Replies: 6
    Last Post: 19th January 2009, 19:22
  5. problems with Opengl
    By SlawQ in forum Qt Programming
    Replies: 4
    Last Post: 12th February 2006, 23:49

Tags for this Thread

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.