darktable-org / darktable-org/darktable

Encountering strange freezes

Open
#19,965 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

no-issue-activity
Dominant language
C
Stars
13.1k
Forks
1.4k
Avg merge
22h 14m
Merged PRs (30d)
198

Description

Is there an existing issue for this?
  • I checked and did not find my issue in the already reported ones
Describe the bug

I have been trying out Darktable to consider switching eventually switching from Rawtherapee due to the much faster development pace here but I am running into loads of stability issues. The user interface seems to soft-freeze in some strange way where tooltips still work but I can't click on anything (and Gnome does not report the app as not responding, most notably). The issue has been noted both on 5.2 using the Flatpak version (without OpenCL because of it not working there) and using the 5.4 AppImage with OpenCL. How long it takes for the freeze to happen depends but it seems to happen once I start editing. Sometimes it even freezes when trying to load an image from the lighttable.

Steps to reproduce
  1. Open Darktable
  2. Import a list of CR2 files
  3. Start editing a file
  4. Notice that the user interface freezes with working...
Expected behavior

Should not freeze

Logfile | Screenshot | Screencast

The only potentially relevant in the terminal output is this:

** (darktable:62458): WARNING **: 15:07:50.326: atk-bridge: get_device_events_reply: unknown signature

The following screencast (sorry for the lack of pointer) shows how it stops responding to clicks after a while (but dropdown menus still can be clicked and tooltips are shown):
https://github.com/user-attachments/assets/9fd033a6-6f3f-4ea0-aca6-e855d2b8b31e

Commit

69693f9b1054c646762733ba5c434c3892935432

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

darktable 5.4.0

What OS are you using?

Linux

What is the version of your OS?

Fedora Silverblue 43

Describe your system
Image
Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Intel Arc Graphics as built in to the 155H cpu. Driver isintel-compute-runtime available in the Fedora repo. However, as noted above, this was also the case without OpenCL in 5.2 through Flatpak.

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

Likely not OpenCL related as noted above. Seems like a deadlock on some thread but some kind of UI thread is still alive responding to stuff?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the freeze in darktable 5.4 with imported CR2 files, editing, and lighttable loading on Fedora Silverblue; compare the OpenCL and non-OpenCL setups and review the terminal warning alongside the screencast. Done means the cause is isolated and the reported workflow no longer freezes.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
desktop
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.