OpenGL ES2 Shaders on Pandaboard with QNX
-
Hi,
I cross-compiled Qt5 for a "pandaboard":http://pandaboard.org/ with TI ARM Cortex A9 CPU and SGX 540 GPU. All classic QWidget apps are running with no issues. However the QML apps with shader code output a blank screen. When I digged further I found the QNX plugin is making the connection with the display driver.
Basic QML items such as rectangles and images are displayed properly but none of the shader effects produce the intended output. The basic hellogl_es2 app also outputs a black screen and what follows is the debug output screen:# ./hellogl_es2
QQnxScreen: screen_get_display_property_iv() reported an invalid physical screen size (0x0). Falling back to QQNX_PHYSICAL_SCREEN_SIZE environment variable.
This plugin does not support propagateSizeHints()
This plugin does not support propagateSizeHints()
QBackingStore::flush() called with non-exposed window, behavior is undefined
QBackingStore::flush() called with non-exposed window, behavior is undefined
QBackingStore::flush() called with non-exposed window, behavior is undefined
QBackingStore::flush() called with non-exposed window, behavior is undefinedPlease help me to fix this issue. I compiled the latest Qt5 from the git repos.
Thanks -
Did you build with OpenGL ES 2 support enabled? i.e. passing -opengl es2 option to configure?
-
Yes with that option. I tested the QNX graphics driver and it works fine since the classic gears app is running with proper output. All the other qml items are being displayed. Is there a way to know if the items are being rendered using a software rasterizer or the es2 driver?
-
How did you build the Pandaboard BSP? And which graphics system are you using? Which graphics driver are you using? And how does your configure line look like? Is it QNX 6.5.0 SP1, and which patches are applied to it? You can also contact me at andreas.holzammer {at} kdab.com
-
Hi Pourya,
How did you find Qnx Graphic Driver for PandaBoard.I can't find it.I have a pandaboard and I want to develope qt application on qnx but I can't find graphic driver.Can you help me about this problem. -
Hi Pourya,
I'm trying to compile Qt5.1 for my Pandaboard but I have a lot of problems in the "configuration" step.
I followed this guide: http://qt-project.org/wiki/TIPandaBoard
but it lacks in information just where needed.Can you post your "configure" command and "qmake.conf" file?
Thank you
Walter