How to execute EGL2.0 samples by GPU not CPU on imx6dl?

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

How to execute EGL2.0 samples by GPU not CPU on imx6dl?

1,011 次查看
jerry_py_liu
Contributor I

Hi,

I got this nxp gpu sdk from here.

https://www.nxp.com/webapp/sps/download/license.jsp?colCode=FSL_GPU_SDK_2.3&appType=file1&location=n...

I downloaded it and build 01_SimpleTriangle by Makefile.x11.

Then I executed it on our imx6dl board, I found that it use up to 80% CPU resource.

However, I found it can executed by GPU because CPU usage decrease to 4~10% after I test some method on board

But I cannot confirm how to do it and I cannot repeat this situation when I create new terminal on board.

How to executed this sample by GPU?

Thanks!

标记 (1)
0 项奖励
回复
1 回复

892 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jerry

one can check that gpu driver is included in image, it is described

in linux documentation (Linux Manual) on below links

Linux L4.14.78_1.0.0 Documentation

i.MX Software|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复