On Sun, Nov 25, 2012 at 2:35 AM, Ulrich Pegelow
<[email protected]> wrote:
> Hi,
>
> I think this problem has been reported before. It's most likely caused
> by a compiler bug of your OpenCL driver. See thread "OpenCL problem with
> NVidia Optimus" in darktable-devel.
fwiw, i can run
nvidia driver 304.43
geforce gt 540m
optimus
via bumblebee/optirun just fine.
j.
> A work-around was found by the TO. Replace kernel blendop_mask_RAW in
> blendop.cl with the following code. It is functional identical but
> tricks to compiler to not trigger the bug.
>
> Let's hope that the issue gets fixed by NVIDIA soon.
>
> Ulrich
>
>
> __kernel void
> blendop_mask_RAW (__read_only image2d_t in_a, __read_only image2d_t
> in_b, __write_only image2d_t mask, const int width, const int height,
> const float gopacity, const int blendif, global const float
> *blendif_parameters)
> {
> const int x = get_global_id(0);
> const int y = get_global_id(1);
>
> if(x >= width || y >= height) return;
>
> float4 a = read_imagef(in_a, sampleri, (int2)(x, y));
> float4 b = read_imagef(in_b, sampleri, (int2)(x, y));
>
> float bif = blendif_factor_Lab(a, b, blendif, blendif_parameters);
> float opacity = gopacity * bif;
> opacity /= bif;
>
> write_imagef(mask, (int2)(x, y), opacity);
> }
>
>
>
> Am 24.11.2012 14:10, schrieb Rene Weiss:
>> Hi
>>
>> When i build darktable (1.1rc2 or the version from git) then i can't
>> activate the opencl support (the field under "core options "is grayed out).
>>
>> darktable-cltest reports "failed to compile program `blendop.cl".
>>
>> I uploaded the full output of darktable-cltest to:
>> http://pastebin.com/gNsgRp6X
>>
>> I think that some library is missing or the wrong version, but i don't
>> know which.
>>
>> Does someone here know how to fix this problem?
>>
>> thanks,
>> René
>>
>
> ------------------------------------------------------------------------------
> 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
------------------------------------------------------------------------------
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