Ulrich Pegelow wrote:

Hi!

> Forgot to mention. If you have other applications which consume 
> significant amounts of GPU memory this could also cause OpenCL in 
> darktable to fail. Unfortunately there is no way to find out at any
> time which amount of GPU memory is still available. Therefore
> darktable assumes it can have all minus the amount given in
> opencl_memory_headroom.
> 
> You should try what happens if you run darktable after having shut
> down all other user applications (IIRC geeqie was one of the programs
> which uses GPU, another one is probably Gimp).
> 


just another observation: i have to set opencl_memory_headroom: 600

easy to catch: watch for x!=0 events lost in opencl-log.


greets
Wolfgang


p.s.: for-the-file 

darktable-cli 
/data/digi/20150605_augenblicke_XVII/20150606-00340220-NIKON_D800E.nef t.jpg 
--core -d opencl > XXX.log

diff opencl_origrc.log opencl_origrc-600.log
6c6
< [opencl_init] opencl_memory_headroom: 300
---
> [opencl_init] opencl_memory_headroom: 600
144c144
< [opencl_init] kernel loading time: 0.0342 
---
> [opencl_init] kernel loading time: 0.0345 
297,302c297,299
< [default_process_tiling_cl_ptp] (1 x 2) tiles with max dimensions 4924 x 5721 
and overlap 400
< [default_process_tiling_cl_ptp] tile (0, 0) with 4924 x 5721 at origin [0, 0]
< [opencl copy_buffer_to_image] could not copy buffer: -4
< [opencl_shadows&highlights] couldn't enqueue kernel! -4
< [default_process_tiling_opencl_ptp] couldn't run process_cl() for module 
'shadhi' in tiling mode: 0
< [opencl_pixelpipe] failed to run module 'shadhi'. fall back to cpu path
---
> [default_process_tiling_cl_ptp] (1 x 2) tiles with max dimensions 4924 x 4739 
> and overlap 400
> [default_process_tiling_cl_ptp] tile (0, 0) with 4924 x 4739 at origin [0, 0]
> [default_process_tiling_cl_ptp] tile (0, 1) with 4924 x 3435 at origin [0, 
> 3939]
304,308c301,303
< [default_process_tiling_cl_ptp] (1 x 2) tiles with max dimensions 4924 x 6813 
and overlap 5
< [default_process_tiling_cl_ptp] tile (0, 0) with 4924 x 6813 at origin [0, 0]
< [opencl_sharpen] couldn't enqueue kernel! -4
< [default_process_tiling_opencl_ptp] couldn't run process_cl() for module 
'sharpen' in tiling mode: 0
< [opencl_pixelpipe] failed to run module 'sharpen'. fall back to cpu path
---
> [default_process_tiling_cl_ptp] (1 x 2) tiles with max dimensions 4924 x 6422 
> and overlap 5
> [default_process_tiling_cl_ptp] tile (0, 0) with 4924 x 6422 at origin [0, 0]
> [default_process_tiling_cl_ptp] tile (0, 1) with 4924 x 962 at origin [0, 
> 6412]
313,314c308,309
< [export_job] exported to `t20150606-00340220-NIKON_D800E_09.jpg'
< [opencl_summary_statistics] device 'GeForce GTX 660': 53 out of 55 events 
were successful and 2 events lost
---
> [export_job] exported to `t20150606-00340220-NIKON_D800E_11.jpg'
> [opencl_summary_statistics] device 'GeForce GTX 660': 73 out of 73 events 
> were successful and 0 events lost





[I] sys-kernel/aufs-sources (4.0.5(4.0.5)@07.06.2015): Full sources including 
the Gentoo patchset for the 4.0 kernel tree and aufs4 support
[I] media-gfx/darktable (9999@08.06.2015): A virtual lighttable and darkroom 
for photographers
[I] x11-drivers/nvidia-drivers (349.16@25.05.2015): NVIDIA Accelerated Graphics 
Driver





Attachment: pgpDdBok33lTw.pgp
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to