Hi Johannes

On Sat, Nov 24, 2012 at 10:01 PM, johannes hanika <[email protected]> wrote:

> On Sun, Nov 25, 2012 at 7:56 AM, Jordi Besora <[email protected]>
> wrote:
> > Hi there
> >
> > [...]
> >>
> >> Let's see. Currently we have two reports in total...
> >>
> >
> > Make that three.
>
> no, yours is different. i've added your nvidia card to the list of old
> cards which don't support global atomic add, and you should be fine
> (but slow of course). can you try current git?
>
>
You're right, in darktable 1.1+3~gef5d516 the option is not greyed out any
more in my system. I attach the output below, lin case it helps.
Fortunately, I didn't experience dt being slower than before... yet, we
will see :-)

Since apparently my nvidia card is too old, could you reccomend a newer
nvidia card that will support... well, all that is needed :-)

The new output:

$ darktable -d opencl
[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 220' doesn't have sm_20 support.
[opencl_init] device 0 `GeForce GT 220' supports image sizes of 4096 x 16383
[opencl_init] device 0 `GeForce GT 220' allows GPU memory allocations of up
to 255MB
[opencl_init] device 0: GeForce GT 220
     GLOBAL_MEM_SIZE:          1023MB
     MAX_WORK_GROUP_SIZE:      512
     MAX_WORK_ITEM_DIMENSIONS: 3
     MAX_WORK_ITEM_SIZES:      [ 512 512 64 ]
[opencl_init] compiling program `demosaic_ppg.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/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_init] compiling program `atrous.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/atrous.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/atrous.cl'
[opencl_build_program] successfully built program
[opencl_init] compiling program `basic.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/basic.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/basic.cl'
[opencl_build_program] successfully built program
[opencl_init] compiling program `blendop.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/blendop.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/blendop.cl'
[opencl_build_program] successfully built program
[opencl_init] compiling program `highpass.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/highpass.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/highpass.cl'
[opencl_build_program] successfully built program
[opencl_init] compiling program `nlmeans.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/nlmeans.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/nlmeans.cl'
[opencl_build_program] successfully built program
[opencl_init] compiling program `gaussian.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/gaussian.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/gaussian.cl'
[opencl_build_program] successfully built program
[opencl_init] compiling program `sharpen.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/sharpen.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/sharpen.cl'
[opencl_build_program] successfully built program
[opencl_init] compiling program `extended.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/extended.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/extended.cl'
[opencl_build_program] successfully built program
[opencl_init] compiling program `soften.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/soften.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/soften.cl'
[opencl_build_program] successfully built program
[opencl_init] compiling program `bilateral.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/bilateral.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/bilateral.cl'
[opencl_build_program] successfully built program
[opencl_init] kernel loading time: 0.0165
[opencl_init] successfully initialized.
[opencl_init] FINALLY: opencl is AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is ON.




> j.
>
> >
> >>
> >> >
> >> > However, I fear I have to report that I still get openCL
> >> > grayed out in the settings even with this code change.
> >> > Considering me as one of the non-experts just mentioned, is
> >> > there a way I could be of help here? I'm pretty sure that
> >> > this part worked back some time ago on a box running Debian
> >> > stable.
> >>
> >> Please start darktable from a terminal with 'darktable -d opencl' and
> >> report the output.
> >
> >
> > Here we go:
> > $ darktable -d opencl
> > [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 220' has sm_20 support.
> > [opencl_init] device 0 `GeForce GT 220' supports image sizes of 4096 x
> 16383
> > [opencl_init] device 0 `GeForce GT 220' allows GPU memory allocations of
> up
> > to 255MB
> > [opencl_init] device 0: GeForce GT 220
> >      GLOBAL_MEM_SIZE:          1023MB
> >      MAX_WORK_GROUP_SIZE:      512
> >      MAX_WORK_ITEM_DIMENSIONS: 3
> >      MAX_WORK_ITEM_SIZES:      [ 512 512 64 ]
> > [opencl_init] compiling program `demosaic_ppg.cl' ..
> > [opencl_load_program] loaded cached binary program from file
> >
> `/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/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_init] compiling program `atrous.cl' ..
> > [opencl_load_program] loaded cached binary program from file
> >
> `/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/atrous.cl.bin'
> > [opencl_load_program] successfully loaded program from
> > `/usr/share/darktable/kernels/atrous.cl'
> > [opencl_build_program] successfully built program
> > [opencl_init] compiling program `basic.cl' ..
> > [opencl_load_program] loaded cached binary program from file
> >
> `/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/basic.cl.bin'
> > [opencl_load_program] successfully loaded program from
> > `/usr/share/darktable/kernels/basic.cl'
> > [opencl_build_program] successfully built program
> > [opencl_init] compiling program `blendop.cl' ..
> > [opencl_load_program] loaded cached binary program from file
> >
> `/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/blendop.cl.bin'
> > [opencl_load_program] successfully loaded program from
> > `/usr/share/darktable/kernels/blendop.cl'
> > [opencl_build_program] successfully built program
> > [opencl_init] compiling program `highpass.cl' ..
> > [opencl_load_program] loaded cached binary program from file
> >
> `/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/highpass.cl.bin'
> > [opencl_load_program] successfully loaded program from
> > `/usr/share/darktable/kernels/highpass.cl'
> > [opencl_build_program] successfully built program
> > [opencl_init] compiling program `nlmeans.cl' ..
> > [opencl_load_program] loaded cached binary program from file
> >
> `/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/nlmeans.cl.bin'
> > [opencl_load_program] successfully loaded program from
> > `/usr/share/darktable/kernels/nlmeans.cl'
> > [opencl_build_program] successfully built program
> > [opencl_init] compiling program `gaussian.cl' ..
> > [opencl_load_program] loaded cached binary program from file
> >
> `/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/gaussian.cl.bin'
> > [opencl_load_program] successfully loaded program from
> > `/usr/share/darktable/kernels/gaussian.cl'
> > [opencl_build_program] successfully built program
> > [opencl_init] compiling program `sharpen.cl' ..
> > [opencl_load_program] loaded cached binary program from file
> >
> `/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/sharpen.cl.bin'
> > [opencl_load_program] successfully loaded program from
> > `/usr/share/darktable/kernels/sharpen.cl'
> > [opencl_build_program] successfully built program
> > [opencl_init] compiling program `extended.cl' ..
> > [opencl_load_program] loaded cached binary program from file
> >
> `/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/extended.cl.bin'
> > [opencl_load_program] successfully loaded program from
> > `/usr/share/darktable/kernels/extended.cl'
> > [opencl_build_program] successfully built program
> > [opencl_init] compiling program `soften.cl' ..
> > [opencl_load_program] loaded cached binary program from file
> >
> `/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/soften.cl.bin'
> > [opencl_load_program] successfully loaded program from
> > `/usr/share/darktable/kernels/soften.cl'
> > [opencl_build_program] successfully built program
> > [opencl_init] compiling program `bilateral.cl' ..
> > [opencl_fopen_stat] could not open file
> >
> `/home/jordi/.cache/darktable/cached_kernels_for_GeForceGT220/bilateral.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/bilateral.cl'
> > [opencl_build_program] could not build program: -42
> > BUILD LOG:
> > ptxas application ptx input, line 285; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 290; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 298; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 305; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 312; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 319; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 326; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 333; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 381; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 386; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 394; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 402; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 409; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 414; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 422; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas application ptx input, line 430; error   : Instruction
> 'atom.add.f32'
> > requires .target sm_20 or higher
> > ptxas fatal   : Ptx assembly aborted due to errors
> >
> > [opencl_init] failed to compile program `bilateral.cl'!
> > [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
> > [opencl_init] initial status of opencl enabled flag is OFF.
> >
> > In case it helps:
> >
> > $ lspci | grep -i vga
> > 02:00.0 VGA compatible controller: NVIDIA Corporation GT216 [GeForce GT
> 220]
> > (rev a2)
> >
> > If I can provide any more info, please, let me know.
> >
> > Best regards.
> >
> >
> >
> >>
> >>
> >> Ulrich
> >>
> >> >
> >> > As far as I understand it some of the relevant parameters in
> >> > question here are
> >> >
> >> > $ lspci
> >> > 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [NVS
> 3100M]
> >> > (rev a2)
> >> >
> >> > $ dpkg -l nvidia\* | grep ii
> >> > ii  nvidia-alternative               304.48-1               amd64
> allows
> >> > the selection of NVIDIA as GLX provider
> >> > ii  nvidia-detect                    304.48-1               amd64
> NVIDIA
> >> > GPU detection utility
> >> > ii  nvidia-glx                       304.48-1               amd64
> NVIDIA
> >> > metapackage
> >> > ii  nvidia-installer-cleanup         20120630+3             amd64
> >> > Cleanup after driver installation with the nvidia-installer
> >> > ii  nvidia-kernel-3.2.0-3-amd64      304.48+1+1+3.2.23-1    amd64
> NVIDIA
> >> > binary kernel module for Linux 3.2.0-3-amd64
> >> > ii  nvidia-kernel-common             20120630+3             amd64
> NVIDIA
> >> > binary kernel module support files
> >> > ii  nvidia-kernel-dkms               304.48-1               amd64
> NVIDIA
> >> > binary kernel module DKMS source
> >> > ii  nvidia-libopencl1:amd64          304.48-1               amd64
> NVIDIA
> >> > OpenCL library
> >> > ii  nvidia-opencl-common             304.48-1               amd64
> NVIDIA
> >> > OpenCL driver
> >> > ii  nvidia-opencl-dev                4.2.9-1                amd64
> NVIDIA
> >> > OpenCL development files
> >> > ii  nvidia-opencl-icd:amd64          304.48-1               amd64
> NVIDIA
> >> > OpenCL ICD
> >> > ii  nvidia-settings                  304.48-1               amd64 Tool
> >> > for configuring the NVIDIA graphics driver
> >> > ii  nvidia-support                   20120630+3             amd64
> NVIDIA
> >> > binary graphics driver support files
> >> > ii  nvidia-vdpau-driver:amd64        304.48-1               amd64
> NVIDIA
> >> > vdpau driver
> >> > ii  nvidia-xconfig                   304.48-1               amd64    X
> >> > configuration tool for non-free NVIDIA drivers
> >> >
> >> > gcc (Debian 4.7.2-4) 4.7.2
> >> >
> >> > on Debian/GNU Linux 7, Wheezy (aka current Testing) on a
> >> > ThinkPad T410.
> >> >
> >> > Anything beyond that?
> >> >
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Monitor your physical, virtual and cloud infrastructure from a single
> >> web console. Get in-depth insight into apps, servers, databases, vmware,
> >> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> >> Pricing starts from $795 for 25 servers or applications!
> >> http://p.sf.net/sfu/zoho_dev2dev_nov
> >> _______________________________________________
> >> Darktable-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/darktable-users
> >
> >
> >
> >
> > --
> > Jordi <[email protected]>
> >
> >
> ------------------------------------------------------------------------------
> > Monitor your physical, virtual and cloud infrastructure from a single
> > web console. Get in-depth insight into apps, servers, databases, vmware,
> > SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> > Pricing starts from $795 for 25 servers or applications!
> > http://p.sf.net/sfu/zoho_dev2dev_nov
> > _______________________________________________
> > Darktable-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/darktable-users
> >
>



-- 
Jordi <[email protected]>
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to