LUG talk: darktable for beginners

Being clear on the concept of non-destructive editing would be important given the number of people that often seem confused on that. Also sending out some basics on digital imaging ahead of the presentation might be a real boost. I find many people are frustrated by something complicated by DT but it is because they lack a basic understanding about the nuts and bolts of digital image editing…This is a really great site for issues around color digital editing etc that is really something everyone should have a handle on in my opinion This site is fantastic and covers all the basics https://www.cambridgeincolour.com/ . Finally reminding them that DT is open source and has evolved from the contributions of several individuals the result being a large number of modules with quite a bit of overlap and so there is not one correct way to do things …Its a toolbox and how you craft depends on the tools you like and the combination that you use them in…But really its very complicated and powerful so I would choose a theme…How to get images in, a basic edit and how to export. Then you could insert some nuance and complexity later…just my thoughts…

I’m very late to the party, and I don’t know if you’ve always done your presentation…

Like @patdavid said, there is a high chance your audience is not entirely familiar with the concept of raw photos (compared to jpeg or png files), so it’s good to explain this.

As for darktable itself, most people “just” want to open a raw photo and edit it to get a good result. If you have a workflow you follow all the time, it’s a good idea to talk about it (what module, in what order and why).

If you have some extra time, explaining the magic denoising using one luma and one chroma denoise module would be pretty cool (it’s briefly mentioned in the user manual). I don’t know if other software have this option, but it gives very good results and can be adjusted for each photo to get the best level of details Vs. noise reduction output.

Hopefully this can be recorded and shared here!

Cheers!

Talk about how damn slow it is, even on moderately powerful hardware and how to make it less so.

Morning, @radu

What is “damn slow”?
What results do you get when running the two benchmark tests described here:

Have fun!
Claes in Lund, Sweden

Sup, @Claes.

Damn slow is everything. The interface, switching between light and darktable modules, seeing the effects of every edit and slider movement takes seconds sometimes.

I took a look at the links you posted, but I’m afraid that is a bit beyond my level. I only just switched to Linux a few weeks ago, after having been a Windohs user for the last 25 years. The learning curve is real.

I don’t know how to do those benchmarks. I also saw mention of OPENCL and I don’t think my machine supports that… whatever it is.

I use an ASUS FX503 (laptop)
i5 7300, gtx 1050 4gb (non-ti), 16gb ram, 1x 256gb M2 SSD, 1x 1tb sshd.

Teach me how to run those benchmarks and I’m happy to do so.

Let’s take this step by step…

  1. GTX 1050 is not a bad graphics card.
  2. To check openCL, enter this command in a terminal:
    darktable-cltest

Have fun!
Claes in Lund, Sweden

0.037893 [opencl_init] opencl related configuration options:
0.037905 [opencl_init] 
0.037908 [opencl_init] opencl: 1
0.037910 [opencl_init] opencl_library: ''
0.037912 [opencl_init] opencl_memory_requirement: 768
0.037914 [opencl_init] opencl_memory_headroom: 300
0.037916 [opencl_init] opencl_device_priority: '*/!0,*/*/*'
0.037918 [opencl_init] opencl_mandatory_timeout: 200
0.037920 [opencl_init] opencl_size_roundup: 16
0.037922 [opencl_init] opencl_async_pixelpipe: 0
0.037924 [opencl_init] opencl_synch_cache: 0
0.037926 [opencl_init] opencl_number_event_handles: 25
0.037928 [opencl_init] opencl_micro_nap: 1000
0.037930 [opencl_init] opencl_use_pinned_memory: 0
0.037932 [opencl_init] opencl_use_cpu_devices: 0
0.037933 [opencl_init] opencl_avoid_atomics: 0
0.037935 [opencl_init] 
0.038086 [opencl_init] could not find opencl runtime library 'libOpenCL'
0.038132 [opencl_init] could not find opencl runtime library 'libOpenCL.so'
0.038785 [opencl_init] found opencl runtime library 'libOpenCL.so.1'
0.038803 [opencl_init] opencl library 'libOpenCL.so.1' found on your system and loaded
0.087683 [opencl_init] found 1 platform
0.087715 [opencl_init] found 1 device
0.088164 [opencl_init] device 0 `GeForce GTX 1050' has sm_20 support.
0.088314 [opencl_init] device 0 `GeForce GTX 1050' supports image sizes of 16384 x 32768
0.088317 [opencl_init] device 0 `GeForce GTX 1050' allows GPU memory allocations of up to 1010MB
[opencl_init] device 0: GeForce GTX 1050 
 GLOBAL_MEM_SIZE:          4042MB
 MAX_WORK_GROUP_SIZE:      1024
 MAX_WORK_ITEM_DIMENSIONS: 3
 MAX_WORK_ITEM_SIZES:      [ 1024 1024 64 ]
 DRIVER_VERSION:           435.21
 DEVICE_VERSION:           OpenCL 1.2 CUDA
0.179294 [opencl_init] options for OpenCL compiler: -cl-mad-enable  -DNVIDIA_SM_20=1 -DNVIDIA=1 -I"/usr/share/darktable/kernels"
0.180093 [opencl_init] compiling program `demosaic_ppg.cl' ..
0.181512 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/demosaic_ppg.cl.bin'
0.181518 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/demosaic_ppg.cl'
0.213896 [opencl_build_program] successfully built program
0.213908 [opencl_build_program] BUILD STATUS: 0
0.213910 BUILD LOG:
0.213912 

