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.

2D accelerator of SGX530 integrated AM3874

Other Parts Discussed in Thread: AM3874

Hi,

I have one question regarding SGX530 of AM3874.

As you know SGX530 is nitegrated into AM3874. And SGX530 has 2D and 3D accelerator.

I heard that 2D and 3D accelerator does not work same time. Is it true? If it is true, please let me know the reason. If it is not true, please let me know how to use

2D and 3D same time.

I appreciate your quick reply.

Best regards,

Michi

  • Hello,

    I would recommend you tot check in the TRM (AM387x Sitara ARM Processors Technical Reference Manual).

    Chapter : SGX530 Graphics Subsystem

    Best Regards,

    Margarita

  • Hi Michi,

    Reading the AM387x TRM, it seems to me that we can use 2D and 3D at the same time:

    1.5 SGX530 Graphics Subsystem

    1.5.1 SGX Overview

    The SGX graphics accelerator can simultaneously process various multimedia data types:

    • Pixel data

    • Vertex data

    • Video data

    • General-purpose processing

    This is achieved through a multithreaded architecture using two levels of scheduling and data partitioning enabling zero-overhead task switching.

    But searching through the E2E forum, I can find that in some cases 2D operations are not recommended to be done with SGX but in SW through the Cortex-A8 ARM Neon.

    Instead of calling 2D, 3D etc, let us use OpenGL ES2 as the API as reference.

    OpenGL ES can be used for 3D, as well as 2D acceleration. 2D acceleration is provided under specific conditions, and depends on framework used, size of screen, size of textures, 2D operation used and hence in some cases, SGX will not perform as well as a software implementation (done in A8+NEON). For example in Qt, refer to below link as to how SGX is used.

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

    Unless you are implementing an OpenGL ES2 based UI, or using standard Qt with SGX backend, or Android, it does not make sense for you to use this. There is no special 2D engine or 2D API provided on SGX530.

    BR
    Pavel

     

     

  • Dear Pavel-san,

    Thank you for your support.

    Please let me clarify few things. Please see the below.

    1. OpenGL ES2 :  Does not this API use SGX530? Is this API achieved by using only software(ARM A8 Core+NEON)?

    2. If we would like to use 2D accelerator of SGX530, do we need to modify the SGX driver?

    3. In my understanding, SGX driver is released only binary code from Adeneo. Is this right?

    4. If we need the source code of SGX driver, does IT supply it to us?

    I appreciate your quick reply.

    Best regards,

    Michi

  • Michi,

    Refer to the below wiki pages:
    http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide
    http://processors.wiki.ti.com/index.php/Building_Qt_with_OpenGL_ES_accelerated_by_SGX
    http://processors.wiki.ti.com/index.php/Building_Qt
    http://processors.wiki.ti.com/index.php/Upgrading_Graphics_SDK_in_EZSDK
    http://processors.wiki.ti.com/index.php/SGXDbg
    http://processors.wiki.ti.com/index.php/Qt_Tips
    http://processors.wiki.ti.com/index.php/Render_to_Texture_with_OpenGL_ES#Parameters_to_glFramebufferTexture2D.28.29

    BR
    Pavel
  • See also the below e2e thread:
    http://e2e.ti.com/support/arm/sitara_arm/f/791/t/96791

    BR
    Pavel
  • Dear Pavel-san,

    Thank you for sending many information.

    It is very helpful. However, my customer uses WEC7 as OS.

    If you have similar information for WEC7, please let me know it .

    Best regards,

    Michi