Darktable OpenCL Mesa and RUSTICL

I will open this just a general informational topic.

I use Darktable to treat RAW photos and it was a quite sluggish (and terrible to use in the pocket screen, but usable).

When checking the options, I realized it did not have any openCL backend enabled and after installing clinfo I got the confirmation of “no backend” found.

in mesa3d (Panfrost — The Mesa 3D Graphics Library latest documentation) it seems that the Mali-G610 architecture should be supported via panfrost. So I installed mesa-opencl-icd and the opencl-headers. and ran clinfo to no avail.

It does not autodetect it, but you can forcefully point it to the panfrost driver stack with an export.

export RUSTICL_ENABLE=panfrost

After that, mr darktable detects the option of the RustiCL as an openCL driver and it seems to run normally. I have the pending test of reviewing that it is actually doing something useful, the “feeling” is better, but I do not trust my feeling here :-p

1 Like