Am Mittwoch, den 18.04.2018, 06:51 +0200 schrieb Ulrich Pegelow: > You may also run darktable with -d opencl -d memory, do some typical > stuff and then close darktable at which point it will tell you the > peak > usage of GPU memory.
This is what I did, and this is the output of the last lines with higest values: [pixelpipe_process] [full] using device 0 [memory] before pixelpipe process [memory] max address space (vmpeak): 3066560 kB [memory] cur address space (vmsize): 2920820 kB [memory] max used memory (vmhwm ): 656232 kB [memory] cur used memory (vmrss ): 511540 kB [pixelpipe_process] [preview] using device -1 [memory] before pixelpipe process [memory] max address space (vmpeak): 3066560 kB [memory] cur address space (vmsize): 2920820 kB [memory] max used memory (vmhwm ): 656232 kB [memory] cur used memory (vmrss ): 511540 kB [pixelpipe_process] [thumbnail] using device 0 [memory] before pixelpipe process [memory] max address space (vmpeak): 3420044 kB [memory] cur address space (vmsize): 3415376 kB [memory] max used memory (vmhwm ): 656232 kB [memory] cur used memory (vmrss ): 523032 kB [pixelpipe_process] [export] using device 0 [memory] before pixelpipe process [memory] max address space (vmpeak): 3423124 kB [memory] cur address space (vmsize): 3415376 kB [memory] max used memory (vmhwm ): 656232 kB [memory] cur used memory (vmrss ): 523108 kB I have 6 GB main memory and 2 GB on CPU, so it seems darktable is using good half of main memory( ~ 3.2GB) and ~640MB on the GPU. Is this a corret interpretation? I was using a 12 Bit Raw of 16MB from an olympus camera. Btw. does "using device -1" for preview indicate, that CPU instead of GPU is used at all? Thanks, F. appendix: Open Cl initialisation on startup: ------------------ darktable with -d opencl -d memory [memory] at startup [memory] max address space (vmpeak): 300852 kB [memory] cur address space (vmsize): 300852 kB [memory] max used memory (vmhwm ): 17600 kB [memory] cur used memory (vmrss ): 17600 kB [opencl_init] opencl related configuration options: [opencl_init] [opencl_init] opencl: 1 [opencl_init] opencl_library: '' [opencl_init] opencl_memory_requirement: 768 [opencl_init] opencl_memory_headroom: 300 [opencl_init] opencl_device_priority: '*/!0,*/*/*' [opencl_init] opencl_size_roundup: 16 [opencl_init] opencl_async_pixelpipe: 0 [opencl_init] opencl_synch_cache: 0 [opencl_init] opencl_number_event_handles: 25 [opencl_init] opencl_micro_nap: 1000 [opencl_init] opencl_use_pinned_memory: 0 [opencl_init] opencl_use_cpu_devices: 0 [opencl_init] opencl_avoid_atomics: 0 [opencl_init] opencl_enable_markesteijn: 1 [opencl_init] [opencl_init] could not find opencl runtime library 'libOpenCL' [opencl_init] could not find opencl runtime library 'libOpenCL.so' [opencl_init] found opencl runtime library 'libOpenCL.so.1' [opencl_init] opencl library 'libOpenCL.so.1' found on your system and loaded [opencl_init] found 2 platforms [opencl_init] could not get device id size: -1 [opencl_init] found 2 devices [opencl_init] device 0 `Oland' supports image sizes of 16384 x 16384 [opencl_init] device 0 `Oland' allows GPU memory allocations of up to 1304MB [opencl_init] device 0: Oland GLOBAL_MEM_SIZE: 1924MB MAX_WORK_GROUP_SIZE: 256 MAX_WORK_ITEM_DIMENSIONS: 3 MAX_WORK_ITEM_SIZES: [ 256 256 256 ] DRIVER_VERSION: 1800.11 (VM) DEVICE_VERSION: OpenCL 1.2 AMD-APP (1800.11) [opencl_init] compiling program `demosaic_ppg.cl' .. [opencl_load_program] loaded cached binary program from file `/home/frieder/.cache/darktable/cached_kernels_for_Oland/demosaic_ppg.cl.bin' [opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/demosaic_ppg.cl' [opencl_build_program] successfully built program [opencl_build_program] BUILD STATUS: 0 BUILD LOG: [....] [opencl_init] kernel loading time: 0.0446 [opencl_init] discarding CPU device 1 `AMD Athlon(tm) 64 X2 Dual Core Processor 5600+'. [opencl_init] OpenCL successfully initialized. [opencl_init] here are the internal numbers and names of OpenCL devices available to darktable: [opencl_init] 0 'Oland' [opencl_init] these are your device priorities: [opencl_init] image preview export thumbnail [opencl_init] 0 -1 0 0 [opencl_init] FINALLY: opencl is AVAILABLE on this system. [opencl_init] initial status of opencl enabled flag is ON. ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org