I’m running darktable 5.0.0 on a Mac Pro (2013) with dual AMD FirePro D500 GPUs with 3 GB of VRAM each. The GPUs are identical, but only one is connected to the displays. Most software only takes advantage of the GPU with the display engine. darktable is able to use both, and it makes a difference in performance. Kudos to the developers. But I’d like to squeeze even more performance out of that 2nd GPU.
Since one GPU isn’t involved in display refresh, I’d like to be able to set the micronap parameter to 0 on that card. But there’s only one set of OpenCL parameters for both GPUs. I don’t see a way to do this in the darktablerc file. The forced VRAM headroom parameter is per GPU, and for that GPU is correctly set to 1. It would be nice to be able to set micronap independently for the two GPUs as well.
I realize these “trashcan” Macs are obsolete and no longer supported by Apple, so I don’t blame the developers for ignoring this special case. And I imagine the performance improvement is minimal. But if I’m missing a setting somewhere in the darktablerc file, please let me know.
Tangentially related, why is OpenCL disabled by default on this platform, and why is opencl_mandatory_timeout set to 200 when the documented default is 400? Or are these settings carried over from the darktablerc file for the previous darktable release?
darktable seems to be unable to properly decide if gpu processing is more performant than cpu processing on apple devices - so it disables opencl.
If you run darktable-cltest from terminal then both cards should be identified resulting in two cldevice_v5_xxx= lines in .config/darktable/darktablerc.
(see darktable user manual - memory & performance tuning)
if not, then then please report the result of darktable-cltest and create an issue report at github. Then a developer might help to find a proper solution.
Since the developers doesn’t have access to a trashcan (the most active opencl developer even doesn’t have access to a mac) no one is ignoring something
As I said, I recognize this is an obsolete machine, and it’s unlikely there are many users on any platform with identical twin GPUs. I’m just looking to squeeze a little more speed out of this antique. The fact that darktable works so well already (once OpenCL is enabled) is a testament to the developers’ hard work. And thanks to @MStraeten in particular for supporting users of antique Macs with the builds for older OS versions!