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.

TDA2PXEVM: SGX Load on Display using Display_Grpx

Part Number: TDA2PXEVM

Hello All,

We are currently working on the following usecase which is running on HLOS,



NullSource (A15) -> Decode -> VPE -> Sync -> Alg_A (DSP1) -> SgxFrmcpy (A15)

// display on m4
SgxFrmcpy -> Display_M4 (IPU1_0)

//
// Graphics overlay display
//
GrpxSrc -> Display_Grpx


We are using SgxFrmcpy link for opengl rendering. But while running the usecase, we are not able to see the cpu load on sgx core.

How will we be able to solve this issue?

Inputs, suggestions would be of great help.

Regards,

Shantanu

  • Hello All,

    Any input on this query would be very helpful

    Regards

    Shantanu

  • Hello Shantanu,

    Apologies for the delay. Are you interested in measuring the GPU load?

    To see the load on the GPU, you can use PVRTune:

    https://www.imgtec.com/downloads/download-info/pvrtune-for-sgx/

    PVRTune is an Imagination Technologies tool to profile GPU loading. Please refer to the documentation for instructions.

    Regards

    Hemant

  • Hello Hemant

    I will go through the documents and tool suggested above for analyzing GPU load.

    Thank you for the response.

    Regards

    Shantanu Joshi

  • Hello Hemant

    I have installed PVRTune on ubuntu 16.04. I can able to monitor the load for my personal laptop's IP. I have created static IPs for laptop and TDA2PXEVM board. Ethernet connection is working fine. But when I try to connect it from PVRTune GUI it is not getting connected. 

    I have gone through their documents but that are more related to android. Is there any specific document I can refer to for Linux. I have not found any video links as well for the setup.

    Is it possible for you to send some links that might be helpful.

    Thanks & Regards

    Shantanu Joshi

  • Hello Hemant

    I am able to figure out pvrscope binary present at /opt/vision_sdk/ location in the targetfs . By Running this pvrscope binary in background and my apps.out in front I can able to generate some logs as follows,

    PVR: 17.957861 12.574539
    PVR: 18.151274 12.587091
    PVR: 17.227364 12.427939
    PVR: 17.344857 12.454996
    PVR: 17.257122 12.482723
    PVR: 17.290509 12.499910
    PVR: 17.138919 12.378968

     


    could you please help me to understand what is the first and second parameter is about. Is it like first parameter is for rendering load on sgx and second for clock speed?

    Also using PVRHub present in the targetfs at location /opt/img-powervr-sdk/PVRHub by using start_tracing.sh script I am able to generate one apps.pvrt binary. But to visualise the performance using this .pvrt binary How can I use PVRTrace utility as I am not able to find this utility online.

    Regards

    Shantanu

  • Hello Shantanu,

    I will look into what PVRScope is printing out. What we need to run on target is PVRPerfServer. This binary should be available in PVRTune package (For for Linux_armv7hf). When you run PVRPerfServer, PVRTune should be able to connect to it. Can you give this a shot? If not, I am happy to set up a call with you to go over this. Let me know.

    Regards

    Hemant