Hi,
I seem to hit an issue with OpenCL that... is a bit of a mystery to
me. I have enabled use of OpenCL, and made darktable accept my poor
512MB GPU mem. Still, it didn't want to run with OpenCL. A debugging
flag shows a bit more:
: ; 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 G 103M' has sm_20 support.
[opencl_init] device 0 `GeForce G 103M' supports image sizes of 4096 x 16383
[opencl_init] device 0 `GeForce G 103M' allows GPU memory allocations of up
to 128MB
[opencl_init] device 0: GeForce G 103M
GLOBAL_MEM_SIZE: 511MB
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/levitte/.cache/darktable/cached_kernels_for_GeForceG103M/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:
... until this:
[opencl_init] compiling program `bilateral.cl' ..
[opencl_fopen_stat] could not open file
`/home/levitte/.cache/darktable/cached_kernels_for_GeForceG103M/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
[opencl_build_program] BUILD STATUS: -2
BUILD LOG:
ptxas application ptx input, line 295; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 300; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 308; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 315; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 322; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 329; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 336; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 343; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 391; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 396; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 404; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 412; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 419; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 424; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 432; error : Instruction 'atom.add.f32'
requires .target sm_20 or higher
ptxas application ptx input, line 440; 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.
So ok, bilateral.cl requires sm_20 or higher, and I can understand it
if my card didn't support that. However, there's this line from the
start of darktable that suggests it should:
[opencl_init] device 0 `GeForce G 103M' has sm_20 support.
I'm not sure how to go further with this, and am looking for tips.
Cheers,
Richard
--
Richard Levitte [email protected]
http://richard.levitte.org/
"Life is a tremendous celebration - and I'm invited!"
-- from a friend's blog, translated from Swedish
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users