imx6q GPU not being used

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx6q GPU not being used

1,477件の閲覧回数
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,427件の閲覧回数
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,420件の閲覧回数
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,393件の閲覧回数
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,378件の閲覧回数
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,369件の閲覧回数
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 件の賞賛