Page 1 of 1

OpenCL on Debian for Wandboard

PostPosted: Wed Oct 05, 2016 3:17 pm
by ghostwail
I am trying to access the GPGPU on my Wandboard Quad.
I used the Debian img on the home page. clinfo tells me "I: ICD loader reports no usable platforms".

I'm not sure what I need now, the gpu-viv-bin-mx6q package? A BSP? What do I do, with what, how?

Would you recommend another path?

Re: OpenCL on Debian for Wandboard

PostPosted: Thu Oct 06, 2016 9:06 am
by ghostwail
I found two things:

1. etnaviv ... M-Next-4.5
2. some kind of drivers (created for yocto?) ... .17-1.0.2/

I'm not sure which road I should take. Is the etnaviv thing even in Linux 4.5, should I just upgrade my kernel?
Is the gpu-viv-bin thing going to work in anything else than yocto, is it only to install? Should I do something with the kernel as well, in that case?

Re: OpenCL on Debian for Wandboard

PostPosted: Thu Sep 07, 2017 2:45 pm
by ClayMontgomery
The relatively easy way to use the GPU for OpenGL ES or OpenCL on the i.MX6 is to use the Vivante drivers provided by NXP (gpu-viv-bin) for Yocto either with X11 or without (FB). Yocto is based on Debian, but the latest kernel I have working is 3.14. Apps like Lightwing and Kodi use this approach.

OpenGL ES is available on Android, but not OpenCL. Google does not like OpenCL.

In theory, it is possible to build the EtnaViv drivers for another Linux distro, but that is going to be a lot more difficult.

Regards, Clay