Hi team,
I am using the imx6-sabresd board with kernel 5.10.175 version and u-boot 2021-04 and vivante GPU version imx-gpu-viv6.4.3 version.
I am running the Qt6 application in the board and wanted to take observations about GPU usage by that Qt6 application.
How to check the GPU usage by the application or whether GPU is really being used by that application or not ? Any log file to where we can see and confirm about that usage.
Currently i am using the gmem_info script to test the GPU usage and getting below o/p.
gmem_info
Pid Total Reserved Contiguous Virtual Nonpaged Name
755 46,923,520 3,538,944 43,384,576 0 0 /usr/lib/xorg/Xorg
------------------------------------------------------------------------------
1 46,923,520 3,538,944 43,384,576 0 0 Summary
- - 130,678,784 - - - Available
GPU Idle time: 45.942692 ms
Here i am getting the Contiguous value getting incresese as we use more Qt6 applications. Is this the right way to confirm about the GPU usage ?
Please give a short explanation about GPU usage and its log files to debug.it will be really helpful for me to understand it better.
Regards,
Rk
Hi Joanxie,
I checked this document, seems like we can use the gmem_info.sh script to check the memory usage by any application in GPU.
As we are running more qt applications, we can observe more contiguous memory is being utilized, So we can say that applications is using the GPU memory.
Is my understanding is correct ? Correct me if I wrong.
Regards,
Rk
you can use gpuinfor or gputop to check the gpu usage information, I don't know what you got, you can share the result or logfile here
refer to your post, the GPU is already used
Hi ,
can u share the script to know about the gpu usage in imx7 board
Hi Joanxie,
thanks for your reply, I am using the qt6/qt5 openglwindow application and i can see the CPU utilization is around 250% in $top command.
So, is it normal/possible to use the GPU and having this much CPU usage in imx6qsabresd?
Please suggest on this
Regards,
Rk