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 ES build for IGEP or Beagleboard
Forum Updated to NodeBB v4.3 + New Features

OpenGL ES build for IGEP or Beagleboard

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 5 Posters 4.7k 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.
  • C Offline
    C Offline
    cosmin2520
    wrote on last edited by
    #1

    Hello to everyone,

    I'm new to this forum and to QT programming but with vast experience with Linux and C... I've been trying for days to build QT with Open GL support for an IGEP board (almost identical with beagleboard) without any success... Here's my situation:

    I'm using Angstrom (online build) and all the SGX demos run perfectly in both Raw and X11. So, the drivers and libs seem to be installed properly.

    I have built QT 4.6.2 with Open GL ES 2 support without any errors.

    All the QT examples are working perfectly except the ones that use Open GL.

    When I try to run an Open GL ES 2 example, the frame loads but nothing appears in the graphicsview window and I get this error:
    QEglContext::createSurface(): Unable to create EGL surface, error = 0x3001
    nothing else.

    I'm running the examples like this: ./hellogl_es2 -qws -display powervr

    I have /etc/powervr.ini configured correctly (WindowSystem=libpvrQWSWSEGL.so.1.0.0) and the lib is available.

    I have the powervr plugin available and it loads ok.

    Please help ! I'm going crazy here and I have no idea what else to do. I've read all the documentation available and I've tried every single tutorial I could find without any success...

    Thank you in advance,
    Paul

    1 Reply Last reply
    0
    • frankcyblogic.deF Offline
      frankcyblogic.deF Offline
      frankcyblogic.de
      wrote on last edited by
      #2

      You know ti has build instructions for Qt on their "homepage":http://processors.wiki.ti.com/index.php/Using_Qt_4.7?

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cosmin2520
        wrote on last edited by
        #3

        I know... As I've said, I've tried every single tutorial I could find and every QT version from 4.5.1 to 4.7.1

        All with the same result :(

        1 Reply Last reply
        0
        • P Offline
          P Offline
          piskvorkar
          wrote on last edited by
          #4

          I had same problem for my board. It was caused by incorrect powervr plugin. The version in Qt sources (4.7.1) is only some reference implementation, but for different board (chip) it doesn't need to work an probably need some patch. I had to ask my board provider at least for right pvr2d.h and wsegl.h. If pvr2d header file doesn't match pvr2d library on your board, it probably will not work.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            prabindh
            wrote on last edited by
            #5

            Please read the README inside the below archive, and use the below patch.

            https://gforge.ti.com/gf/download/docmanfileversion/264/4456/qt_wsegl_1.6.tar.gz

            The architecture of the window system has changed with latest SGX drivers. Qt's powervr driver needs an update for this, and this change will be pushed to mainline Qt.

            1 Reply Last reply
            0
            • H Offline
              H Offline
              heavyman
              wrote on last edited by
              #6

              Hi.
              I'm using Qt/embedded 4.7.2 on S5PV210 with pvr version is 1.5. I have the right pvr2d.h and wsegl.h for the pvr library.

              cat /proc/pvr/version

              Version 1.5.15.2856 (release) s5pc110
              System Version String: SGX540 S5PC110

              Is there another patch for this chip and pvr version?

              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