5.0 Windows 11 with CR3 files

The OS reports having 6gb of memory. The iGPU says 4gb. And you reported 8gb of memory. Something is not right

Also, I don’t think this is the default setting:

[opencl_init] opencl_mandatory_timeout: 1000

Hello

“[opencl_init] opencl_mandatory_timeout: 1000”. I did not change that. I don’t know what it is.

I have 2x4GB hardware. This is what Windows settings says: “8,00 GB (5,93 GB beschikbaar)” “beschikbaar” is available in dutch.

DT 5.0 crashes on CR3 files with OpenGL with “Use all GPU memory” deactivated.

DT 5.0 runs on CR3 files with OpenGL with “Use all GPU memory” activated.

That 's it.

So I will look into “darktable user manual - memory & performance tuning” if DT crashes again.

Thanks again

The 2GB are for the IGPU

The IGPU setting was done in the BIOS

8 GB isn’t much, especially not when shared with the GPU.
Also, those integrated GPUs are often not worth the trouble of using a GPU (there is an overhead), so can be blacklisted.

That setting of “use all GPU memory” is known to be “dangerous” in that you can run into trouble when other programs use the GPU as well.


Something completele different: could you please try and edit your posts, instead of just adding another one for one line?
You can edit your post by clicking on the “pencil” icon in row at the bottom

I am rather new to this platform. So that’s why i wrote multiple replys. I do not use other graphic apps at the same time. If DT needs more than 6GB just document it.

The question of memory is a tricky one.
My old machine had 4 GB of RAM, and the same graphics card that I still use: an Nvidia 1060 with 6 GB on board. Sometimes, I would get OpenCL errors because the main memory was running low (you may find it on the forum, I don’t remember if it was discussed here or on IRC with the developers, or on Github). Before that, I had another Nvidia card with 2 GB, that sometimes became very slow due to tiling.

Well, you do connect a display to your computer, right? Of my 6 GB of video RAM, more than half a GB is eaten my the operating system and the browser (note the 722MiB / 6144MiB entry in the table below):

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.127.08             Driver Version: 550.127.08     CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1060 6GB    Off |   00000000:06:00.0  On |                  N/A |
|  0%   52C    P8              7W /  120W |     722MiB /   6144MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

It does not need 6gb. But it seems like your system has a memory management issue. Like the iGPU and the system could both be trying to use the same memory locations. I’m just speculating because the reported memory doesn’t align with the system.

Using the all memory feature is basically turning off the memory safety features we have in dt (aka risky). I’m advocating hiding that feature for future releases. If you are happy with your setup, then let’s not look into this anymore.

I understand but I don’t play games and edit RAW-files at the same time. My browser is closed because I like to concentrate myself on editing that file.
Please document a minimum hardware configuration and do not take the blame on hardware. Putting an option for using all the available GPU-memory in settings, means that you support it. If not, take it out.

I really admire what you are doing on DT. It is really amazing. Thanks

Putting an option for using all the available GPU-memory in settings, means that you support it. If not, take it out.

  • darktable is in constant evolution; some options are temporary;
  • to ask something from the developers, please raise a feature request on Github; the developers do not have time to read all posts on the forum;
  • while feedback is appreciated, when phrased in a manner like Putting an option for using all the available GPU-memory in settings, means that you support it. If not, take it out. might not motivate developers, who work in their free time, without being paid for it.

Sorry that I wrote it that strong

We do support it, given that you have adequate hardware. You do not have adequate hardware. We do give uses enough rope to either weave a bridge to where they want to be or hang themselves.

We have, for a while, recommended 8GB RAM as the minimum. Your system doesn’t meet that if you’re reserving 2 of 8gb for your igpu. Will DT run on less than 8gb of ram? Sure, but less than 8 GB is pretty thin for image processing, let alone your whole OS and image processing.

Someone new to the forum may not be aware of that. The manual mentions 4 GB, with additional RAM only making things faster:

All in all, darktable requires at least 4GB of physical RAM plus 4 to 8GB of additional swap space to run but it will perform better the more memory you have.
(memory requirements)

requires isn’t the same as recomended :wink:

So what is it? Try to be clear. I don’t mind when it is slow. I (a pensioner) have time enough. Please update the manual if that is necessary.

But crashing is has nothing to do with this. Half of december I installed a new version of Adrenaline and checked DT 4.8 with OpenCL on a DNG file. Everything was okay. I should have checked it on a CR3 file then. Now 2 weeks later 5.0 is crashing with the same settings. Fortunately “Use all GPU memory” helps.
Adrenaline is the cause but DT has an escape.

If your driver is causing a crash, there isn’t much you can do but disable openCL.

I personally never felt that iGPU gave enough of a boost to make it worth fiddling with drivers, but that’s just me.

I don’t think setting this to 2GB makes any sense. It just takes a quarter of your precious ram just for a video device.

You also seem to have somehow given 4GB of ram to opencl. Leaving 2GB for all the rest.

You will definitely run into deep troubles sooner or later, for darktable this means it will definitely not find enough ram and must hope the OS keeps alive with swapping.