Hey There!
We are developing a gstreamer pipeline, and trying to offload some work to the GPU.
To profile this, we're trying to use the gpuProfiler of the galcore module.
The *.vpd files are being generated (I attached one) and do seem to contain data.
The problem is that the VivanteIDE doesn't seem to recognise the files as a valid format. I've also tried with some earlier versions I've found in the NXP repositories, but all refused to show any gpu data.
Some information:
GPU: Vivante GC880 / revision="5.1.0_rc6"
OpenGL ES 3.0
Linux version: 5.4.70-F+S
VivanteIDE version: 5.2.0
All build with yocto 3.0.4 (Zeus)
Thanks in advance!
Solved! Go to Solution.
gputop is good tools, you also can refer to the chapter 14 GPU Tools of enclosed file
normally we will suggest customer to use the latest version, but I also have another solution from the customer who has the similar issue, they open the vpd file with an notepad++ or viAnd change the text VP2010 in VP12 save it, then can read it correctly, maybe you can try it
Dear Joanxie
Thank you for the information.
The changing of the VP2010 -> VP12 does seems to change behaviour, although now i get a 'No frame data in profiled data file' error. Any idea why that would happen?
The *vpd file is automatically generated whilst starting gstreamer.
These were the exported vars:
export VIV_PROFILE=1
export VP_FRAME_NUM=20
export V_SYNC_MODE=1
Both gpuProfiler=1 and powerManagement=0 in the galcore module.
Thanks!
did you try the latest IDE?
Hey Joanxie
Sorry for the late response.
I did test it with the latest IDE, unfortunately without success.
In the meantime, I've used other tools such as gputop to do some basic profiling.
If you have any more ideas i'd happily test them, although gputop is good enough for my use case.
Thanks for your help!