imx6q GPU not being used

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx6q GPU not being used

1,402 次查看
rakesh3
Contributor V

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

标签 (4)
标记 (2)
0 项奖励
5 回复数

1,352 次查看
jimmychan
NXP TechSupport
NXP TechSupport

We have different version of BSP release here:

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

Which version of BSP release are you using?

 

0 项奖励

1,345 次查看
rakesh3
Contributor V

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

标记 (1)
0 项奖励

1,318 次查看
jimmychan
NXP TechSupport
NXP TechSupport

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

 

0 项奖励

1,303 次查看
rakesh3
Contributor V

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

0 项奖励

1,294 次查看
jimmychan
NXP TechSupport
NXP TechSupport

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

 

 

0 项奖励