For years, version after version of DT, I have been getting this erratic blacking out of all or parts of my photos in DT…randomly!
It isn’t occasional. It is pretty much every session. I am getting sick and tired of it.
If I open any one image in develop, it may look fine, or may be partly blacked out too, not even the same areas blacked out as in lighttable mode. There is no consistency to it.
I’m really not sure if it could be helpful, but if you haven’t try yet, maybe you could try to pre-generate the thumbnails for your collection in one run instead of letting darktable doing it slowly in the background.
To do so, you just have to run the darktable-generate-cache command in a terminal (on a mac, locate darktable in the application folder, then show the content of the package and then look in the MacOS folder) : darktable 3.8 user manual - darktable-generate-cache
Possibly you should set a memory limit for tiling. Actually you allow modules to request memory of unlimited size. Default is 1500 MB.
Did you try launching dt with an empty config folder and an empty cache? With all it’s default settings? Do the problems still exist in this case?
Can’t look into the logfile at the moment, back on my computer tomorrow.
OK I have turned on OpenCL and set tiling limit to 1500 MB of memory, restarted the Mac and…it is still there, but on first glance there is less of it? That’s promising. Unless it starts to build up the more I use it.
If you select a raw file that has a black thumbnail, go into darkroom mode, make a small change, then go back to light table, is the thumbnail still black?
You can try running /Applications/darktable.app/Contents/MacOS/darktable-generate-cache in a terminal, with darktable closed. That should regenerate your cache with the updated darktable settings.
Frequent hangups or crashes of the application may also damage your database and/or config files.
You told us that your issue exists for years. This means that you may have messed up a lot due to errors and crashes. To check if your basic installation of dt is ok and if it is working trouble-free with default settings, I would strongly recommend to launch dt with empty config (without your databases and settings) and a complete empty cache (see darktable 4.6 user manual - darktable , switches --configdir and --cachedir).
Then import and edit some images and look what happens.
Yes, I think so. That is why I recommend starting with an empty cache.