Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Export JPG if image has Blurs module active #17569

Open
Dero99 opened this issue Sep 30, 2024 · 9 comments
Open

Unable to Export JPG if image has Blurs module active #17569

Dero99 opened this issue Sep 30, 2024 · 9 comments
Assignees
Labels
OpenCL Related to darktable OpenCL code

Comments

@Dero99
Copy link

Dero99 commented Sep 30, 2024

Describe the bug

Processed Image, using Blurs and Darktable crashes. Using History, go before Blurs applied, Exports OK.
Apple Problem Report:
Process: darktable [1081]
Path: /Applications/darktable.app/Contents/MacOS/darktable
Identifier: org.darktable
Version: 4.9.0 (4.9.0.331)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2024-09-30 09:39:33.7261 -0700
OS Version: macOS 15.0 (24A335)
Report Version: 12
Bridge OS Version: 9.0 (22P353)
Anonymous UUID: BD2BA9FA-C8A7-ED35-D381-480CDE321C7C

Time Awake Since Boot: 540 seconds

System Integrity Protection: enabled

Crashed Thread: 1 Dispatch queue: opencl_runtime

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: darktable [1081]

Application Specific Information:
abort() called

Application Specific Signatures:
Graphics hardware encountered an error and was reset: 0x00000002

Launched Darktable via Terminal:
% /Applications/darktable.app/Contents/MacOS/darktable -d all

34.5527 [masks] render all masks took 0.0249 sec
34.5540 blend with form CL0 [export] blurs ( 0/ 0) 2137x2601 scale=1.0000 --> ( 0/ 0) 2137x2601 scale=1.0000 IOP_CS_RGB, BLEND_CS_RGB_SCENE, inverted, form available and rendered
34.5541 [opencl memory] device 0: 223906884 bytes (213.5 MB) in use, 639.8 MB available GPU memory, 1536.0 MB global GPU mem size
49.7334 [opencl memory] device 0: 246273092 bytes (234.9 MB) in use, 639.8 MB available GPU memory, 1536.0 MB global GPU mem size
49.7334 [opencl memory] device 0: 268639300 bytes (256.2 MB) in use, 639.8 MB available GPU memory, 1536.0 MB global GPU mem size
zsh: abort /Applications/darktable.app/Contents/MacOS/darktable -d all

Steps to reproduce

Enable Blurs, Crash on Export, deselect Blurs, Export success

Expected behavior

No response

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

downloaded from www.darktable.org

darktable version

4.9.0+621~gf737cc4fdd and version two weeks earlier

What OS are you using?

Mac

What is the version of your OS?

MacOS 15.0

Describe your system?

Mac mini Intel

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Apple

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

No response

@ralfbrown
Copy link
Collaborator

Actual crash or just stopped responding? What radius have you set for the blur? Blurs gets extremely slow at large radii because each doubling of the radius quadruples the compute.

@Dero99
Copy link
Author

Dero99 commented Sep 30, 2024 via email

@ralfbrown ralfbrown added the OpenCL Related to darktable OpenCL code label Sep 30, 2024
@jenshannoschwalm jenshannoschwalm self-assigned this Oct 1, 2024
@jenshannoschwalm
Copy link
Collaborator

@Dero99 could you provide a screenshot of your mask settings? Details threshold or guided filter active?

As your OpenCL memory is pretty small i suspect there is a bug in our code calculating the mem requirements for blending. A proper log (-d pipe -d opencl) would also be helpful.

@Dannny1
Copy link

Dannny1 commented Oct 2, 2024

Maybe not related but on Linux i also noticed issue with blurs and intel opencl, the export doesn't finish on some images if blurs is used. It's ok on cpu and it's ok with nvidia opencl. I might create separate report once i will figure out the exact conditions.

@Dero99
Copy link
Author

Dero99 commented Oct 2, 2024 via email

@jenshannoschwalm
Copy link
Collaborator

... Still missing a screenshot of the module's blending parameters like
Bildschirmfoto vom 2024-10-02 17-15-33 or provide details otherwise.

@Dero99
Copy link
Author

Dero99 commented Oct 2, 2024 via email

@Dero99
Copy link
Author

Dero99 commented Oct 2, 2024

Screenshot 2024-10-02 at 9 16 54 AM

@jenshannoschwalm
Copy link
Collaborator

From your log the module should not do the processing of the blur module with blending on the GPU, there is certainly not enough memory. Investigating ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OpenCL Related to darktable OpenCL code
Projects
None yet
Development

No branches or pull requests

4 participants