OpenCL in darktable using Linux on Silicon Mac via UTM

Has anybody tried to install any Linux in UTM? Were you able to use OpenCL acceleration in darktable?

May I ask what the use case is? I know for a fact that the stable 4.4.2 build hasn’t been working correctly on macOS, but there are ARM64 builds that @MStraeten has been providing for macOS in this thread:

I understand why you would want to do this. Based on this documentation from Apple, it states the following with regard to Apple silicon:

  • OpenCL is deprecated, but is available on Apple silicon when targeting the GPU. The OpenCL CPU device is not available to arm64 apps.

If it isn’t supported at the hardware level, it’s probably not going to be possible to run it in UTM unless there’s an implementation that I’m not aware of.

OpenCL works fine with native macOS builds as well for x86_64 as for arm64. Just enable it and enjoy the Speed increase :wink:

2 Likes