Processor @ 100% for several minutes whilst saving files

Can you share a problematic image file and the corresponding XMP sidecar? If you make heavy use of some modules, and prices high-resolution files (profiled denoise, diffuse or sharpen on 100 Mpx images), without a graphics card, it may even be realistic to have such long processing times.

1 Like

non one can answer this question if you canā€™t provide a log file when running into issues ā€¦

Have you tried disabling OpenCL if it is activated?

You most definitely should stop a running instance of darktable before starting another instance (as you try to do with that command line). So yes, stop the running instance, wait a few seconds (5-10) and run the command line.

Darktable only allows one instance to run with a given database (otherwise, corruption of that database is almost guaranteed). Note that, after stopping the program, it can take a few seconds for the lock to be freed.

Something else: if the processor gets locked at 100%, that suggests to me thereā€™s no GPU used. Either you donā€™t have one, or you have other programs running that use a lot of GPU. If you also use calculation-intensive modules like ā€œDiffuse or Sharpenā€, export will take time.
But really diagnosing the problem will require the requested log file.

or perhaps strange export settings? can you provide a picture of them?

Hello everone,

Thank you all for your help here.
I tried to continue communicating lat night, but I kept getting a message like:
ā€œYouā€™ve posted too many posts today! Thanks for your enthusiasm!
Because itā€™s your first day, you have limited replies availableā€

Very odd, as itā€™s NOT my first day and not even my first post!
And clearly such a restriction is highly problematic if weā€™re in the middle of a diagnosisā€¦!

I managed to close darktable, then use the suggested CMD line prompts, which appeared to open it again.
(Do I have to open DT everytime using this method, if I want to log any errors that occurā€¦?)

I then attempted to save an edited photo.
Not much done to it: cropping, sharpening, vignetting, a bit of blurā€¦
Nothing processor intense (as far as I can tell).

The laptop went to 100% CPU and stayed there.
I went and got myself and the kids ready for bed, and came back about 45 minutes later.
It was STILL locked up @ 100% CPUā€¦!?!

I had to close the program and Force Quit the DT process, as it was still running even after closing the program window.

I wanted to have DT manage to complete a saving of a file, in order to have a full log for diagnosis. But I couldnā€™t wait any longer, as we had to get to bed.

When I checked the log file in the bin folder, it indeed had data!
Iā€™ll attach it here.

Iā€™ll also attach the DT reference file for the photo that caused it to lock up for 45+ minutes, in case that can tell you anything.
darktable-log.txt (136.4 KB)
DMGP5157.JPG.xmp (24.3 KB)

Please tell me what I should do next, to assist in your very kind and much appreciated diagnostic assistance.

My export settings are bog-standard:
JPEG (8-bit) @ 90 -95% compression
chroma subsampling: auto
set size: by scale (file) @ 1 (I tried altering this and it made no difference, just larger files)
upscaling: no
high Q resample: yes (I tried it with this set to No and it made no difference)
profile: image
intent: image
style: none

Iā€™m running the Task Manager to see the CPU workload level & RAM usage.
Memory seems to be around half used of the 16GB, so plenty available.
Disc usage is non-existant, 0%

The laptop doesnā€™t have a separate graphics card / processor, nor does my 7 tower.
As far as Iā€™ve been aware, this is only needed for live video rendering, like video editing or on-line gaming, neither of which occur with these machines.

Iā€™ve never been aware that a graphics card makes any difference when working with still images, as the video output is stationary, so thereā€™s nothing for it to do.

The laptop is running an extension monitor via its VGA output, if that makes any difference.
And my 7 tower runs 2 monitors, one via VGA & one via the digital video output.

But again, Iā€™ve never heard of such things affecting the CPUā€™s ability to process / save JPEG filesā€¦

Are you editing a jpg? I think we had a bug in the blurs module (fixed in the release next week). Your log is only 70sec long and it ends at the blur module. Can you disable that module and export again?

Can you share the jpg?

Hi G-Man,

Yes,I edit from JPEG source files (long story, but RAW files donā€™t seem to help me atall).
They are set to max size c.12MB per photo.

Yes, Iā€™ve gotten into using Blur.
I try to get focal / depth of field blur using prime lenses with the iris wide open, but I still often get undesired object fighting for attention in the frame.

Hence my use of the Blur function in darktable.

Iā€™ve just tried to save the photo without Blurā€¦ And voila!
Itā€™s saved normally!

The other photos last night didnā€™t need any Blur functionā€¦!

I think youā€™ve cracked it, Sir!

When will the new version of DT (with working JPEG-sourced Blur) be available?
Is it DT version 5ā€¦?

Iā€™ve also noticed that DT 4.8.1 saves my photoā€™s original metadata without any problem, whereas my 3.8.1 wasnā€™t doing it, so thatā€™s another of my problems fixed as wellā€¦

Will darktable now record any errors into its log file, now Iā€™ve opened it once via the CMD window?

Will I have to do the same thing for DT v5ā€¦?

Will adding extra crop aspect ratios be the same process as before?
(Finding the hidden darktablerc file in the usersā€™ folder(s)ā€¦?

Winter solstice is the release date.

For the log to work, you have to start dt from the command line with the -d parameter.