imx6q GPU not being used

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

imx6q GPU not being used

3,749 Views
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

Labels (4)
Tags (2)
0 Kudos
Reply
5 Replies

3,699 Views
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 Kudos
Reply

3,692 Views
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

Tags (1)
0 Kudos
Reply

3,665 Views
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 Kudos
Reply

3,650 Views
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 Kudos
Reply

3,641 Views
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 Kudos
Reply