darktable icon indicating copy to clipboard operation
darktable copied to clipboard

Darktable freezes on large imports

Open artichoked1 opened this issue 1 year ago • 2 comments

Describe the bug

When I import large amounts of files (about 500-800 dual nef/jpeg), darktable will freeze when I go from grid layout to culling layout.

My computer should be more than enough to handle this - ryzen 5 5600x, rx6600, 32gb RAM, ssd storage. The same happens when i try to load of a microsd card with a usb 3.0 reader. Kind of disappointing for a program who's sole job is to sort and process images.

I'm using darktable 4.4.2 (installed through apt) on Ubuntu 23.10 using GNOME on Xorg.

Steps to reproduce

  1. Boot up darktable
  2. Import a bunch of photos
  3. Wait for the thumbnails to generate
  4. Select an image and go into fixed or dynamic culling mode
  5. The program freezes and the gnome "program isnt responding" dialogue pops up. If I wait a while, the program will eventually load the image and continue as normal.

Expected behavior

darktable should run normally

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

distro packaging

darktable version

4.4.2

What OS are you using?

Linux

What is the version of your OS?

Ubuntu 23.10

Describe your system?

GNOME 45.2 on xorg

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

AMD Radeon RX 6600

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

artichoked1 avatar May 27 '24 08:05 artichoked1

My average import is ~1500 raws and I haven't seen this problem.

Are you importing from an existing folder or doing a copy and import from an SD card or external drive?

wpferguson avatar May 27 '24 16:05 wpferguson

  1. Also there have been numerous fixes related to mem consumption for pixelpipes since 4.4
  2. I dt is still importing while opening an image in darkroom it will do so after the thumbnail pipelines have finished. (if you generate thumbs from raw and possibly have modules automatically switched on that could take a time) If using OpenCL that could also depend on your sheduler setting.

jenshannoschwalm avatar May 27 '24 17:05 jenshannoschwalm

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Aug 27 '24 00:08 github-actions[bot]

Closing as incomplete and no further information was given.

jenshannoschwalm avatar Aug 27 '24 06:08 jenshannoschwalm

I tried importing *.jpg and *.dng files from the DCIM directory of my phone connected through the best USB C cable and plug I have: same symptom, no response and Linux dialog popup to forcefully crash darktable. I had to copy files in a local directory first, then import in darktable.

gauvinalexandre avatar May 14 '25 19:05 gauvinalexandre