peyote commented on 2016-03-03 18:18

Current PKGBUILD is missing a dependency, opencl-headers. Here is the error message:

In file included from ../src/Render3D.h:19:0,
from ../src/Render3D.cpp:30:
../src/cl_support.hpp:25:21: fatal error: CL/cl.hpp: No such file or directory
compilation terminated.
src/subdir.mk:72: recipe for target 'src/Render3D.o' failed

I tried a bit around, but the error message is not very clear. I think clang thinks that "half" is already defined, and renaming it gets rid of that error:

for i in /usr/share/mandelbulber/cl/*; do sed -i "s/half /halfFOO /g" $i; done
for i in /usr/share/mandelbulber/cl/*; do sed -i "s/half)/halfFOO)/g" $i; done

Then I get

OpenCL Build log:
ERROR: ProgramSSAO::build() (-43)

And then it segfaults in gobject.

Well...

dc2 commented on 2014-05-02 14:49

Hey there, thanks for the pkg.
In the dependecy-list opencl-headers is missing - it doesn't compile without it.

backfist commented on 2014-05-02 10:59

In the newest version opencl works much better. :)

haagch commented on 2014-02-02 16:35

With radeon gallium opencl (I only tested radeonsi) it currently does not work because the build parameter "-cl-denorms-are-zero" is not supported. It has to be removed from src/cl_support.cpp
buildParams = "-w -cl-single-precision-constant -cl-denorms-are-zero ";

Not sure if this is supposed to be this way or not since I don't know opencl well enough.

haagch commented on 2013-11-15 21:30

Hm, beignet actually compiles with clang 3.4 snapshots now.

The tests work but I'm not sure how to use it with mandelbulber. I think you need an "icd" loader or so?

With fglrx and switchable graphics it's strange. Either with their official "support" or with running mandelbulber on the intel gpu as root (then you get amd opencl too) I get a black screen with no effects, a pink screen with some effects and a crash with all effects. But it works when directly rendering on fglrx's X server and accessing it with vnc.

Zucca commented on 2013-11-11 19:01

haagch: Nice find. I have Intel GPU on my laptop. I guess I could try it.

Maybe in future I'll buy Xeon Phi card for my server. That would make many things including mandelbulber rendering quite fast.

Zucca commented on 2013-10-16 19:40

Intel GPU doesn't support OpenCL, but CPU's do.
Anyway. I have only SU4100 Core2Duo.
On the server side OpenCL "works". Some calculations take more time than with multi cored CPU (dof, fog...).
However maybe in future updates those problems are soved.

willll commented on 2013-10-16 03:19

Hi, nice, I had to install opencl-nvidia, not sure what is need for AIT and intel video cards.