i.MX6 - How to test the GPU

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

i.MX6 - How to test the GPU

2,823件の閲覧回数
Ansari
Contributor IV

Hi,

We are using imx6Q custom platform for our development which is based on sabresd platform with Linux 3.14.28_1.0.0-GA BSP.

We would like to know the testing procedure to test the GPU.

we have run the "/unit_tests/gpu.sh" command  and got the below error.

~ ~

vdkGetDisplay() failed.

CreateWindow() failed.

press ESC to escape...

/unit_tests/gpu.sh: line 20: cd: /opt/viv_samples/hal/: No such file or directory

~

Please help us to test the GPU.

Regards,

Ansari

2 返答(返信)

1,018件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Abdul,

To run test applications, you have to first load the GPU driver.

To load the GPU driver, use the following command:

"insmod <PATH>/fgalcore.ko"

to un-install GPU driver, run the following command:

"rmmod <PATH>/galcore.ko"

Note: The path of galcore.ko can be found by the following command:

  "cd / && find . -name "galcore.ko"

Also there is a Graphics user Guide document in the BSP installation folder please check it.

Regards

1,018件の閲覧回数
almarto
Contributor IV

What is the difference between fgalcore.ko and galcore.ko?

These are the command I try to execute:

root@imx6sxsabresd:/unit_tests# cd / && find . -name "galcore.ko"

./lib/modules/4.1.15-1.1.0+ga4d2a08/extra/galcore.ko

root@imx6sxsabresd:/# cd / && find . -name "*galcore.ko*"

root@imx6sxsabresd:/# insmod /lib/modules/4.1.15-1.1.0+ga4d2a08/extra/galcore.ko

galcore: module is already loaded/modules/4.1.15-1.1.0+ga4d2a08/extra/galcore.ko

insmod: ERROR: could not insert module /lib/modules/4.1.15-1.1.0+ga4d2a08/extra/galcore.ko: Invalid parameters

I get an error, but the module doesn't seem to be installed and running ...

root@imx6sxsabresd:/# lsmod

Module                  Size  Used by

mx6s_capture           14960  0

mxc_dcic                6544  0

ov5640_camera          19961  0

Could you please help me to fix this error?

BR,

alvaro martinez

0 件の賞賛