GPU tasks monitoring

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GPU tasks monitoring

2,037 Views
michel_he_ext
Contributor I

hi,

    I'm looking for information about the GPU in imx8. Let me explain, I'm working on Integrity OS, and I found different tasks (or threads) at initialzation after launching VivanteInit();

0xffffffa004e7b000 pending 200 0x0000000000000270/0x0000000000000dd0 0.00% Vivante Timer Task
0xffffffa004c4d000 pending 200 0x0000000000000030/0x0000000000000dd0 0.00% Vivante Timer Task
0xffffffa004c2a000 pending 250 0x0000000000000030/0x0000000000000dd0 0.00% GalCore 3D Daemon
0xffffffa004c20000 pending 128 0x00000000000003b0/0x0000000000001dd0 0.00% GalCoreServer
0xffffffa004aa3000 pending 128 0x0000000000000570/0x0000000000003dd0 0.00% GAL Task
0xffffffa004a99000 pending 128 0x0000000000000550/0x0000000000003dd0 0.00% GAL Task
0xffffffa004a88000 pending 128 0x0000000000000550/0x0000000000003dd0 0.00% GAL Task
0xffffffa0049ea000 pending 128 0x0000000000000580/0x0000000000003dd0 0.00% GAL Task
0xffffffa0049e1000 pending 128 0x0000000000000580/0x0000000000003dd0 0.00% GAL Task

I'd like to have more information about the tasks.

Beside I'd like to know how to monitor the gpu load, indeed I have 2 different openCL kernel running on the GPU.

Thank you very much for your help !

0 Kudos
Reply
1 Reply

1,792 Views
igorpadykov
NXP Employee
NXP Employee

Hi M

 Integrity OS is not supported by NXP, issue can be posted on vendor support

Supporting the Embedded World - Green Hills Software 

In linux one can get GPU info at runtime using gputop command.

It shows GPU frequencies and GPU usage in percents.

To get correct values from gputop enable gpu profiler, from U-boot

add following parameters to mmcargs:

galcore.powerManagement=0 galcore.showArgs=1 galcore.gpuProfiler=1

Unit test gpuinfo.sh script :

gpuinfo.sh\gpu\test - imx-test - i.MX Driver Test Application Software 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply