Darktable/OpenCL optimizations for medium/high DPI displays for interactive image editing

@anon41087856 this sounds great!

During the tests I did notice that scroll-zoom takes a lot longer to produce a result than using the darkroom’s zoom shortcut (alt-1)

To summarize the small changes I’ve done so far to speed things up in for interactive editing:

  • using OpenCL profile = Very Fast GPU

  • switch profiled-denoise to wavelets

  • switch local-contrast to Bilateral - this helped a lot with DT 2.6. WIth the AMD ROCM opencl driver, Local Contrast in laplacian mode has a problem and needs to be forced to use CPU instead of GPU - DT’s kernel triggers a bug in the driver [1] (or perhaps it is buggy itself); during perf testing I could see that local-contrast is very much compute intensive and letting it use GPU makes a difference, hence back to Bilateral as in the old days.

  • … and let’s wait for the DT2.7 improvements being driven by Aurelien :slight_smile: - until then it helps to zoom-in with Alt-1 and then pan using the navigation window rather than scroll-zoom. Here’s a feature request that will help avoid having to pan so often [2]

[1] https://redmine.darktable.org/issues/12423

[2] https://redmine.darktable.org/issues/10779

1 Like