darktable-org / darktable-org/darktable

OpenCL (NVidia) crash with two masked agx instances

Open
#19,890 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

no-issue-activity OpenCL
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 was processing an image with very high dynamic range and tried applying 2 masked instances as a weird experiment (the 1st parametric on the g channel, the 2nd using an inverted raster mask from the 1st). After a while, while adjusting parameters, darktable crashed.
pixelpipe_hb.c -> opencl.c -> libnvidia-opencl.so.1 -> <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6

Steps to reproduce

Not clear. Crash only happened after a while.

Expected behavior

No response

Logfile | Screenshot | Screencast

last-few-seconds-of-console-output.txt
darktable_bt_BU52G3.txt

DSC_0856-with-2-agx-instances.NEF.xmp.txt

DSC_0856.NEF is in this post: https://discuss.pixls.us/t/filmic-when-to-use/13250 (the backlit ladies)

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.3.0+950~g8f05fbc64b

What OS are you using?

Linux

What is the version of your OS?

Ubuntu 25.10

Describe your system

Wayland

Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

NVidia 1060/6GB with Nvidia 'server' driver 580.95.05 (the regular driver does not support the 1060).

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

No response

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

Start by reviewing the attached darktable_bt_BU52G3.txt, last-few-seconds-of-console-output.txt, and DSC_0856-with-2-agx-instances.NEF.xmp.txt, then trace the reported pixelpipe_hb.c and opencl.c paths. Try to narrow the crash using the two masked instances and the listed NVIDIA driver environment. Done means establishing a reproducible failure or a supported diagnosis from the supplied evidence.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.