darkroom shows half of the image black/corrupted

I’m running darktable on Fedora 38, Wayland, OpenCL enabled with amdgpu and rocm. Sometimes the image displayed with the half completely black, or corrupted sometimes. Screenshot shown below.

Running with darktable -d opencl shows nothing noticeable to my eye, but I attached nonetheless,

[dt_get_sysresource_level] switched to 3 as `unrestricted'
  total mem:       32000MB
  mipmap cache:    4000MB
  available mem:   512015MB
  singlebuff:      32000MB
  OpenCL tune mem: OFF
  OpenCL pinned:   OFF
[opencl_init] opencl related configuration options:
[opencl_init] opencl: ON
[opencl_init] opencl_scheduling_profile: 'very fast GPU'
[opencl_init] opencl_library: 'default path'
[opencl_init] opencl_device_priority: '*/!0,*/*/*/!0,*'
[opencl_init] opencl_mandatory_timeout: 400
[opencl_init] opencl library 'libOpenCL.so.1' found on your system and loaded
[opencl_init] found 1 platform
[opencl_init] found 1 device

[dt_opencl_device_init]
   DEVICE:                   0: 'gfx803'
   CANONICAL NAME:           gfx803
   PLATFORM NAME & VENDOR:   AMD Accelerated Parallel Processing, Advanced Micro Devices, Inc.
   DRIVER VERSION:           3513.0 (HSA1.1,LC)
   DEVICE VERSION:           OpenCL 1.2 
   DEVICE_TYPE:              GPU
   GLOBAL MEM SIZE:          4096 MB
   MAX MEM ALLOC:            3482 MB
   MAX IMAGE SIZE:           16384 x 16384
   MAX WORK GROUP SIZE:      256
   MAX WORK ITEM DIMENSIONS: 3
   MAX WORK ITEM SIZES:      [ 1024 1024 1024 ]
   ASYNC PIXELPIPE:          NO
   PINNED MEMORY TRANSFER:   NO
   MEMORY TUNING:            NO
   FORCED HEADROOM:          400
   AVOID ATOMICS:            NO
   MICRO NAP:                250
   ROUNDUP WIDTH:            16
   ROUNDUP HEIGHT:           16
   CHECK EVENT HANDLES:      128
   PERFORMANCE:              2.719
   TILING ADVANTAGE:         0.000
   DEFAULT DEVICE:           NO
   KERNEL DIRECTORY:         /usr/share/darktable/kernels
   CL COMPILER OPTION:       -cl-fast-relaxed-math
0.360776 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/demosaic_ppg.cl.bin'!
0.360784 [opencl_load_program] could not load cached binary program, trying to compile source
0.669032 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/atrous.cl.bin'!
0.669043 [opencl_load_program] could not load cached binary program, trying to compile source
0.740212 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/basic.cl.bin'!
0.740224 [opencl_load_program] could not load cached binary program, trying to compile source
2.295851 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/blendop.cl.bin'!
2.295862 [opencl_load_program] could not load cached binary program, trying to compile source
3.163058 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/highpass.cl.bin'!
3.163070 [opencl_load_program] could not load cached binary program, trying to compile source
3.272105 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/nlmeans.cl.bin'!
3.272117 [opencl_load_program] could not load cached binary program, trying to compile source
3.403826 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/gaussian.cl.bin'!
3.403836 [opencl_load_program] could not load cached binary program, trying to compile source
3.525745 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/sharpen.cl.bin'!
3.525757 [opencl_load_program] could not load cached binary program, trying to compile source
3.630556 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/extended.cl.bin'!
3.630567 [opencl_load_program] could not load cached binary program, trying to compile source
4.035870 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/soften.cl.bin'!
4.035881 [opencl_load_program] could not load cached binary program, trying to compile source
4.161002 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/bilateral.cl.bin'!
4.161013 [opencl_load_program] could not load cached binary program, trying to compile source
4.299365 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/denoiseprofile.cl.bin'!
4.299376 [opencl_load_program] could not load cached binary program, trying to compile source
4.545022 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/bloom.cl.bin'!
4.545033 [opencl_load_program] could not load cached binary program, trying to compile source
4.657553 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/colorreconstruction.cl.bin'!
4.657582 [opencl_load_program] could not load cached binary program, trying to compile source
4.779898 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/demosaic_other.cl.bin'!
4.779927 [opencl_load_program] could not load cached binary program, trying to compile source
4.849609 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/demosaic_vng.cl.bin'!
4.849620 [opencl_load_program] could not load cached binary program, trying to compile source
5.092164 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/demosaic_markesteijn.cl.bin'!
5.092176 [opencl_load_program] could not load cached binary program, trying to compile source
5.449282 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/liquify.cl.bin'!
5.449311 [opencl_load_program] could not load cached binary program, trying to compile source
5.519263 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/basecurve.cl.bin'!
5.519273 [opencl_load_program] could not load cached binary program, trying to compile source
5.675633 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/locallaplacian.cl.bin'!
5.675644 [opencl_load_program] could not load cached binary program, trying to compile source
5.985395 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/dwt.cl.bin'!
5.985406 [opencl_load_program] could not load cached binary program, trying to compile source
6.066789 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/retouch.cl.bin'!
6.066800 [opencl_load_program] could not load cached binary program, trying to compile source
6.178351 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/filmic.cl.bin'!
6.178362 [opencl_load_program] could not load cached binary program, trying to compile source
6.759164 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/colorspaces.cl.bin'!
6.759176 [opencl_load_program] could not load cached binary program, trying to compile source
6.873097 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/basicadj.cl.bin'!
6.873108 [opencl_load_program] could not load cached binary program, trying to compile source
6.996477 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/rgbcurve.cl.bin'!
6.996489 [opencl_load_program] could not load cached binary program, trying to compile source
7.093584 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/guided_filter.cl.bin'!
7.093595 [opencl_load_program] could not load cached binary program, trying to compile source
7.219117 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/hazeremoval.cl.bin'!
7.219129 [opencl_load_program] could not load cached binary program, trying to compile source
7.323916 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/lut3d.cl.bin'!
7.323927 [opencl_load_program] could not load cached binary program, trying to compile source
7.445533 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/rgblevels.cl.bin'!
7.445544 [opencl_load_program] could not load cached binary program, trying to compile source
7.538204 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/negadoctor.cl.bin'!
7.538215 [opencl_load_program] could not load cached binary program, trying to compile source
7.591857 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/demosaic_rcd.cl.bin'!
7.591869 [opencl_load_program] could not load cached binary program, trying to compile source
7.927448 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/channelmixer.cl.bin'!
7.927459 [opencl_load_program] could not load cached binary program, trying to compile source
8.125525 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/diffuse.cl.bin'!
8.125536 [opencl_load_program] could not load cached binary program, trying to compile source
8.265546 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/blurs.cl.bin'!
8.265558 [opencl_load_program] could not load cached binary program, trying to compile source
8.320552 [opencl_fopen_stat] could not open file `/home/luke/.cache/darktable/cached_kernels_for_gfx803_35130HSA11LC/bspline.cl.bin'!
8.320562 [opencl_load_program] could not load cached binary program, trying to compile source
   KERNEL LOADING TIME:       8.0237 sec
[opencl_init] OpenCL successfully initialized.
[opencl_init] here are the internal numbers and names of OpenCL devices available to darktable:
[opencl_init]		0	'gfx803'
[opencl_init] FINALLY: opencl is AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is ON.
[dt_opencl_update_priorities] these are your device priorities:
[dt_opencl_update_priorities] 		image	preview	export	thumbs	preview2
[dt_opencl_update_priorities]		0	0	0	0	0
[dt_opencl_update_priorities] show if opencl use is mandatory for a given pixelpipe:
[dt_opencl_update_priorities] 		image	preview	export	thumbs	preview2
[dt_opencl_update_priorities]		1	1	1	1	1
[opencl_synchronization_timeout] synchronization timeout set to 0
[dt_opencl_update_priorities] these are your device priorities:
[dt_opencl_update_priorities] 		image	preview	export	thumbs	preview2
[dt_opencl_update_priorities]		0	0	0	0	0
[dt_opencl_update_priorities] show if opencl use is mandatory for a given pixelpipe:
[dt_opencl_update_priorities] 		image	preview	export	thumbs	preview2
[dt_opencl_update_priorities]		1	1	1	1	1
[opencl_synchronization_timeout] synchronization timeout set to 0
10.706434 [dt_opencl_check_tuning] use 3248MB (tunemem=OFF, pinning=OFF) on device `gfx803' id=0
 [opencl_summary_statistics] device 'gfx803' (0): 1242 out of 1242 events were successful and 0 events lost. max event=48

Is there anyone having a similar experience? Is there some log I can look into to identify the problem? Thanks!

Possibly a problem related to Wayland? There have been several reports about issues with Wayland, in this forum and/or on gihub. Possibly switching to X11 solves the problem?

have you tried viewing it in another program? It could be the file is corrupted.

What version of dt?

darktable -d perf will show performance information. Is the issue always with the same image or random. If random, which GPU is processing the image?

First thing to do is to disable openCL to make sure it is not an openCL driver issue.

Unfortunately it’s impossible for me. I’m much too invested into spin compositor and wayland. The only way to use X11 is XWayland, which doesn’t support any display scaling and things will just be blurry.

The file is fine, it works in Lightroom on Windows without problem. The issue also doesn’t always appear on the same image. It sometimes disappears switching away and back/moving sliders/etc.

I’m running darktable version 4.2.1-2.fc38 from the Fedora repo, with rocm-opencl-5.4.3 as the openCL driver.

The GPU is the AMD Vega M GH (part of the intel 8809G package). It has 4G VRAM so I would assume not a OOM problem.

Here’s the output from -d perf when the last loaded image shows corrupted right half,

179.845264 [dev] took 0.325 secs (0.039 CPU) to load the image.
180.444804 [histogram] took 0.000 secs (0.000 CPU) scope draw
180.463297 [dev] took 0.000 secs (0.000 CPU) to load the image.
180.513744 [histogram] took 0.000 secs (0.000 CPU) scope draw
180.530278 [dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [full]
180.563712 [histogram] took 0.001 secs (0.001 CPU) scope draw
180.572257 [dev_pixelpipe] took 0.042 secs (0.033 CPU) [full] processed `raw black/white point' on GPU, blended on GPU
180.579479 [histogram] took 0.000 secs (0.000 CPU) scope draw
180.581626 [dev_pixelpipe] took 0.009 secs (0.005 CPU) [full] processed `white balance' on GPU, blended on GPU
180.951328 [dev_pixelpipe] took 0.370 secs (1.126 CPU) [full] processed `highlight reconstruction' on CPU, blended on CPU
180.999594 [histogram] took 0.000 secs (0.000 CPU) scope draw
181.028752 [histogram] took 0.001 secs (0.000 CPU) scope draw
181.045867 [histogram] took 0.001 secs (0.001 CPU) scope draw
181.282868 [dev_pixelpipe] took 0.331 secs (0.028 CPU) [full] processed `demosaic' on GPU with tiling, blended on CPU
181.291981 [dev_pixelpipe] took 0.009 secs (0.002 CPU) [full] processed `exposure' on GPU, blended on GPU
181.299238 [dev_pixelpipe] took 0.007 secs (0.001 CPU) [full] processed `input color profile  ' on GPU, blended on GPU
image colorspace transform Lab-->RGB took 0.008 secs (0.003 GPU) [filmicrgb ]
181.323744 [dev_pixelpipe] took 0.024 secs (0.005 CPU) [full] processed `filmic rgb' on GPU, blended on GPU
image colorspace transform RGB-->Lab took 0.007 secs (0.003 GPU) [colorout ]
181.337361 [dev_pixelpipe] took 0.014 secs (0.006 CPU) [full] processed `output color profile' on GPU, blended on GPU
181.358086 [dev_pixelpipe] took 0.021 secs (0.103 CPU) [full] processed `display encoding' on CPU, blended on CPU
181.367902 [dev_process_image] pixel pipeline processing took 0.838 secs (1.313 CPU)
181.420960 [histogram] took 0.000 secs (0.000 CPU) scope draw
181.477717 [dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [preview]
181.480128 [dev_pixelpipe] took 0.002 secs (0.002 CPU) [preview] processed `raw black/white point' on GPU, blended on GPU
181.481137 [dev_pixelpipe] took 0.001 secs (0.000 CPU) [preview] processed `white balance' on GPU, blended on GPU
181.487729 [dev_pixelpipe] took 0.007 secs (0.016 CPU) [preview] processed `highlight reconstruction' on CPU, blended on CPU
181.494350 [dev_pixelpipe] took 0.007 secs (0.000 CPU) [preview] processed `demosaic' on GPU, blended on GPU
181.495622 [dev_pixelpipe] took 0.001 secs (0.001 CPU) [preview] processed `exposure' on GPU, blended on GPU
181.498808 [dev_pixelpipe] took 0.003 secs (0.001 CPU) [preview] processed `input color profile  ' on GPU, blended on GPU
image colorspace transform Lab-->RGB took 0.003 secs (0.001 GPU) [filmicrgb ]
181.514365 [dev_pixelpipe] took 0.016 secs (0.003 CPU) [preview] processed `filmic rgb' on GPU, blended on GPU
image colorspace transform RGB-->Lab took 0.002 secs (0.002 GPU) [colorout ]
181.519582 [dev_pixelpipe] took 0.005 secs (0.002 CPU) [preview] processed `output color profile' on GPU, blended on GPU
181.532433 [dev_pixelpipe] took 0.013 secs (0.026 CPU) [preview] processed `display encoding' on CPU, blended on CPU
image colorspace transform RGB-->RGB took 0.009 secs (0.059 CPU) [final histogram]
181.544527 [histogram] took 0.012 secs (0.066 CPU) final histogram
181.547004 [dev_process_preview] pixel pipeline processing took 0.116 secs (0.191 CPU)
181.595927 [histogram] took 0.002 secs (0.002 CPU) scope draw
184.081821 [histogram] took 0.002 secs (0.001 CPU) scope draw
184.096918 [dev] took 0.000 secs (0.000 CPU) to load the image.
184.146682 [dev_pixelpipe] took 0.007 secs (0.011 CPU) [preview] processed `demosaic' on GPU, blended on GPU
184.150144 [dev_pixelpipe] took 0.003 secs (0.004 CPU) [preview] processed `input color profile' on GPU, blended on GPU
184.162101 [dev_pixelpipe] took 0.012 secs (0.014 CPU) [preview] processed `output color profile' on GPU, blended on GPU
184.177152 [dev_pixelpipe] took 0.015 secs (0.045 CPU) [preview] processed `display encoding' on CPU, blended on CPU
image colorspace transform RGB-->RGB took 0.014 secs (0.062 CPU) [final histogram]
184.194032 [histogram] took 0.017 secs (0.068 CPU) final histogram
184.194533 [dev_process_preview] pixel pipeline processing took 0.098 secs (0.204 CPU)
184.197211 [dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [full]
184.229064 [histogram] took 0.002 secs (0.002 CPU) scope draw
184.232314 [dev_pixelpipe] took 0.035 secs (0.023 CPU) [full] processed `raw black/white point' on GPU, blended on GPU
184.238546 [dev_pixelpipe] took 0.006 secs (0.006 CPU) [full] processed `white balance' on GPU, blended on GPU
184.605963 [dev_pixelpipe] took 0.367 secs (1.146 CPU) [full] processed `highlight reconstruction' on CPU, blended on CPU
184.930250 [dev_pixelpipe] took 0.324 secs (0.025 CPU) [full] processed `demosaic' on GPU with tiling, blended on CPU
184.944865 [dev_pixelpipe] took 0.015 secs (0.002 CPU) [full] processed `input color profile' on GPU, blended on GPU
184.959348 [dev_pixelpipe] took 0.014 secs (0.002 CPU) [full] processed `output color profile' on GPU, blended on GPU
184.981230 [dev_pixelpipe] took 0.022 secs (0.113 CPU) [full] processed `display encoding' on CPU, blended on CPU
184.982070 [dev_process_image] pixel pipeline processing took 0.795 secs (1.331 CPU)
185.484121 [histogram] took 0.002 secs (0.000 CPU) scope draw
185.499453 [dev] took 0.000 secs (0.000 CPU) to load the image.
185.541972 [dev_pixelpipe] took 0.004 secs (0.028 CPU) [preview] processed `display encoding' on CPU, blended on CPU
image colorspace transform RGB-->RGB took 0.010 secs (0.065 CPU) [final histogram]
185.555210 [histogram] took 0.013 secs (0.076 CPU) final histogram
185.555575 [dev_process_preview] pixel pipeline processing took 0.056 secs (0.161 CPU)
185.565152 [histogram] took 0.002 secs (0.003 CPU) scope draw
185.589943 [dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [full]
185.624942 [dev_pixelpipe] took 0.035 secs (0.006 CPU) [full] processed `raw black/white point' on GPU, blended on GPU
185.631545 [dev_pixelpipe] took 0.007 secs (0.000 CPU) [full] processed `white balance' on GPU, blended on GPU
185.995366 [dev_pixelpipe] took 0.364 secs (1.161 CPU) [full] processed `highlight reconstruction' on CPU, blended on CPU
186.356070 [dev_pixelpipe] took 0.361 secs (0.030 CPU) [full] processed `demosaic' on GPU with tiling, blended on CPU
186.365373 [dev_pixelpipe] took 0.009 secs (0.000 CPU) [full] processed `exposure' on GPU, blended on GPU
186.372881 [dev_pixelpipe] took 0.007 secs (0.001 CPU) [full] processed `input color profile  ' on GPU, blended on GPU
image colorspace transform Lab-->RGB took 0.009 secs (0.003 GPU) [filmicrgb ]
186.399989 [dev_pixelpipe] took 0.027 secs (0.007 CPU) [full] processed `filmic rgb' on GPU, blended on GPU
image colorspace transform RGB-->Lab took 0.008 secs (0.002 GPU) [colorout ]
186.415405 [dev_pixelpipe] took 0.015 secs (0.005 CPU) [full] processed `output color profile' on GPU, blended on GPU
186.429586 [dev_pixelpipe] took 0.014 secs (0.060 CPU) [full] processed `display encoding' on CPU, blended on CPU
186.430107 [dev_process_image] pixel pipeline processing took 0.840 secs (1.272 CPU)
187.761727 [histogram] took 0.002 secs (0.001 CPU) scope draw
187.783734 [dev] took 0.000 secs (0.000 CPU) to load the image.
187.802762 [dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [full]
187.840270 [dev_pixelpipe] took 0.037 secs (0.036 CPU) [full] processed `raw black/white point' on GPU, blended on GPU
187.851755 [dev_pixelpipe] took 0.011 secs (0.011 CPU) [full] processed `white balance' on GPU, blended on GPU
187.917792 [histogram] took 0.002 secs (0.002 CPU) scope draw
188.094066 [dev_pixelpipe] took 0.242 secs (0.685 CPU) [full] processed `highlight reconstruction' on CPU, blended on CPU
188.412932 [dev_pixelpipe] took 0.319 secs (0.193 CPU) [full] processed `demosaic' on GPU with tiling, blended on CPU
188.423845 [dev_pixelpipe] took 0.011 secs (0.011 CPU) [full] processed `exposure' on GPU, blended on GPU
188.426765 [dev_pixelpipe] took 0.003 secs (0.004 CPU) [full] processed `input color profile  ' on GPU, blended on GPU
image colorspace transform Lab-->RGB took 0.003 secs (0.006 GPU) [filmicrgb ]
188.444678 [dev_pixelpipe] took 0.018 secs (0.025 CPU) [full] processed `filmic rgb' on GPU, blended on GPU
image colorspace transform RGB-->Lab took 0.003 secs (0.005 GPU) [colorout ]
188.455979 [dev_pixelpipe] took 0.011 secs (0.014 CPU) [full] processed `output color profile' on GPU, blended on GPU
188.467497 [dev_pixelpipe] took 0.012 secs (0.040 CPU) [full] processed `display encoding' on CPU, blended on CPU
188.470754 [dev_process_image] pixel pipeline processing took 0.687 secs (1.025 CPU)
189.638037 [dev] took 0.329 secs (0.042 CPU) to load the image.
189.702176 [histogram] took 0.000 secs (0.000 CPU) scope draw
189.724789 [dev] took 0.000 secs (0.000 CPU) to load the image.
189.879038 [dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [full]
189.918257 [dev_pixelpipe] took 0.039 secs (0.000 CPU) [full] processed `raw black/white point' on GPU, blended on GPU
189.930117 [dev_pixelpipe] took 0.012 secs (0.001 CPU) [full] processed `white balance' on GPU, blended on GPU
190.303319 [dev_pixelpipe] took 0.373 secs (1.175 CPU) [full] processed `highlight reconstruction' on CPU, blended on CPU
190.628948 [dev_pixelpipe] took 0.326 secs (0.017 CPU) [full] processed `demosaic' on GPU with tiling, blended on CPU
190.638381 [dev_pixelpipe] took 0.009 secs (0.000 CPU) [full] processed `exposure' on GPU, blended on GPU
190.652200 [dev_pixelpipe] took 0.014 secs (0.004 CPU) [full] processed `input color profile' on GPU, blended on GPU
image colorspace transform Lab-->RGB took 0.011 secs (0.003 GPU) [filmicrgb ]
190.686843 [dev_pixelpipe] took 0.035 secs (0.007 CPU) [full] processed `filmic rgb' on GPU, blended on GPU
image colorspace transform RGB-->Lab took 0.003 secs (0.002 GPU) [colorout ]
190.694832 [dev_pixelpipe] took 0.008 secs (0.005 CPU) [full] processed `output color profile' on GPU, blended on GPU
190.711026 [dev_pixelpipe] took 0.016 secs (0.043 CPU) [full] processed `display encoding' on CPU, blended on CPU
190.711460 [dev_process_image] pixel pipeline processing took 0.940 secs (1.258 CPU)
190.766832 [histogram] took 0.000 secs (0.000 CPU) scope draw
190.819617 [dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [preview]
190.821557 [dev_pixelpipe] took 0.002 secs (0.001 CPU) [preview] processed `raw black/white point' on GPU, blended on GPU
190.822476 [dev_pixelpipe] took 0.001 secs (0.001 CPU) [preview] processed `white balance' on GPU, blended on GPU
190.829777 [dev_pixelpipe] took 0.007 secs (0.015 CPU) [preview] processed `highlight reconstruction' on CPU, blended on CPU
190.842103 [dev_pixelpipe] took 0.012 secs (0.000 CPU) [preview] processed `demosaic' on GPU, blended on GPU
190.843445 [dev_pixelpipe] took 0.001 secs (0.000 CPU) [preview] processed `exposure' on GPU, blended on GPU
190.847016 [dev_pixelpipe] took 0.004 secs (0.000 CPU) [preview] processed `input color profile' on GPU, blended on GPU
image colorspace transform Lab-->RGB took 0.007 secs (0.001 GPU) [filmicrgb ]
190.862337 [dev_pixelpipe] took 0.015 secs (0.002 CPU) [preview] processed `filmic rgb' on GPU, blended on GPU
image colorspace transform RGB-->Lab took 0.003 secs (0.001 GPU) [colorout ]
190.873375 [dev_pixelpipe] took 0.011 secs (0.003 CPU) [preview] processed `output color profile' on GPU, blended on GPU
190.883480 [dev_pixelpipe] took 0.010 secs (0.025 CPU) [preview] processed `display encoding' on CPU, blended on CPU
image colorspace transform RGB-->RGB took 0.009 secs (0.061 CPU) [final histogram]
190.895765 [histogram] took 0.012 secs (0.069 CPU) final histogram
190.896338 [dev_process_preview] pixel pipeline processing took 0.118 secs (0.172 CPU)
190.929925 [histogram] took 0.002 secs (0.002 CPU) scope draw
192.238770 [dev] took 0.326 secs (0.044 CPU) to load the image.
192.300282 [histogram] took 0.001 secs (0.001 CPU) scope draw
192.329819 [dev] took 0.000 secs (0.000 CPU) to load the image.
192.408075 [dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [full]
192.450262 [dev_pixelpipe] took 0.042 secs (0.019 CPU) [full] processed `raw black/white point' on GPU, blended on GPU
192.462853 [dev_pixelpipe] took 0.013 secs (0.001 CPU) [full] processed `white balance' on GPU, blended on GPU
192.834405 [dev_pixelpipe] took 0.372 secs (1.135 CPU) [full] processed `highlight reconstruction' on CPU, blended on CPU
193.159529 [dev_pixelpipe] took 0.325 secs (0.007 CPU) [full] processed `demosaic' on GPU with tiling, blended on CPU
193.178840 [dev_pixelpipe] took 0.019 secs (0.002 CPU) [full] processed `input color profile' on GPU, blended on GPU
193.212723 [dev_pixelpipe] took 0.034 secs (0.001 CPU) [full] processed `output color profile' on GPU, blended on GPU
193.234836 [dev_pixelpipe] took 0.022 secs (0.106 CPU) [full] processed `display encoding' on CPU, blended on CPU
193.235557 [dev_process_image] pixel pipeline processing took 0.862 secs (1.275 CPU)
193.286656 [histogram] took 0.000 secs (0.000 CPU) scope draw
193.333029 [dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [preview]
193.335241 [dev_pixelpipe] took 0.002 secs (0.000 CPU) [preview] processed `raw black/white point' on GPU, blended on GPU
193.336276 [dev_pixelpipe] took 0.001 secs (0.000 CPU) [preview] processed `white balance' on GPU, blended on GPU
193.353489 [dev_pixelpipe] took 0.017 secs (0.010 CPU) [preview] processed `highlight reconstruction' on CPU, blended on CPU
193.359549 [dev_pixelpipe] took 0.006 secs (0.001 CPU) [preview] processed `demosaic' on GPU, blended on GPU
193.363614 [dev_pixelpipe] took 0.004 secs (0.001 CPU) [preview] processed `input color profile' on GPU, blended on GPU
193.379829 [dev_pixelpipe] took 0.016 secs (0.002 CPU) [preview] processed `output color profile' on GPU, blended on GPU
193.395799 [dev_pixelpipe] took 0.016 secs (0.031 CPU) [preview] processed `display encoding' on CPU, blended on CPU
image colorspace transform RGB-->RGB took 0.009 secs (0.062 CPU) [final histogram]
193.407496 [histogram] took 0.012 secs (0.069 CPU) final histogram
193.407840 [dev_process_preview] pixel pipeline processing took 0.109 secs (0.155 CPU)
193.446214 [histogram] took 0.002 secs (0.001 CPU) scope draw
193.895571 [histogram] took 0.002 secs (0.001 CPU) scope draw
193.958364 [histogram] took 0.002 secs (0.001 CPU) scope draw
195.205352 [histogram] took 0.002 secs (0.001 CPU) scope draw
195.248860 [dev] took 0.000 secs (0.000 CPU) to load the image.
195.248964 [dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [full]
195.282885 [dev_pixelpipe] took 0.033 secs (0.022 CPU) [full] processed `raw black/white point' on GPU, blended on GPU
195.289306 [dev_pixelpipe] took 0.006 secs (0.006 CPU) [full] processed `white balance' on GPU, blended on GPU
195.746183 [dev_pixelpipe] took 0.457 secs (1.556 CPU) [full] processed `highlight reconstruction' on CPU, blended on CPU
195.808516 [histogram] took 0.007 secs (0.002 CPU) scope draw
196.134781 [dev_pixelpipe] took 0.389 secs (0.185 CPU) [full] processed `demosaic' on GPU with tiling, blended on CPU
196.179501 [dev_pixelpipe] took 0.045 secs (0.003 CPU) [full] processed `input color profile' on GPU, blended on GPU
196.226526 [dev_pixelpipe] took 0.047 secs (0.002 CPU) [full] processed `output color profile' on GPU, blended on GPU
196.332516 [dev_pixelpipe] took 0.106 secs (0.374 CPU) [full] processed `display encoding' on CPU, blended on CPU
196.363380 [dev_process_image] pixel pipeline processing took 1.114 secs (2.161 CPU)
197.913188 [histogram] took 0.002 secs (0.001 CPU) scope draw
198.019463 [histogram] took 0.002 secs (0.002 CPU) scope draw
199.045617 [dev] took 0.349 secs (0.044 CPU) to load the image.
199.121778 [histogram] took 0.000 secs (0.000 CPU) scope draw
199.158163 [dev] took 0.000 secs (0.000 CPU) to load the image.
199.274403 [dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [full]
199.312576 [dev_pixelpipe] took 0.038 secs (0.081 CPU) [full] processed `raw black/white point' on GPU, blended on GPU
199.324431 [dev_pixelpipe] took 0.012 secs (0.004 CPU) [full] processed `white balance' on GPU, blended on GPU
199.692628 [dev_pixelpipe] took 0.368 secs (1.201 CPU) [full] processed `highlight reconstruction' on CPU, blended on CPU
200.081927 [dev_pixelpipe] took 0.389 secs (0.096 CPU) [full] processed `demosaic' on GPU with tiling, blended on CPU
200.122606 [dev_pixelpipe] took 0.041 secs (0.002 CPU) [full] processed `exposure' on GPU, blended on GPU
200.139560 [dev_pixelpipe] took 0.017 secs (0.004 CPU) [full] processed `input color profile' on GPU, blended on GPU
image colorspace transform Lab-->RGB took 0.015 secs (0.004 GPU) [filmicrgb ]
200.207615 [dev_pixelpipe] took 0.068 secs (0.035 CPU) [full] processed `filmic rgb' on GPU, blended on GPU
image colorspace transform RGB-->Lab took 0.013 secs (0.003 GPU) [colorout ]
200.236585 [dev_pixelpipe] took 0.029 secs (0.006 CPU) [full] processed `output color profile' on GPU, blended on GPU
200.326576 [dev_pixelpipe] took 0.090 secs (0.405 CPU) [full] processed `display encoding' on CPU, blended on CPU
200.329034 [dev_process_image] pixel pipeline processing took 1.127 secs (1.849 CPU)
200.403263 [histogram] took 0.000 secs (0.000 CPU) scope draw
200.461182 [dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [preview]
200.470960 [dev_pixelpipe] took 0.010 secs (0.002 CPU) [preview] processed `raw black/white point' on GPU, blended on GPU
200.471904 [dev_pixelpipe] took 0.001 secs (0.000 CPU) [preview] processed `white balance' on GPU, blended on GPU
200.478290 [dev_pixelpipe] took 0.006 secs (0.011 CPU) [preview] processed `highlight reconstruction' on CPU, blended on CPU
200.491915 [dev_pixelpipe] took 0.014 secs (0.002 CPU) [preview] processed `demosaic' on GPU, blended on GPU
200.493661 [dev_pixelpipe] took 0.002 secs (0.000 CPU) [preview] processed `exposure' on GPU, blended on GPU
200.501562 [dev_pixelpipe] took 0.008 secs (0.002 CPU) [preview] processed `input color profile' on GPU, blended on GPU
image colorspace transform Lab-->RGB took 0.002 secs (0.001 GPU) [filmicrgb ]
200.512222 [dev_pixelpipe] took 0.011 secs (0.002 CPU) [preview] processed `filmic rgb' on GPU, blended on GPU
image colorspace transform RGB-->Lab took 0.003 secs (0.002 GPU) [colorout ]
200.522632 [dev_pixelpipe] took 0.010 secs (0.004 CPU) [preview] processed `output color profile' on GPU, blended on GPU
200.531330 [dev_pixelpipe] took 0.009 secs (0.027 CPU) [preview] processed `display encoding' on CPU, blended on CPU
image colorspace transform RGB-->RGB took 0.010 secs (0.062 CPU) [final histogram]
200.544289 [histogram] took 0.013 secs (0.069 CPU) final histogram
200.544860 [dev_process_preview] pixel pipeline processing took 0.130 secs (0.191 CPU)

I don’t see anything different in the last batch of output compared to previous.

This just happens when you open the image or do you have some edits… a few modules have had random issues in certain circumstances…maybe share the xmp so we can break it down??

It happens on freshly imported images without any edits. I’m attaching one XMP file in case it helps, but it should just be the freshly generated one.

_DSC8648.ARW.xmp (996 Bytes)

1 Like

While I cannot say for sure, but aftering disabling OpenCL the issue do seem to go away, but I have only tried to randomly click on different photos and see if they just appear corrupted, haven’t tried serious editing yet (I’m a new darktable user just picking up yesterday).

The d perf shows that it was processing the images in the GPU. I was going to suggest to turn it off to test. It sounds like a amd driver. Two things to test, changing the darktable compiler to remove the fast-relaxed-math. You do this via an edit in darktablerc in .config/darktable. The second is to go with property amd drivers instead of rocm.

I’m still in fedora 37 with nvidia card.

I’d leave it disabled, sadly, as there isn’t anything we can do if it is a driver issue. If the issue happens again with openCL turned off, the troubleshooting can continue.

Does sound more like a driver issue.

Removing fast-relaxed-math doesn’t fix the issue. I don’t really want to modify the kernel (so no amdgpu-pro), so I will look into if there’s a proprietary replacement for rocm. Thanks for the help.

I forgot to mention that you might need to delete the kernels in .cache/darktable after removing fast-relaxed-math to force the darktable kernels to be re-created. I doubt the fast relaxed math has an effect, but it is worth the try.