0.213921 [opencl_init] compiling program `atrous.cl' ..
0.214383 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/atrous.cl.bin'
0.214388 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/atrous.cl'
0.215402 [opencl_build_program] successfully built program
0.215409 [opencl_build_program] BUILD STATUS: 0
0.215411 BUILD LOG:
0.215413 

0.215419 [opencl_init] compiling program `basic.cl' ..
0.217504 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/basic.cl.bin'
0.217510 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/basic.cl'
0.222749 [opencl_build_program] successfully built program
0.222758 [opencl_build_program] BUILD STATUS: 0
0.222760 BUILD LOG:
0.222761 

0.222768 [opencl_init] compiling program `blendop.cl' ..
0.224369 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/blendop.cl.bin'
0.224374 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/blendop.cl'
0.228939 [opencl_build_program] successfully built program
0.228947 [opencl_build_program] BUILD STATUS: 0
0.228951 BUILD LOG:
0.228956 

0.228965 [opencl_init] compiling program `highpass.cl' ..
0.229895 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/highpass.cl.bin'
0.229901 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/highpass.cl'
0.230749 [opencl_build_program] successfully built program
0.230756 [opencl_build_program] BUILD STATUS: 0
0.230761 BUILD LOG:
0.230763 

0.230769 [opencl_init] compiling program `nlmeans.cl' ..
0.231293 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/nlmeans.cl.bin'
0.231298 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/nlmeans.cl'
0.232335 [opencl_build_program] successfully built program
0.232342 [opencl_build_program] BUILD STATUS: 0
0.232346 BUILD LOG:
0.232370 

0.232376 [opencl_init] compiling program `gaussian.cl' ..
0.233138 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/gaussian.cl.bin'
0.233143 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/gaussian.cl'
0.234417 [opencl_build_program] successfully built program
0.234424 [opencl_build_program] BUILD STATUS: 0
0.234427 BUILD LOG:
0.234428 

0.234434 [opencl_init] compiling program `sharpen.cl' ..
0.235010 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/sharpen.cl.bin'
0.235015 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/sharpen.cl'
0.235951 [opencl_build_program] successfully built program
0.235958 [opencl_build_program] BUILD STATUS: 0
0.235981 BUILD LOG:
0.235982 

0.235988 [opencl_init] compiling program `extended.cl' ..
0.237778 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/extended.cl.bin'
0.237803 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/extended.cl'
0.242164 [opencl_build_program] successfully built program
0.242273 [opencl_build_program] BUILD STATUS: 0
0.242310 BUILD LOG:
0.242312 

0.242348 [opencl_init] compiling program `soften.cl' ..
0.243234 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/soften.cl.bin'
0.243254 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/soften.cl'
0.244775 [opencl_build_program] successfully built program
0.244787 [opencl_build_program] BUILD STATUS: 0
0.244802 BUILD LOG:
0.244805 

0.244816 [opencl_init] compiling program `bilateral.cl' ..
0.245471 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/bilateral.cl.bin'
0.245477 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/bilateral.cl'
0.246589 [opencl_build_program] successfully built program
0.246596 [opencl_build_program] BUILD STATUS: 0
0.246599 BUILD LOG:
0.246600 

0.246607 [opencl_init] compiling program `denoiseprofile.cl' ..
0.248542 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/denoiseprofile.cl.bin'
0.248547 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/denoiseprofile.cl'
0.250070 [opencl_build_program] successfully built program
0.250077 [opencl_build_program] BUILD STATUS: 0
0.250080 BUILD LOG:
0.250081 

0.250088 [opencl_init] compiling program `bloom.cl' ..
0.250993 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/bloom.cl.bin'
0.250998 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/bloom.cl'
0.251843 [opencl_build_program] successfully built program
0.251850 [opencl_build_program] BUILD STATUS: 0
0.251854 BUILD LOG:
0.251856 

0.251886 [opencl_init] compiling program `colorreconstruction.cl' ..
0.252488 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/colorreconstruction.cl.bin'
0.252493 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/colorreconstruction.cl'
0.253880 [opencl_build_program] successfully built program
0.253887 [opencl_build_program] BUILD STATUS: 0
0.253889 BUILD LOG:
0.253890 

0.253896 [opencl_init] compiling program `demosaic_other.cl' ..
0.254465 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/demosaic_other.cl.bin'
0.254470 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/demosaic_other.cl'
0.255005 [opencl_build_program] successfully built program
0.255011 [opencl_build_program] BUILD STATUS: 0
0.255013 BUILD LOG:
0.255014 

0.255020 [opencl_init] compiling program `demosaic_vng.cl' ..
0.256176 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/demosaic_vng.cl.bin'
0.256182 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/demosaic_vng.cl'
0.257611 [opencl_build_program] successfully built program
0.257618 [opencl_build_program] BUILD STATUS: 0
0.257620 BUILD LOG:
0.257622 

0.257627 [opencl_init] compiling program `demosaic_markesteijn.cl' ..
0.259087 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/demosaic_markesteijn.cl.bin'
0.259092 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/demosaic_markesteijn.cl'
0.261473 [opencl_build_program] successfully built program
0.261481 [opencl_build_program] BUILD STATUS: 0
0.261483 BUILD LOG:
0.261485 

0.261491 [opencl_init] compiling program `liquify.cl' ..
0.261954 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/liquify.cl.bin'
0.261959 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/liquify.cl'
0.262556 [opencl_build_program] successfully built program
0.262561 [opencl_build_program] BUILD STATUS: 0
0.262564 BUILD LOG:
0.262566 

0.262571 [opencl_init] compiling program `basecurve.cl' ..
0.263265 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/basecurve.cl.bin'
0.263270 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/basecurve.cl'
0.264910 [opencl_build_program] successfully built program
0.264917 [opencl_build_program] BUILD STATUS: 0
0.264919 BUILD LOG:
0.264920 

0.264926 [opencl_init] compiling program `locallaplacian.cl' ..
0.266399 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/locallaplacian.cl.bin'
0.266404 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/locallaplacian.cl'
0.267663 [opencl_build_program] successfully built program
0.267672 [opencl_build_program] BUILD STATUS: 0
0.267675 BUILD LOG:
0.267676 

0.267683 [opencl_init] compiling program `dwt.cl' ..
0.268170 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/dwt.cl.bin'
0.268175 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/dwt.cl'
0.268800 [opencl_build_program] successfully built program
0.268807 [opencl_build_program] BUILD STATUS: 0
0.268822 BUILD LOG:
0.268823 

0.268833 [opencl_init] compiling program `retouch.cl' ..
0.269597 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/retouch.cl.bin'
0.269602 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/retouch.cl'
0.270703 [opencl_build_program] successfully built program
0.270710 [opencl_build_program] BUILD STATUS: 0
0.270714 BUILD LOG:
0.270717 

0.270726 [opencl_init] compiling program `filmic.cl' ..
0.272821 [opencl_load_program] loaded cached binary program from file `/home/zerounu/.cache/darktable/cached_kernels_for_GeForceGTX1050/filmic.cl.bin'
0.272826 [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/filmic.cl'
0.278598 [opencl_build_program] successfully built program
0.278609 [opencl_build_program] BUILD STATUS: 0
0.278612 BUILD LOG:
0.278614 

0.278622 [opencl_init] kernel loading time: 0.0987 
0.278629 [opencl_init] OpenCL successfully initialized.
0.278632 [opencl_init] here are the internal numbers and names of OpenCL devices available to darktable:
0.278633 [opencl_init]		0	'GeForce GTX 1050'
0.278636 [opencl_init] FINALLY: opencl is AVAILABLE on this system.
0.278638 [opencl_init] initial status of opencl enabled flag is ON.
0.279201 [opencl_create_kernel] successfully loaded kernel `blendop_mask_Lab' (0) for device 0
0.279208 [opencl_create_kernel] successfully loaded kernel `blendop_mask_RAW' (1) for device 0
0.279231 [opencl_create_kernel] successfully loaded kernel `blendop_mask_rgb' (2) for device 0
0.279236 [opencl_create_kernel] successfully loaded kernel `blendop_Lab' (3) for device 0
0.279241 [opencl_create_kernel] successfully loaded kernel `blendop_RAW' (4) for device 0
0.279245 [opencl_create_kernel] successfully loaded kernel `blendop_rgb' (5) for device 0
0.279249 [opencl_create_kernel] successfully loaded kernel `blendop_mask_tone_curve' (6) for device 0
0.279253 [opencl_create_kernel] successfully loaded kernel `blendop_set_mask' (7) for device 0
0.279257 [opencl_create_kernel] successfully loaded kernel `blendop_display_channel' (8) for device 0
0.279262 [opencl_create_kernel] successfully loaded kernel `zero' (9) for device 0
0.279279 [opencl_create_kernel] successfully loaded kernel `splat' (10) for device 0
0.279283 [opencl_create_kernel] successfully loaded kernel `blur_line' (11) for device 0
0.279286 [opencl_create_kernel] successfully loaded kernel `blur_line_z' (12) for device 0
0.279290 [opencl_create_kernel] successfully loaded kernel `slice' (13) for device 0
0.279323 [opencl_create_kernel] successfully loaded kernel `slice_to_output' (14) for device 0
0.279329 [opencl_create_kernel] successfully loaded kernel `gaussian_column_1c' (15) for device 0
0.279346 [opencl_create_kernel] successfully loaded kernel `gaussian_transpose_1c' (16) for device 0
0.279367 [opencl_create_kernel] successfully loaded kernel `gaussian_column_4c' (17) for device 0
0.279373 [opencl_create_kernel] successfully loaded kernel `gaussian_transpose_4c' (18) for device 0
0.279380 [opencl_create_kernel] successfully loaded kernel `interpolation_resample' (19) for device 0
0.279391 [opencl_create_kernel] successfully loaded kernel `pad_input' (20) for device 0
0.279395 [opencl_create_kernel] successfully loaded kernel `gauss_expand' (21) for device 0
0.279412 [opencl_create_kernel] successfully loaded kernel `gauss_reduce' (22) for device 0
0.279417 [opencl_create_kernel] successfully loaded kernel `laplacian_assemble' (23) for device 0
0.279422 [opencl_create_kernel] successfully loaded kernel `process_curve' (24) for device 0
0.279425 [opencl_create_kernel] successfully loaded kernel `write_back' (25) for device 0
0.279428 [opencl_create_kernel] successfully loaded kernel `dwt_add_img_to_layer' (26) for device 0
0.279431 [opencl_create_kernel] successfully loaded kernel `dwt_subtract_layer' (27) for device 0
0.279434 [opencl_create_kernel] successfully loaded kernel `dwt_hat_transform_col' (28) for device 0
0.279438 [opencl_create_kernel] successfully loaded kernel `dwt_hat_transform_row' (29) for device 0
0.279441 [opencl_create_kernel] successfully loaded kernel `dwt_init_buffer' (30) for device 0
0.279454 [opencl_priorities] these are your device priorities:
0.279457 [opencl_priorities] 		image	preview	export	thumbnail
0.279479 [opencl_priorities]		0	0	0	0
0.279482 [opencl_priorities] show if opencl use is mandatory for a given pixelpipe:
0.279484 [opencl_priorities] 		image	preview	export	thumbnail
0.279486 [opencl_priorities]		1	1	1	1
0.279489 [opencl_synchronization_timeout] synchronization timeout set to 0
0.377192 [opencl_create_kernel] successfully loaded kernel `filmic' (31) for device 0
0.378652 [opencl_create_kernel] successfully loaded kernel `vibrance' (32) for device 0
0.380243 [opencl_create_kernel] successfully loaded kernel `channelmixer' (33) for device 0
0.384175 [opencl_create_kernel] successfully loaded kernel `levels' (34) for device 0
0.385576 [opencl_create_kernel] successfully loaded kernel `flip' (35) for device 0
0.387174 [opencl_create_kernel] successfully loaded kernel `lowlight' (36) for device 0
0.388894 [opencl_create_kernel] successfully loaded kernel `colisa' (37) for device 0
0.390515 [opencl_create_kernel] successfully loaded kernel `borders_fill' (38) for device 0
0.392019 [opencl_create_kernel] successfully loaded kernel `invert_1f' (39) for device 0
0.392050 [opencl_create_kernel] successfully loaded kernel `invert_4f' (40) for device 0
0.393712 [opencl_create_kernel] successfully loaded kernel `colorzones' (41) for device 0
0.397637 [opencl_create_kernel] successfully loaded kernel `colorbalance' (42) for device 0
0.397664 [opencl_create_kernel] successfully loaded kernel `colorbalance_lgg' (43) for device 0
0.397668 [opencl_create_kernel] successfully loaded kernel `colorbalance_cdl' (44) for device 0
0.399758 [opencl_create_kernel] successfully loaded kernel `colorcorrection' (45) for device 0
0.402995 [opencl_create_kernel] successfully loaded kernel `clip_and_zoom_demosaic_half_size' (46) for device 0
0.403022 [opencl_create_kernel] successfully loaded kernel `ppg_demosaic_green' (47) for device 0
0.403048 [opencl_create_kernel] successfully loaded kernel `green_equilibration_lavg' (48) for device 0
0.403053 [opencl_create_kernel] successfully loaded kernel `green_equilibration_favg_reduce_first' (49) for device 0
0.403072 [opencl_create_kernel] successfully loaded kernel `green_equilibration_favg_reduce_second' (50) for device 0
0.403079 [opencl_create_kernel] successfully loaded kernel `green_equilibration_favg_apply' (51) for device 0
0.403083 [opencl_create_kernel] successfully loaded kernel `pre_median' (52) for device 0
0.403086 [opencl_create_kernel] successfully loaded kernel `ppg_demosaic_redblue' (53) for device 0
0.403090 [opencl_create_kernel] successfully loaded kernel `clip_and_zoom' (54) for device 0
0.403092 [opencl_create_kernel] successfully loaded kernel `border_interpolate' (55) for device 0
0.403108 [opencl_create_kernel] successfully loaded kernel `color_smoothing' (56) for device 0
0.403113 [opencl_create_kernel] successfully loaded kernel `passthrough_monochrome' (57) for device 0
0.403130 [opencl_create_kernel] successfully loaded kernel `clip_and_zoom_demosaic_passthrough_monochrome' (58) for device 0
0.403134 [opencl_create_kernel] successfully loaded kernel `vng_border_interpolate' (59) for device 0
0.403137 [opencl_create_kernel] successfully loaded kernel `vng_lin_interpolate' (60) for device 0
0.403155 [opencl_create_kernel] successfully loaded kernel `clip_and_zoom_demosaic_third_size_xtrans' (61) for device 0
0.403159 [opencl_create_kernel] successfully loaded kernel `vng_green_equilibrate' (62) for device 0
0.403163 [opencl_create_kernel] successfully loaded kernel `vng_interpolate' (63) for device 0
0.403166 [opencl_create_kernel] successfully loaded kernel `markesteijn_initial_copy' (64) for device 0
0.403170 [opencl_create_kernel] successfully loaded kernel `markesteijn_green_minmax' (65) for device 0
0.403176 [opencl_create_kernel] successfully loaded kernel `markesteijn_interpolate_green' (66) for device 0
0.403185 [opencl_create_kernel] successfully loaded kernel `markesteijn_solitary_green' (67) for device 0
0.403190 [opencl_create_kernel] successfully loaded kernel `markesteijn_recalculate_green' (68) for device 0
0.403195 [opencl_create_kernel] successfully loaded kernel `markesteijn_red_and_blue' (69) for device 0
0.403218 [opencl_create_kernel] successfully loaded kernel `markesteijn_interpolate_twoxtwo' (70) for device 0
0.403223 [opencl_create_kernel] successfully loaded kernel `markesteijn_convert_yuv' (71) for device 0
0.403239 [opencl_create_kernel] successfully loaded kernel `markesteijn_differentiate' (72) for device 0
0.403244 [opencl_create_kernel] successfully loaded kernel `markesteijn_homo_threshold' (73) for device 0
0.403261 [opencl_create_kernel] successfully loaded kernel `markesteijn_homo_set' (74) for device 0
0.403265 [opencl_create_kernel] successfully loaded kernel `markesteijn_homo_sum' (75) for device 0
0.403270 [opencl_create_kernel] successfully loaded kernel `markesteijn_homo_max' (76) for device 0
0.403273 [opencl_create_kernel] successfully loaded kernel `markesteijn_homo_max_corr' (77) for device 0
0.403277 [opencl_create_kernel] successfully loaded kernel `markesteijn_homo_quench' (78) for device 0
0.403281 [opencl_create_kernel] successfully loaded kernel `markesteijn_zero' (79) for device 0
0.403286 [opencl_create_kernel] successfully loaded kernel `markesteijn_accu' (80) for device 0
0.403290 [opencl_create_kernel] successfully loaded kernel `markesteijn_final' (81) for device 0
0.404760 [opencl_create_kernel] successfully loaded kernel `colorchecker' (82) for device 0
0.406668 [opencl_create_kernel] successfully loaded kernel `velvia' (83) for device 0
0.408255 [opencl_create_kernel] successfully loaded kernel `graduatedndp' (84) for device 0
0.408279 [opencl_create_kernel] successfully loaded kernel `graduatedndm' (85) for device 0
0.410104 [opencl_create_kernel] successfully loaded kernel `rawoverexposed_mark_cfa' (86) for device 0
0.410127 [opencl_create_kernel] successfully loaded kernel `rawoverexposed_mark_solid' (87) for device 0
0.410133 [opencl_create_kernel] successfully loaded kernel `rawoverexposed_falsecolor' (88) for device 0
0.411576 [opencl_create_kernel] successfully loaded kernel `lowpass_mix' (89) for device 0
0.413481 [opencl_create_kernel] successfully loaded kernel `colorin_unbound' (90) for device 0
0.413510 [opencl_create_kernel] successfully loaded kernel `colorin_clipping' (91) for device 0
0.415965 [opencl_create_kernel] successfully loaded kernel `bloom_threshold' (92) for device 0
0.415988 [opencl_create_kernel] successfully loaded kernel `bloom_hblur' (93) for device 0
0.416011 [opencl_create_kernel] successfully loaded kernel `bloom_vblur' (94) for device 0
0.416015 [opencl_create_kernel] successfully loaded kernel `bloom_mix' (95) for device 0
0.418086 [opencl_create_kernel] successfully loaded kernel `retouch_clear_alpha' (96) for device 0
0.418114 [opencl_create_kernel] successfully loaded kernel `retouch_copy_alpha' (97) for device 0
0.418118 [opencl_create_kernel] successfully loaded kernel `retouch_copy_buffer_to_buffer' (98) for device 0
0.418125 [opencl_create_kernel] successfully loaded kernel `retouch_copy_buffer_to_image' (99) for device 0
0.418144 [opencl_create_kernel] successfully loaded kernel `retouch_fill' (100) for device 0
0.418148 [opencl_create_kernel] successfully loaded kernel `retouch_copy_image_to_buffer_masked' (101) for device 0
0.418155 [opencl_create_kernel] successfully loaded kernel `retouch_copy_buffer_to_buffer_masked' (102) for device 0
0.418159 [opencl_create_kernel] successfully loaded kernel `retouch_image_rgb2lab' (103) for device 0
0.418164 [opencl_create_kernel] successfully loaded kernel `retouch_image_lab2rgb' (104) for device 0
0.418168 [opencl_create_kernel] successfully loaded kernel `retouch_copy_mask_to_alpha' (105) for device 0
0.419498 [opencl_create_kernel] successfully loaded kernel `vignette' (106) for device 0
0.421791 [opencl_create_kernel] successfully loaded kernel `ashift_bilinear' (107) for device 0
0.421802 [opencl_create_kernel] successfully loaded kernel `ashift_bicubic' (108) for device 0
0.421806 [opencl_create_kernel] successfully loaded kernel `ashift_lanczos2' (109) for device 0
0.421810 [opencl_create_kernel] successfully loaded kernel `ashift_lanczos3' (110) for device 0
0.424503 [opencl_create_kernel] successfully loaded kernel `exposure' (111) for device 0
0.425730 [opencl_create_kernel] successfully loaded kernel `overexposed' (112) for device 0
0.426976 [opencl_create_kernel] successfully loaded kernel `colorcontrast' (113) for device 0
0.428405 [opencl_create_kernel] successfully loaded kernel `highpass_invert' (114) for device 0
0.428434 [opencl_create_kernel] successfully loaded kernel `highpass_hblur' (115) for device 0
0.428438 [opencl_create_kernel] successfully loaded kernel `highpass_vblur' (116) for device 0
0.428442 [opencl_create_kernel] successfully loaded kernel `highpass_mix' (117) for device 0
0.429877 [opencl_create_kernel] successfully loaded kernel `splittoning' (118) for device 0
0.431262 [opencl_create_kernel] successfully loaded kernel `pixelmax_first' (119) for device 0
0.431270 [opencl_create_kernel] successfully loaded kernel `pixelmax_second' (120) for device 0
0.431286 [opencl_create_kernel] successfully loaded kernel `global_tonemap_reinhard' (121) for device 0
0.431291 [opencl_create_kernel] successfully loaded kernel `global_tonemap_drago' (122) for device 0
0.431295 [opencl_create_kernel] successfully loaded kernel `global_tonemap_filmic' (123) for device 0
0.435499 [opencl_create_kernel] successfully loaded kernel `lens_distort_bilinear' (124) for device 0
0.435521 [opencl_create_kernel] successfully loaded kernel `lens_distort_bicubic' (125) for device 0
0.435526 [opencl_create_kernel] successfully loaded kernel `lens_distort_lanczos2' (126) for device 0
0.435551 [opencl_create_kernel] successfully loaded kernel `lens_distort_lanczos3' (127) for device 0
0.435555 [opencl_create_kernel] successfully loaded kernel `lens_vignette' (128) for device 0
0.512745 [opencl_create_kernel] successfully loaded kernel `colorreconstruction_zero' (129) for device 0
0.512761 [opencl_create_kernel] successfully loaded kernel `colorreconstruction_splat' (130) for device 0
0.512765 [opencl_create_kernel] successfully loaded kernel `colorreconstruction_blur_line' (131) for device 0
0.512772 [opencl_create_kernel] successfully loaded kernel `colorreconstruction_slice' (132) for device 0
0.514329 [opencl_create_kernel] successfully loaded kernel `zonesystem' (133) for device 0
0.515586 [opencl_create_kernel] successfully loaded kernel `colorize' (134) for device 0
0.517156 [opencl_create_kernel] successfully loaded kernel `clip_rotate_bilinear' (135) for device 0
0.517187 [opencl_create_kernel] successfully loaded kernel `clip_rotate_bicubic' (136) for device 0
0.517198 [opencl_create_kernel] successfully loaded kernel `clip_rotate_lanczos2' (137) for device 0
0.517205 [opencl_create_kernel] successfully loaded kernel `clip_rotate_lanczos3' (138) for device 0
0.519067 [opencl_create_kernel] successfully loaded kernel `sharpen_hblur' (139) for device 0
0.519092 [opencl_create_kernel] successfully loaded kernel `sharpen_vblur' (140) for device 0
0.519113 [opencl_create_kernel] successfully loaded kernel `sharpen_mix' (141) for device 0
0.522242 [opencl_create_kernel] successfully loaded kernel `colormapping_histogram' (142) for device 0
0.522271 [opencl_create_kernel] successfully loaded kernel `colormapping_mapping' (143) for device 0
0.524161 [opencl_create_kernel] successfully loaded kernel `basecurve_lut' (144) for device 0
0.524171 [opencl_create_kernel] successfully loaded kernel `basecurve_zero' (145) for device 0
0.524194 [opencl_create_kernel] successfully loaded kernel `basecurve_ev_lut' (146) for device 0
0.524199 [opencl_create_kernel] successfully loaded kernel `basecurve_compute_features' (147) for device 0
0.524220 [opencl_create_kernel] successfully loaded kernel `basecurve_blur_h' (148) for device 0
0.524224 [opencl_create_kernel] successfully loaded kernel `basecurve_blur_v' (149) for device 0
0.524228 [opencl_create_kernel] successfully loaded kernel `basecurve_expand' (150) for device 0
0.524232 [opencl_create_kernel] successfully loaded kernel `basecurve_reduce' (151) for device 0
0.524237 [opencl_create_kernel] successfully loaded kernel `basecurve_detail' (152) for device 0
0.524241 [opencl_create_kernel] successfully loaded kernel `basecurve_adjust_features' (153) for device 0
0.524245 [opencl_create_kernel] successfully loaded kernel `basecurve_blend_gaussian' (154) for device 0
0.524250 [opencl_create_kernel] successfully loaded kernel `basecurve_blend_laplacian' (155) for device 0
0.524254 [opencl_create_kernel] successfully loaded kernel `basecurve_normalize' (156) for device 0
0.524257 [opencl_create_kernel] successfully loaded kernel `basecurve_reconstruct' (157) for device 0
0.524259 [opencl_create_kernel] successfully loaded kernel `basecurve_finalize' (158) for device 0
0.529618 [opencl_create_kernel] successfully loaded kernel `shadows_highlights_mix' (159) for device 0
0.531108 [opencl_create_kernel] successfully loaded kernel `monochrome_filter' (160) for device 0
0.531136 [opencl_create_kernel] successfully loaded kernel `monochrome' (161) for device 0
0.532851 [opencl_create_kernel] successfully loaded kernel `warp_kernel' (162) for device 0
0.534538 [opencl_create_kernel] successfully loaded kernel `denoiseprofile_precondition' (163) for device 0
0.534561 [opencl_create_kernel] successfully loaded kernel `denoiseprofile_init' (164) for device 0
0.534584 [opencl_create_kernel] successfully loaded kernel `denoiseprofile_dist' (165) for device 0
0.534588 [opencl_create_kernel] successfully loaded kernel `denoiseprofile_horiz' (166) for device 0
0.534608 [opencl_create_kernel] successfully loaded kernel `denoiseprofile_vert' (167) for device 0
0.534613 [opencl_create_kernel] successfully loaded kernel `denoiseprofile_accu' (168) for device 0
0.534617 [opencl_create_kernel] successfully loaded kernel `denoiseprofile_finish' (169) for device 0
0.534622 [opencl_create_kernel] successfully loaded kernel `denoiseprofile_backtransform' (170) for device 0
0.534641 [opencl_create_kernel] successfully loaded kernel `denoiseprofile_decompose' (171) for device 0
0.534647 [opencl_create_kernel] successfully loaded kernel `denoiseprofile_synthesize' (172) for device 0
0.534663 [opencl_create_kernel] successfully loaded kernel `denoiseprofile_reduce_first' (173) for device 0
0.534666 [opencl_create_kernel] successfully loaded kernel `denoiseprofile_reduce_second' (174) for device 0
0.538327 [opencl_create_kernel] successfully loaded kernel `tonecurve' (175) for device 0
0.545142 [opencl_create_kernel] successfully loaded kernel `eaw_decompose' (176) for device 0
0.545182 [opencl_create_kernel] successfully loaded kernel `eaw_synthesize' (177) for device 0
0.548130 [opencl_create_kernel] successfully loaded kernel `highlights_1f_clip' (178) for device 0
0.548141 [opencl_create_kernel] successfully loaded kernel `highlights_1f_lch_bayer' (179) for device 0
0.548146 [opencl_create_kernel] successfully loaded kernel `highlights_1f_lch_xtrans' (180) for device 0
0.548149 [opencl_create_kernel] successfully loaded kernel `highlights_4f_clip' (181) for device 0
0.550221 [opencl_create_kernel] successfully loaded kernel `nlmeans_init' (182) for device 0
0.550232 [opencl_create_kernel] successfully loaded kernel `nlmeans_dist' (183) for device 0
0.550237 [opencl_create_kernel] successfully loaded kernel `nlmeans_horiz' (184) for device 0
0.550241 [opencl_create_kernel] successfully loaded kernel `nlmeans_vert' (185) for device 0
0.550244 [opencl_create_kernel] successfully loaded kernel `nlmeans_accu' (186) for device 0
0.550249 [opencl_create_kernel] successfully loaded kernel `nlmeans_finish' (187) for device 0
0.551528 [opencl_create_kernel] successfully loaded kernel `colorout' (188) for device 0
0.552859 [opencl_create_kernel] successfully loaded kernel `relight' (189) for device 0
0.557043 [opencl_create_kernel] successfully loaded kernel `soften_overexposed' (190) for device 0
0.557054 [opencl_create_kernel] successfully loaded kernel `soften_hblur' (191) for device 0
0.557060 [opencl_create_kernel] successfully loaded kernel `soften_vblur' (192) for device 0
0.557064 [opencl_create_kernel] successfully loaded kernel `soften_mix' (193) for device 0
0.558350 [opencl_create_kernel] successfully loaded kernel `rawprepare_1f' (194) for device 0
0.558361 [opencl_create_kernel] successfully loaded kernel `rawprepare_1f_unnormalized' (195) for device 0
0.558368 [opencl_create_kernel] successfully loaded kernel `rawprepare_4f' (196) for device 0
0.559910 [opencl_create_kernel] successfully loaded kernel `profilegamma' (197) for device 0
0.559921 [opencl_create_kernel] successfully loaded kernel `profilegamma_log' (198) for device 0
0.564907 [opencl_create_kernel] successfully loaded kernel `whitebalance_4f' (199) for device 0
0.564919 [opencl_create_kernel] successfully loaded kernel `whitebalance_1f' (200) for device 0
0.564923 [opencl_create_kernel] successfully loaded kernel `whitebalance_1f_xtrans' (201) for device 0```

