AnsweredAssumed Answered

galcore module failed to load

Question asked by Khang Le Truong on May 29, 2019
Latest reply on May 30, 2019 by Khang Le Truong

Hi all,

Currently I'm using toradex_4.9-2.3.x-imx kernel for my Buildroot system and I plan to do some testing on the Vivante GPU using the examples provided by Freescale : 

Vivante Examples Selected in Buildroot

 

But I've got errors for following tests :

 

  1. root@imx-buildroot:~# /usr/share/examples/viv_samples/cl11/UnitTest/clinfo
  2. >>>>>>>> /usr/share/examples/viv_samples/cl11/UnitTest/clinfo Starting...
  3. !!! Error # -1001 at line 156 , in file main.cpp !!!
  4. !!! Exiting...

 

  1. root@imx-buildroot:~# /usr/share/examples/viv_samples/cl11/fft/fft 1024
  2. Block size: 16
  3. Print result: yes
  4. Initializing device(s)...
  5. ERROR:: -32 clCreateContextFromType failed

 

Also, I noticed that the gpu-viv's driver (i.e. galcore module was failed to load) :

  1. root@imx-buildroot:~# dmesg | grep -i galcore
  2. [ 2.766399] Galcore version 6.2.4.150331
  3. [ 2.766630] galcore: probe of 130000.gpu failed with error -22

 

I'd like to know if this galcore.ko relates to the above tests and why did it fail to load, please ?

Thanks in advance,
Khang

Outcomes