Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. OpenGL ES2 Shaders on Pandaboard with QNX
Forum Updated to NodeBB v4.3 + New Features

OpenGL ES2 Shaders on Pandaboard with QNX

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 5 Posters 4.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pourya
    wrote on last edited by
    #1

    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 undefined

    Please help me to fix this issue. I compiled the latest Qt5 from the git repos.
    Thanks

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on last edited by
      #2

      Did you build with OpenGL ES 2 support enabled? i.e. passing -opengl es2 option to configure?

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Pourya
        wrote on last edited by
        #3

        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?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          aholza
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • Y Offline
            Y Offline
            yamak
            wrote on last edited by
            #5

            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.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Myzhar
              wrote on last edited by
              #6

              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

              ======================
              Myzhar
              www.robot-home.it
              myzharbot.robot-home.it

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved