There’s an issue that I can’t quite wrap my head around. In a nutshell, opening any RAF image with any recent version of RT takes about a minute. Pre-processing takes half a minute, and then RT spends another half a minute applying capture sharpening.
I can sort of replicate that with other file types like NEF and CR2 in terms of slow capture sharpening. But def not the demosaicing etc. stage.
I don’t see the same issue in other applications (darktable, Filmulator). DT opens almost instantly, Filmulator takes more time, but well below what RT does. I also know from another person that RT loads my files very fast on his computer. So I’m really at loss here. What could be the reason?
So, this should not be happening, obviously. And I cannot reproduce on my Windows 5.8 and 5.8-dev builds. If this is on macOS, there might be some unresolved performance issues…
I just tried a handfull of RAF files on both 5.8 (appimage) and 5.8 master (self build) and I don’t encounter any speed difference compared to other RAW formats.
I have a few 51 MP RAWs from a GFX 50[R|S] and those take 2 - 3 seconds to load on my box (starting point: emptied my cache directory, and I cleared all edits). “Normal” sized RAFs (+/-24 MP) load within a second. Development does seem to be a tiny bit slower.
My machine isn’t a powerhouse, although I do have a nice graphics card:
Processor : AMD Ryzen 5 3600 6-Core Processor
Graphics card : GeForce RTX 2060 SUPER 7979 MiB
Memory : 32 Gb + 15 Gb Swap
OS : Linux (kernel 5.8.10-1)
Distro : Debian Buster (rel. 10.7)
EDIT: Just realized that the above doesn’t mean all that much without knowing what is in my auto applied base profile:
Hi @prokoudine
My laptop has similar specs as yours (same i5-7200U CPU, I just upgraded it from 8 to 16GB RAM) and it runs a Manjaro distro. But on my laptop RT is snappy, it loads your provided RAF in less than 5 seconds (from decoding to applying the default profile which has capture sharpening turned on). Same with other RAFs from my own camera (X-T2). So, there’s definitely something going on on your system, but I don’t know what…
I’ve seen continuous high loads, impacting overall performance due to this.
While setting up a dual RawTherapee system (development and stable) I somehow temporarily mixed and matched my RT cache directories (never cleaned them before this). After that the stable version saw this high, continuos load. After cleaning out both cache dirs (did this by hand, not the option in the preferences) all was back to normal.
Just in case, on Linux that would be: ~/.cache/RawTherapee
It sounds like debug build was your primary problem, but for others who might encounter issues, I’ve learned the hard way even on a machine with 16GB RAM that starting to work with RT when Chrome has too many tabs open leads to nasty swap thrashing.