Getting GPU load using PVRPerfServer in target board

Hello,
I am working on making a simple performance measure tool of AXM-8-256 GPU in Renesas R-Car V4H device.
I would like to know the data format or protocol that PVRPerfServer out to PVRTune. We also can get it using PVRPerfServer with --sendto command option.

I was able to get the result of the data in hexadecimal dump format like the below using a tiny program. But I cannot extract a performance value because I don’t know the data format?

0e 00 00 00 6e 01 00 b2 01 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 08 00 00 00 38 00 00 00
2b 00 00 00 08 00 00 00 38 00 00 00 2b 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 ae 00 00 00
1e 00 00 00 0c 00 00 00 1f 00 00 00 1f 00 00 00
4c 69 6e 75 78 20 76 65 72 73 69 6f 6e 20 35 2e
31 30 2e 34 31 2d 79 6f 63 74 6f 2d 73 74 61 6e
64 61 72 64 20 28 75 73 65 72 40 45 53 44 45 2d
6d 62 6c 30 32 29 20 28 61 61 72 63 68 36 34 2d
70 6f 6b 79 2d 6c 69 6e 75 78 2d 67 63 63 20 28
47 43 43 29 20 39 2e 33 2e 30 2c 20 47 4e 55 20
6c 64 20 28 47 4e 55 20 42 69 6e 75 74 69 6c 73
. . . . .<< Continue until force stop >>

The data we would like to know are the followings.

  • GPU work load in percentage
  • Drawing frame rate with openGL ES (if possible)

Could you provide us the data format of PVRPerfServer output and how to culculate them.

Best Regard,
miya

Hi miya,

Thanks for your message and welcome to the PowerVR Developer Forum!

Regarding your question, unfortunately the protocol used by PVRPerfServer and PRVTune is propietary and there is no intention to make it public at the moment. It can also change from one PVRTune version to another.

To remotely monitor a PowerVR GPU, we recommend to use PVRScope to read GPU information locally and to send that information through TCP to the monitoring application. Flat Buffers can be an option which could help with this approach for serialization / deserialization.

If you need to develop a more complex GPU monitor, you can use PVRTune directly. If you think PVRTune lacks a specific feature which would cover your needs, please propose a feature request which will be evaluated by the Tools Team for a future release.

Best regards,
Alejandro

Hi, Alejandro

Thank you for your response.
Let me rethink how to make my original performance measurement tool. Perhaps, I will use PVRScope library on it.

Best regards,
miya