Good. Thank you.

Next step: open darktable preferences.
Under core options, go down to cpu / gpu / memory.
See to it that activate OpenCL support is active (selected).
Set OpenCL schedueling profile to default.

Close darktable. Open darktable.
Do you notice any difference?

@Claes Sigh… it’s not available.

Screenshot%20from%202019-09-05%2014-52-12

Hm… What version of darktable are you using?

@Claes 2.6.2, the most recent one I was able to find. (I did find a .deb of 2.7, but that always hung on starting up so I went back to 2.6.2)

From the logs, it seems you don’t have OpenCL installed. I am assuming you are using Ubuntu with an Nvidia card, if so, install using

sudo apt-get install nvidia-opencl-dev

If not, please search for the instructions for you Linix distribution and video card.

@pitbuster But look at his log at 0.278636:

He is using Pop!_OS.

So what, then?

Do I still try what @pitbuster suggested?

@zerosapte I suggest you edit your post and place backticks to your error output so that the forum can add a scrollbar to it. On my small mobile screen, it takes at least 8 min :sweat_smile: to scroll up to the next post. E.g.,

```
error output
```

will be rendered like this, but with a scrollbar for longer output

error output
1 Like

You should use your distribution package manager and install the suggested package ‘nvidia-opencl-dev’. If your distribution is using the same package manager as specified (apt-get) then you can run the exact command specified above by pitbuster.

1 Like

Strange thing is, in his logs it appears that darktable-cltest IS finding all of the required infrastructure.

So why isn’t darktable itself doing so?

I’d suggest:
darktable -d opencl -d perf

Oh, my bad, I misread the log. But taking a step back, @zerosapte are you using a laptop with a dual video card (Nvidia Optimus)? If so, you should have to do some configuration to run darktable using the Nvidia card (using Optimus or nvidia-xrun, for example).

Yes, it’s an Optimus laptop.

How would I go about configuring Darktable to specifically use the nVidia card?

later edit: Pop!_OS has a switcher that allows the user specifically choose which gpu the system will use.

I was under the impression that once I picked the nVidia card that was that. Furthermore, the few games I play run just fine, I get very comparable framerates to what I did on Windohs. I even run games under wine and dxvk and they run great.

If I except Darktable, there is no reason for me to believe that my discrete gpu is anything but fully working as it should.

Well that was not the best talk I’ve ever given. I’ll try to form it into a tutorial in the near-ish future.

2 Likes