Il giorno lun 6 ott 2014 alle 12:26, Michael Below <be...@judiz.de> ha scritto:
Hi Tomas,

Thanks for your input. For me, OpenCL is now working, (nearly) without workarounds, using the packages from Debian testing (nvidia driver v. 340).

My steps:
- Debian testing, ocl-icd-libopencl1 is providing libOpenCL.so.1
-          Purge all nvidia packages
-          Reboot (to console)
-          Install nvidia-driver and  nvidia-opencl-icd
- At this point clinfo shows OpenCL support, darktable can’t use it - Install nvidia-cuda-toolkit (or probably any other OpenCL development package)

Now darktable can use OpenCL.



Thanks Micheal, I never came so close to get OpenCL working, after months (I didn't put much effort though). Purging and reinstalling seemed to work. I had to install also libopencl-dev to make it work. And I previously created the symlink libOpenCL.so.

Now I get this:

$ darktable -d opencl
[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_omit_whitebalance: 0
[opencl_init]
[opencl_init] trying to load opencl library: '<system default>'
[opencl_init] opencl library 'libOpenCL' found on your system and loaded
[opencl_init] found 1 platform
[opencl_init] found 1 device
[opencl_init] device 0 `GeForce GT 630' has sm_20 support.
[opencl_init] device 0 `GeForce GT 630' supports image sizes of 32768 x 32768 [opencl_init] device 0 `GeForce GT 630' allows GPU memory allocations of up to 511MB
[opencl_init] device 0: GeForce GT 630
    GLOBAL_MEM_SIZE:          2047MB
    MAX_WORK_GROUP_SIZE:      1024
    MAX_WORK_ITEM_DIMENSIONS: 3
    MAX_WORK_ITEM_SIZES:      [ 1024 1024 64 ]
    DRIVER_VERSION:           340.32
    DEVICE_VERSION:           OpenCL 1.1 CUDA
[opencl_init] compiling program `demosaic_ppg.cl' ..
[opencl_fopen_stat] could not open file `/home/fede/.cache/darktable/cached_kernels_for_GeForceGT630/demosaic_ppg.cl.bin'! [opencl_load_program] could not load cached binary program, trying to compile source [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:






------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Darktable-users mailing list
Darktable-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to