This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Question about am3517 Hardware Accelerator

Other Parts Discussed in Thread: AM3517

I'm using the new AM3517 SDK - 4.0.1.0 because I was told that it include the hardware accelerator.  This also comes with QT 4.6.3.  

I built my own qt application which I got to run on the board, but I'm not sure if the accelerator is actually being used.  In my qt project file I have DEFINES += QT_OPENGL_SUPPORT and it compiles fine but when I add QT += opengl it doesn't compile.  So I'm wondering if these flags are needed for the accelerator to work?  Or since it has been enabled on the file system, it will always use it?

If that's not the case can someone point me in the right direction so I can get my application to work with the accelerator?

  • One of the factory folks can correct me if I am wrong, but my understanding of using Qt with the SGX only means that you can run OpenGLES based applications from within Qt, not that the normal 2 dimensional Qt GUI will be accelerated by the SGX, as the SGX accelerator is only good for accelerating vector and 3d graphics rendering, not 2d blit rendering. This being said, before jumping into the build aspect here, I just want to be sure we are clear on what the goal is, and what is possible, do you have OpenGLES calls within your Qt application?

  • The aspects of acceleration are discussed in the below wiki article:

     

    http://processors.wiki.ti.com/index.php/XgxPerf_HMI#Using_Qt.27s_Powervr_backend_for_display.2F_3D_acceleration_in_XgxPerf

     

    Building Qt with GLES support is described in,

    http://processors.wiki.ti.com/index.php/Building_Qt_with_OpenGL_ES_accelerated_by_SGX

     

  • Our goal is to utilize the hardware accelerator to improve performance on the am3517.  As of now we did not implement the code using any OpenGLES calls, but for the final version we will include those since we now know that special classes need to be used for the accelerator to work.  

    I have been looking around and also noticed that besides OpenGLES there is also OpenVG, would it be recommended to use one or both at the same time?

    Aside from that, I was told that the SDK I downloaded came with the accelerator enabled.  I have tried compiling an application using the provided sdk and it did not work.  I'm going to try and build the Graphics SDK using http://processors.wiki.ti.com/index.php/Building_Qt_with_OpenGL_ES_accelerated_by_SGX 

    There are just a couple of questions I have about that.  Under graphics SDK it says that it should be compiled against the kernel being used.  Does that mean that I should go through http://processors.wiki.ti.com/index.php/Building_Qt_for_OMAP35xx_with_OpenGL_ES_accelerated_by_SGX before i follow the other instructions?  If that's the case the part that talks about Build the kernel modules suggest that ARCH=arm omap3_evm_defconfig should be used, i have been using am3517_evm_defconfig.  Does this matter?  

    Thanks,

    Rodrigo

  • I tried building Qt with GLES according to http://processors.wiki.ti.com/index.php/Building_Qt_with_OpenGL_ES_accelerated_by_SGX and i'm running into a problem which might be easily fixed.  I'm using  AM3517 SDK - 4.0.1.0 which comes with qt 4.6.3  

    I installed the Graphics_SDK_setuplinu_4_00_00_01.bin which came with the sdk.  Now i'm on step 3 which requires me to re-configure qt.  Since qt came pre installed on this SDK i can't seem to locate the configure file anywhere.  I'm not sure if I can just copy a configure file in there, or if I need to make a fresh install of qt 4.6.3 on my machine and then add the Graphics library to it.  If that's the case how would i add that newly built version to my file system?  Otherwise is there a way to configure it based on what the SDK gave me?

    Thanks,

    Rodrigo