Samuli Suominen schrieb:
> You are right
> I believe this started after a major mesa version bump, so I'd start
> looking for the culprit
> in Mesa's OpenCL code, but I have no idea howto go futher with the
> debugging... yet

The problem is finding a general way for OpenCL to force it to run on
the CPU. For Mesa OpenGL there is LIBGL_ALWAYS_SOFTWARE, but for OpenCL
there is nothing similar.

> Meanwhile, =media-gfx/imagemagick-6.8.8.10[opencl] now installs the
> sandbox.d file,
> workaround is better here than nothing since this is affecting multiple
> binaries,
> packages :/
>
> - Samuli
>

For ImageMagick specifically, the MAGICK_OCL_DEVICE environment variable
could be set per[1].

Another option would be to hide the existence of the GPU OpenCL device
from the applications using the OCL_ICD_VENDORS variable.


Best regards,
Chí-Thanh Christopher Nguyễn


[1] http://www.imagemagick.org/script/opencl.php


Reply via email to