[Mesa-dev] Testing OpenCL with gegl

Bruno Jimenez brunojimen at gmail.com
Sat Jun 21 02:57:47 PDT 2014


Hi,

Have you built gegl with the patches that Jan sent to the mailing list?

You can find them here:
http://lists.freedesktop.org/archives/mesa-dev/2014-June/061880.html

Hope it helps!
Bruno

On Sat, 2014-06-21 at 09:17 +0300, Kertesz Laszlo wrote:
> Hmm. I get
> 
> GEGL_DEBUG=opencl ./run-compositions.py apply-lens.xml
> GEGL-gegl-cl-init.c-Message: [GEGL_DEBUG_OPENCL] gegl-cl-init.c:508:
> libOpenCL.so: 'clCreateFromGLTexture2D':
> /usr/lib/x86_64-linux-gnu/libOpenCL.so: undefined symbol:
> clCreateFromGLTexture2D
> GEGL-gegl-cl-init.c-Message: [GEGL_DEBUG_OPENCL] gegl-cl-init.c:636:
> OpenCL is disabled
> GEGL-gegl-cl-init.c-Message: [GEGL_DEBUG_OPENCL] gegl-cl-init.c:636:
> OpenCL is disabled
> /media/bigdata/compile/gegl/tests/compositions/reference/apply-lens.png
> and /media/bigdata/compile/gegl/tests/compositions/output/apply-lens.png
> are identical
> PASS apply-lens.xml
> SKIP apply-lens.xml (OpenCL)
> === Test Results ===
>  tests passed:  1
>  tests skipped: 1
>  tests failed:  0
> ======  PASS  ======
> 
> I have built llvm, kernel,mesa from git with opencl on (A8-6500 APU,
> ARUBA). Simple opencl tests work.
> 
> Using gimp (built from git) i have the same undefined symbol error in
> the console and all operations use 1 CPU core, the GPU doesnt seem to be
> used at all.  If i make all tests, all opencl tests are skipped and one
> (non-opencl i suppose) even fails (gegl.xml).
> Any ideas how i could use opencl?
> 




More information about the mesa-dev mailing list