OpenCL on Debian for Wandboard

Drop in to chat about anything, or just to introduce yourself in the welcome to the board thread!

OpenCL on Debian for Wandboard

Postby ghostwail » Wed Oct 05, 2016 3:17 pm

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?
ghostwail
 
Posts: 3
Joined: Wed Oct 05, 2016 3:14 pm

Re: OpenCL on Debian for Wandboard

Postby ghostwail » Thu Oct 06, 2016 9:06 am

I found two things:

1. etnaviv https://www.phoronix.com/scan.php?page= ... M-Next-4.5
2. some kind of drivers (created for yocto?) http://repository.timesys.com/buildsour ... .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?
ghostwail
 
Posts: 3
Joined: Wed Oct 05, 2016 3:14 pm

Re: OpenCL on Debian for Wandboard

Postby ClayMontgomery » Thu Sep 07, 2017 2:45 pm

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.

http://montgomery1.com/lightwing/
http://forums.wandboard.org/viewforum.php?f=15

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
ClayMontgomery
 
Posts: 70
Joined: Tue Nov 19, 2013 9:14 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 14 guests