Open Source LLM

Mesa's "Rusticl" Implementation Can Now Manages To Handle Darktable OpenCL

Rusticl as what started out as a Rust language experiment for Mesa and has now matured into a working OpenCL 3.0 implementation for Mesa drivers is still making progress and on a path towards eventually being mainlined.

In addition to the OpenCL 3.0 conformance test suite (CTS) successfully running on the Mesa Rusticl code along with various test applications (including Rusticl having OpenCL image support), the latest milestone to mark off the list is it successfully running with Darktable's OpenCL support.

โœ… @darktable_org running on Rusticl

โ€” ๐Ÿง๐Ÿง๐Ÿงkarolherbst๐Ÿ’‰๐Ÿ’‰๐Ÿ’‰ (@karolherbst) May 4, 2022

Karol Herbst of Red Hat who has been leading development of Rusticl tweeted yesterday that Darktable OpenCL is now successfully working atop this driver.


The Darktable RAW photography software has an optional OpenCL-accelerated path that can now be used with Mesa's Rusticl.


Rusticl is proving to be quite robust and will hopefully end up working for a lot more workloads than the stagnate "Clover" OpenCL Gallium3D state tracker. Rusticl still needs to be merged to mainline, but that too will happen hopefully in the near future.

Yeah... I have like 90 patches on that MR which touch mesa code, so I think I need a solution for those first :)

Some of that is already inside MRs, but not all.

โ€” ๐Ÿง๐Ÿง๐Ÿงkarolherbst๐Ÿ’‰๐Ÿ’‰๐Ÿ’‰ (@karolherbst) May 5, 2022

Herbst added that there still are around 90 patches touching Mesa code that need to be taken care of before introducing all the new Rusticl code itself. The draft MR for Rusticl in its current form amounts to around 14k lines of new code.