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. Qt and OpenGL ES
Forum Updated to NodeBB v4.3 + New Features

Qt and OpenGL ES

Scheduled Pinned Locked Moved Mobile and Embedded
30 Posts 4 Posters 38.2k 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.
  • A Offline
    A Offline
    almagest
    wrote on 16 Nov 2010, 08:12 last edited by
    #21

    First of all, is it intended that you use X11 as a window manager on the device? I choose to not use it, since Qt would take care of all my needs in that sense. - Just a thought.

    In any case, by looking at the output you printed;
    ... warning: libX11.so.6, needed by /home/spidermanma/opengl-lib/lib/libEGL.so, not found ...
    probably implies that the library containing the XOpenDisplay (X11) needs the corresponding library libX11.so.6 to work properly. Look for the library, and make sure it is reachable by the compiler.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      spidermanma
      wrote on 16 Nov 2010, 15:44 last edited by
      #22

      Yes,you are right.I found X11 libs and put them into the right package . Eventually , I configure qt embedded successfully . It's a long time I have worked on it, this is a big step for me . Thanks to your help, I make it .
      I will run command 'make' tomorrow , because there are some other libs(such as tslib, etc.) should be added into qt libs .
      But , if X11 is not necessary as you mentioned , how can I remove it and configure it without errors ? Can I configure qt embedded without X11 ?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        spidermanma
        wrote on 21 Nov 2010, 11:54 last edited by
        #23

        Hi, almagest.
        I have built qt with opengl es . But I got a error again, when I run opengl examples.
        The error :

        libEGL debug: dlopen(/mnt/nfs/builtQte2/lib/egl/egl_glx.so)
        libEGL warning: GLX: XOpenDisplay failed
        libEGL debug: EGL user error 0x3001 (other) in eglInitialize

        QEglContext::defaultDisplay(): Cannot initialize EGL display: "Not initialized (0x3001)"

        I compiled X11 before , since I didn't know that it is not necessary . But what can I use as a driver for libEGL without X11 ? What can I do with this error , if I use X11 ? I am so glad to get any idea from you.

        -s

        1 Reply Last reply
        0
        • A Offline
          A Offline
          almagest
          wrote on 22 Nov 2010, 16:19 last edited by
          #24

          Im really sorry that i cannot help you with this problem, i really dont know the answers to this. My best advice would be to spend quite some time googling this spesific problem though. Maybe somebody else have some ideas?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            spidermanma
            wrote on 23 Nov 2010, 02:51 last edited by
            #25

            Thank you very much all the same . Maybe this is something special with my platform .

            -s

            1 Reply Last reply
            0
            • A Offline
              A Offline
              almagest
              wrote on 23 Nov 2010, 10:27 last edited by
              #26

              Have you tried to run a opengles2 example that does not use qt?
              Then you can prove that at least some parts are working as they should.

              I have an example written in c++ that i used to show a rotating triangle. Like you, i have problems running opengles2 within the qt environment.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                spidermanma
                wrote on 29 Nov 2010, 00:30 last edited by
                #27

                Hi
                I am sorry to reply so late , because of my classes and homework .

                I have run opengles examples on my platform and it's good . I have read a article "here":http://labs.qt.nokia.com/2010/08/05/hitching-qtembedded-to-a-framebuffer-opengl-es-2-abstraction/ . It seems that every kind of platform has its own EGL driver as QScreen management . Just like WSEGL for powervr . So , I think we have the same problem that we don't have the right EGL driver .

                This is what I think . I don't know whether it is right or not . How can get the right driver or any other solution to me , if I am right ? What cause this error , if I am wrong ?

                -s

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  dreamerindia
                  wrote on 29 Nov 2013, 09:55 last edited by
                  #28

                  Hi,
                  I got similar error as below,

                  @QEgl::display(): Cannot initialize EGL display: "Not initialized (0x3001)"
                  QEglContext::chooseConfig(): Could not find a suitable EGL configuration
                  Requested: "type=es2 rgba=8,8,8,0 surface-type=window"
                  Available: @

                  Have you solved your problem?

                  ~Ravivarman~

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    almagest
                    wrote on 29 Nov 2013, 10:21 last edited by
                    #29

                    DreamerIndia, please don't double (or triple-post) your problem.
                    Generally, if you want help, state as much information as possible regarding your system, compiler, goals .. etc.

                    You posted the same question in different threads recently, please do not hijack threads like this. (it also makes searching harder, since you get hits on tons of identical questions..)

                    Your identical threads;
                    http://qt-project.org/forums/viewthread/35307/
                    http://qt-project.org/forums/viewthread/35392/

                    Maybe you should try to run some GLES application that does not require Qt or EGL first?

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      perez.sgo
                      wrote on 17 Jun 2014, 18:49 last edited by
                      #30

                      Hi almagest,

                      have you had any luck with the original problem?. I'm working with a iMX53 QSB, compiled everything to run Qt with OpenGL following this "post":https://community.freescale.com/thread/230065 and had exactly the same result as you:

                      @hellogl_es2$ ./hellogl_es2 -qws
                      QEgl::display(): Cannot initialize EGL display: "Not initialized (0x3001)"
                      QEglContext::chooseConfig(): Could not find a suitable EGL configuration
                      Requested: "type=es2 rgba=5,6,5,0 surface-type=window"
                      Available:@

                      Could you resolve this problem? I had googled a lot, also in Qt forums an iMX community with no luck.

                      My compiled version of Qt without OpenGL works perfect.

                      Thanks in advance!

                      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