Git Product home page Git Product logo

Comments (27)

gpagnon avatar gpagnon commented on August 17, 2024 1

I don't get the issue. So export is fine, the issue is only visible in darkroom? Then we need the -d pipe output while opening in dr. Maybe also --dump-pipe diffuse. Can you see the issue with 'toggle high quality processing' = on ?

For me (OP) the problem is in the export not in the visualization in dt. Also, please find attached the two log files obtained with with "darktable -d opencl -d pipe" (and, yes, "local contrast" of the DoS module was enabled).

thanks for looking into this

new_log_fuji_raf.log
new_log_ricoh_dng.txt

from darktable.

zisoft avatar zisoft commented on August 17, 2024

Can you share the RAWs + XMPs so I can try to reproduce on my Intel Mac.

from darktable.

gpagnon avatar gpagnon commented on August 17, 2024

Well, it seems that I can't just attach raw files (or even their xmp) here...

from darktable.

ptilopteri avatar ptilopteri commented on August 17, 2024

you can put them on a file sharing service and provide the url here.

from darktable.

gpagnon avatar gpagnon commented on August 17, 2024

could you suggest one? I normally use WeTransfer, but the link is sent automatically to an email address

from darktable.

ptilopteri avatar ptilopteri commented on August 17, 2024

why don't you have the link sent to you and then copy/post it here

there is also google drive and many others. google can provide a list.

from darktable.

jenshannoschwalm avatar jenshannoschwalm commented on August 17, 2024

We would likely want a first check, are issues related to CL compiler optimizing flag?

from darktable.

gpagnon avatar gpagnon commented on August 17, 2024

Ok, so here's a WeTransfer link to download the files:

https://wetransfer.com/downloads/2b0e90717e940da0d088c93c53da02e320240228130328/c182137df49c263a8f5e9d93b6bcef5c20240228130344/16dff5?trk=TRN_TDL_01&utm_campaign=TRN_TDL_01&utm_medium=email&utm_source=sendgrid

from darktable.

jenshannoschwalm avatar jenshannoschwalm commented on August 17, 2024

@gpagnon could you open the darktablerc file, locate the line with '-cl-fast-relaxed-math' and remove that string. Then clear all compiled kernels and restart darktable? (That would mean you don't have the opencl compiler doing some maths optimizations) We had some problems with intel devices some time ago on linux ...

from darktable.

zisoft avatar zisoft commented on August 17, 2024

When working with these two files darktable crashes on line 1993 in src/common/darktable.c

#elif defined(_DEBUG)
void dt_free_align(void *mem)
{
// on a debug build, we deliberately offset the returned pointer
// from dt_alloc_align, so eliminate the offset
if(mem)
{
short offset = ((short*)mem)[-1];
free(((char*)mem)-offset);
}
}
#endif

from darktable.

gpagnon avatar gpagnon commented on August 17, 2024

from darktable.

jenshannoschwalm avatar jenshannoschwalm commented on August 17, 2024
  1. I tried here with current master on fedore both with gcc and clang compiled and can't reproduce.
  2. @gpagnon I looked at your opencl enabled logfiles. In both logs i do not see the diffuse module being processed!. Could you repeat with darktable -d opencl -d pipe, export the files that don't work for you, close darktable and post the logfile?
  3. @zisoft could you do that too?

from darktable.

zisoft avatar zisoft commented on August 17, 2024

Images exported with the settings described.

First image with log:
dt_1.txt

DSCF0714

Second image:
dt_2.txt

2022-09-25_R0039801

from darktable.

zisoft avatar zisoft commented on August 17, 2024

with some files (I saw it on a Ricoh GR's DNG file) the exported jpg is just an unrecognizable set of stripes

This is the lighttable full screen preview of image 1:

Bildschirmfoto 2024-03-06 um 20 58 49

from darktable.

jenshannoschwalm avatar jenshannoschwalm commented on August 17, 2024

I don't get the issue. So export is fine, the issue is only visible in darkroom? Then we need the -d pipe output while opening in dr. Maybe also --dump-pipe diffuse. Can you see the issue with 'toggle high quality processing' = on ?

from darktable.

zisoft avatar zisoft commented on August 17, 2024

The issue with the stripes is only in lighttable full preview (F).

Opening in darkroom gives this:

Bildschirmfoto 2024-03-06 um 21 46 38

And switching 'high quality processing' on:

Bildschirmfoto 2024-03-06 um 21 47 05

Log with -d pipe --dump-pipe diffuse:
dt.txt

from darktable.

gpagnon avatar gpagnon commented on August 17, 2024

from darktable.

jenshannoschwalm avatar jenshannoschwalm commented on August 17, 2024

Again, while exporting the diffuse module does not appear in the pixel pipe being processed.

from darktable.

gpagnon avatar gpagnon commented on August 17, 2024

I am not sure why, I can assure you the diffuse module is active (and its effect is visible within dt):

image

from darktable.

jenshannoschwalm avatar jenshannoschwalm commented on August 17, 2024

I think the log problems have been solved lately in master, from my current understanding we might have similar clmem management "problems" like when using the rusticl driver here. There is #16436 pending, could you test again after that has been merged?

from darktable.

fcoiffie avatar fcoiffie commented on August 17, 2024

Same problem on export with Darktable 4.6.1 + Linux Gentoo + OpenCL (NVdidia GPU + AMD CPU) : disabling local contrast in "Diffuse or Sharpen" module solves the problem

from darktable.

jenshannoschwalm avatar jenshannoschwalm commented on August 17, 2024

@fcoiffie could you share a logfile with -d opencl -d tiling -d pipe ?

from darktable.

jenshannoschwalm avatar jenshannoschwalm commented on August 17, 2024

Ok, can reproduce "some issue" on nvidia/fedora - sounds this could be the underlying "relevant thing"

  1. reproduce via --conf resourcelevel="notebook" to enforce tiling
  2. use "toggle hq processing" = on (to process full data)
  3. it's not the specific preset but related to large values of the radii. darkroom canvas stays black

from darktable.

fcoiffie avatar fcoiffie commented on August 17, 2024

@fcoiffie could you share a logfile with -d opencl -d tiling -d pipe ?

darktable.log.gz

from darktable.

jenshannoschwalm avatar jenshannoschwalm commented on August 17, 2024

@zisoft @fcoiffie could you recheck this on current master? If still failing please share a -d pipe -d opencl log ...

from darktable.

zisoft avatar zisoft commented on August 17, 2024

Looks good! Made several tests now and could not reproduce the issues anymore.

from darktable.

jenshannoschwalm avatar jenshannoschwalm commented on August 17, 2024

Seems to be fixed in master so closing for now.

from darktable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.