Leonid,
thank you for your report. I discovered this issue as well just few days
ago. It seems that this issue is specific for older line of AMD graphics
cards HD6xxx (and may be older too?) because nobody having the HD7xxx has
reported it so far. My is HD6850.
I already reported this issue to Ulrich Pegelow who maintains the opencl
code in dt. I already discovered that this issue has been introduced in the
1.2.1 version of dt. Older version 1.2 seems not to be affected. I'm going
to find the exact commit at which the issue has appeared in the git for the
very first time. Because it is a time consuming process, it will take some
time. And then Ulrich hopefully will resolve it. In the meanwhile you may
downgrade to the 1.2 version and stay with it until this issue is resolved.
Jiri
2013/6/13 Jiří Netopil <[email protected]>
> Leonid,
>
> thank you for your report. I discovered this issue as well just few days
> ago. It seems that this issue is specific for older line of AMD graphics
> cards HD6xxx (and may be older too?) because nobody having the HD7xxx has
> reported it so far. My is HD6850.
>
> I already reported this issue to Ulrich Pegelow who maintains the opencl
> code in dt. I already discovered that this issue has been introduced in the
> 1.2.1 version of dt. Older version 1.2 seems not to be affected. I'm going
> to find the exact commit at which the issue has appeared in the git for the
> very first time. Because it is a time consuming process, it will take some
> time. And then Ulrich hopefully will resolve it. In the meanwhile you may
> downgrade to the 1.2 version and stay with it until this issue is resolved.
>
> Jiri
>
>
>
> 2013/6/13 Leonid Kurbatov <[email protected]>
>
>>
>> Hello!
>> I try to start darkatble with opencl support, and recieve an error:
>>
>> leo@leo-305U1A:~$ darktable -d opencl
>> [opencl_init] opencl related configuration options:
>> [opencl_init]
>> [opencl_init] opencl: 1
>> [opencl_init] opencl_library: ''
>> [opencl_init] opencl_memory_requirement: 200
>> [opencl_init] opencl_memory_headroom: 0
>> [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_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 2 devices
>> [opencl_init] device 0 `Loveland' supports image sizes of 16384 x 16384
>> [opencl_init] device 0 `Loveland' allows GPU memory allocations of up to
>> 128MB
>> [opencl_init] device 0: Loveland
>> GLOBAL_MEM_SIZE: 256MB
>> MAX_WORK_GROUP_SIZE: 256
>> MAX_WORK_ITEM_DIMENSIONS: 3
>> MAX_WORK_ITEM_SIZES: [ 256 256 256 ]
>> DRIVER_VERSION: 1113.2
>> DEVICE_VERSION: OpenCL 1.2 AMD-APP (1113.2)
>> [opencl_init] compiling program `demosaic_ppg.cl' ..
>> [opencl_fopen_stat] could not open file
>> `/home/leo/.cache/darktable/cached_kernels_for_Loveland/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] could not build program: -11
>> [opencl_build_program] BUILD STATUS: -2
>> BUILD LOG:
>> "/tmp/OCLprt8xv.cl", line 278: error: floating constant is out of range
>> float2 p = backtransformf((float2)(x+.5f, y+.5f), r_x, r_y, r_wd,
>> r_ht, r_scale);
>> ^
>>
>> "/tmp/OCLprt8xv.cl", line 458: warning: double-precision constant is
>> represented as single-precision constant because double is not
>> enabled
>> float4 px_c = (float4)0.0;
>> ^
>>
>> "/tmp/OCLprt8xv.cl", line 527: error: floating constant is out of range
>> color.z = (nt.z + nb.z + 2.0f*color.y - nt.y - nb.y)*.5f;
>> ^
>>
>> 2 errors detected in the compilation of "/tmp/OCLprt8xv.cl".
>>
>> Frontend phase failed compilation.
>>
>> [opencl_init] failed to compile program `demosaic_ppg.cl'!
>> [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
>> [opencl_init] initial status of opencl enabled flag is OFF.
>> leo@leo-305U1A:~$
>>
>>
>>
>>
>> I change default values to:
>>
>> opencl_memory_requirement=200
>> opencl_memory_headroom=0
>>
>> Is it possible to run darktable with opencl support?
>> HW:
>> AMD E-450 APU with Radeon(tm) HD Graphics [2 units @ 825MHz] HD6320M
>> RAM 2Gb
>>
>> Leonid Kurbatov.
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> darktable-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/darktable-devel
>>
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel