Hi team,
I am using the imx6qsabresd board. Using the kernel version 5.10 and using the Qt5 examples. I am using the imx-gpu-viv6.4.3 version for GPU and while running the Qt5 examples i can see that application is not using the GPU at all and CPU consumption is happening around 180% after running those qt5 examples.
There is not differences in gmem_info and gpuinfo.sh output before and after running those applications.
Could someone please help me to find out the issue, WHY applications are not using the GPU.
Regards,
Rk
We have different version of BSP release here:
Which version of BSP release are you using?
Hi Jimmy,
I am using the kernel version 5.10.175 and u-boot of version 2021.04 with imx-gpu-viv6.4.3 version.
Small correction that I can see the Contiguous memory field in the gmem_info script output is increasing as we are increasing the qt app and decreasing as we are decreasing the the qt application. Can we conclude on this that GPU is being used in such case by Qt applications.
Please help me to find the issue with GPU here.
Regards,
Rk
Yes, you could use the script to check the GPU runtime status. For details, please read the chapter 13 of GPU UG.
https://www.nxp.com/docs/en/user-guide/i.MX_Graphics_User%27s_Guide_Linux.pdf
Hi Jimmychan,
thanks for replying, I can see that GPU memory changes in the gmeminfo.sh but imx6q-sabresd board is still using the 230%CPU showing in the top command, which is really very high CPU usage.
Any other to check whether GPU is really being used in the application or not.
Please give suggestions on this issue.
Regards,
Rk
When you build the image, the different DISTRO has different setting for GPU. e.g Wayland, X11.
Please read the Chapter 5 of i.MX Linux Reference Manual for details.
https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf