Question for PowerVR QScreen Driver in Qt 4.5

This topic contains 19 replies, has 10 voices, and was last updated by  doubleP 8 years, 6 months ago.

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #29620

    xkdzy2002
    Member

    When you build the qt4.5 with following script:

    ./configure -qvfb -platform qws/linux-x86-g++ -opengl es2 -host-big-endian -little-endian

    -qt-gfx-qvfb -qt-kbd-qvfb -qt-mouse-qvfb

    you will get information as follow:

    The OpenGL ES 2.0 functionality test failed!

    You might need to modify the include and library search paths by editing

    QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in

    {Your Own Path}/qt-embedded-linux-commercial-src-4.5.0-tp1/mkspecs/qws/linux-x86-g++.

    From Technology Preview – Qt 4.5, we can get the new qt4.5 for test and valuation.With the README in qt-embedded-linux-commercial-src-4.5.0-tp1srcpluginsgfxdriverspowervr we get the information:

    …**************************************************************************** IMPORTANT: To build the QScreen plugin and the WSEGL library it depends ** on, the pvr2d.h, wsegl.h headers for your platform are required. These  ** can be obtained either through your platform provider or directly from  ** Imagination Technologies.                                               ****************************************************************************…

    I want to kown where I can get these headers. Thanks so much!

    Is there anybody encounter the same problem as me?xkdzy20022008-10-23 06:58:20

    #32447

    Hi,

     

    Please, ask the platform manufacturer for these files. We are not allowed to deliver drivers for our customer’s platforms.

     

    Best regards.

     

    Carlos.
    #32448

    rm
    Member

    I’m having trouble getting these files from our manufacturer.  Does Imagination Technologies place any legal restrictions on the manufacturer regarding distribution of these two header files?

    #32449

    Hello,

     

    These are internal files which are part of the DDK license so, yes, there are some legal limitations. Our customers have the right to distribute them if they think it is necessary (and under license) but this does not seem to be the case.

     

    Best regards.

     

    Carlos.

     
    #32450

    yagabey
    Member

    Hello,
    I have the same problem; need that header files…Do you  mean  that; if freescale thinks that “you dont need to use hardware acceleration with qt applications”,  then they wont distribute the headers. Is that the case or i misunderstand..?

    Regards..  

    #32451

    TomCooksey
    Member

    I guess Freescale are technically correct, you don’t _need_ to use hardware acceleration with Qt – but I guess it is a nice thing to have, especially when there’s a driver ready to go.

    Did you mention the driver to your Freescale contact? If so, what did they say?

    #32452

    yagabey
    Member

    Yes, i ve contacted to freescale about the driver. They told me that they sent my request to the factory and waiting for reply..

    #32453

    Heyi
    Member

    The followings can act as an example, what you need to do is to modify them as your configuration. 

    QMAKE_INCDIR_OPENGL     =/home/OpenGLES1/Include/ 
                             /home/OpenGLES1/LinuxOMAP3/Include/
    QMAKE_LIBDIR_OPENGL     =/home/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Lib/

    QMAKE_LIBS_OPENGL       = $$QMAKE_LIBDIR_OPENGLlibOpenVGU.so
    $$QMAKE_LIBDIR_OPENGLlibsrv_um.so
    $$QMAKE_LIBDIR_OPENGLlibEGL.so
    $$QMAKE_LIBDIR_OPENGLlibpvr2d.so
     $$QMAKE_LIBDIR_OPENGLlibGLES_CM.so
     $$QMAKE_LIBDIR_OPENGLlibpvrPVR2D_BLITWSEGL.so
     $$QMAKE_LIBDIR_OPENGLlibGLESv2.so
     $$QMAKE_LIBDIR_OPENGLlibpvrPVR2D_FLIPWSEGL.so
    $$QMAKE_LIBDIR_OPENGLlibglslcompiler.so
    $$QMAKE_LIBDIR_OPENGLlibpvrPVR2D_FRONTWSEGL.so
    $$QMAKE_LIBDIR_OPENGLlibIMGegl.so
    #libpvrPVR2D_X11WSEGL.so
    $$QMAKE_LIBDIR_OPENGLlibOpenVG.so
    $$QMAKE_LIBDIR_OPENGLlibpvrscope.so

    Though QT with OPGL can be built successfully, some QT OPGL examples can not be built because some stardard OPGL APIs seems not implemented in this SDK so far.

    (I use the SDK for OMAP3).
    #32454

    TomCooksey
    Member

    It looks like you’re building Qt for X11 using ImgTec’s existing X11WSEGL library, not Qt for Embedded Linux. Can you please confirm this?

    If it is Qt for Embedded Linux have have built then the pvr2d.h & wsegl.h headers must be included in the SDK you have obtained.

    #32455

    Heyi
    Member

    Thanks for your reply!

    Does it mean that we also need to add -plugin-gfx-pvr option when build QTE4.5 with OPENGL-ES support? And if we want enable OPENGL-ES in QTE4.4.3, any extra modifications?

    #32456

    TomCooksey
    Member

    Yes, you must pass -plugin-gfx-powervr to configure.

    You can’t take the QScreen driver from 4.5.0 and use it with 4.4.3 – The internals of the QtOpenGL module have changed a lot with 4.5.0.

    #32457

    Heyi
    Member

    I got pvr2d.h. But it is so hard to get wsegl.h. I have used egl.h to act as wsegl.h but so many build errores because some types are not defined.I think these type definitions are in wsegl.h.I hope some one can give me this file.:)

    #32458

    gpgnews
    Member

    Hello,
    I’ve received PowerVR SDK as a part of the software delivered by freescale when we’ve bot few Mplus5121 boards. Freescale’s answer was that the two requested files are a part of the DDK so they are not made buplic for the moment.
    We need the files for benchmarking purposes, Is there anyone able to give a clean answer about this question ? The copyright of using OpenGLES (OpenVG, WSEGL and all the provided PowerVR liraries as a part of the SDK) isnt clean. If you provide WSEGL and pvr2d libraries why can’t you provide the header files too ? IMHO, providing the files is an excellent way to pomote PowerVR chips wich works just fine out of the box with QT.

    (Can anyone update this post if some of the poster got new informations?)
    Best regards.

    gpgnews2009-03-02 18:08:29

    #32459

    Heyi
    Member

    Has anybody succeeded enabling OPENGL-ES in QT4.5?

    #32460

    TomCooksey
    Member

    After some considerable effort, the required pvr2d.h & wsegl.h will be included in the next patch release of Qt, 4.5.2. Thanks go to ImgTec for helping out.

Viewing 15 posts - 1 through 15 (of 20 total)
You must be logged in to reply to this topic.