opencl issue with Hikey970 (Mali G72)

Currently I run Ubuntu on Huawei Hikey 970 board, and try to run gnuradio with gr-fosphor on it, but failed.

At first, it failed with these lines:

[!] CL Error (-1001, /build/gr-fosphor-9QC8j4/gr-fosphor- Unable to fetch platform IDs
[!] No suitable OpenCL device found

So I tried this driver ""mali-G71_r9p0-01rel0_linux_1fbdev.tar.gz" downloaded from

I extracted it under /opt, and compile gr-fosphor with is command:

cmake .. -DOpenCL_LIBRARY=/opt/fbdev/ -DOpenCL_INCLUDE_DIR=/opt/fbdev --prefix=/usr

It compiles all right. But when I try to run it, i got this error:

undefined reference to `clCreateFromGLBuffer'

So looks like this driver doesn't implemented these "clCreateFromGL*" functions? If so, is there any way to fix this? Thanks.

Parents Reply Children
No Data