Thanks,

I am using Ubuntu 12.04 with nvidia-current-updates. The working
solution is:

sudo ln -s /usr/share/nvidia-current-updates/nvidia.icd
/etc/OpenCL/vendors/nvidia.icd

Also not the libcuda has to go in the icd file (like in my starce) but
the nvidia-opencl.so

Andreas

Am 28.10.2012 10:23, schrieb Ulrich Pegelow:
> That's an issue of the OpenCL package maintainer of your distribution.
> We don't touch /etc/OpenCL/ and the files there at all.
>
> Ulrich
>
> Am 28.10.2012 10:08, schrieb Andreas Schrell:
>> Hi,
>>
>> looks like the cuda lib is not found because the trailing newline is
>> included in the file name. strace included.
>>
>> I don't know if its dt or libs fault.
>>
>> Andreas
>>
>> openat(AT_FDCWD, "/etc/OpenCL/vendors/",
>> O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 8
>> getdents(8, /* 4 entries */, 32768)     = 112
>> open("/etc/OpenCL/vendors/nvidia.icd", O_RDONLY) = 9
>> fstat(9, {st_mode=S_IFREG|0644, st_size=51, ...}) = 0
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
>> = 0x7fbbb1d47000
>> fstat(9, {st_mode=S_IFREG|0644, st_size=51, ...}) = 0
>> lseek(9, 0, SEEK_SET)                   = 0
>> read(9, "/usr/lib/nvidia-current-updates/"..., 51) = 51
>> lseek(9, 51, SEEK_SET)                  = 51
>> open("/usr/lib/nvidia-current-updates/libcuda.so.304.43\n",
>> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> close(9)                                = 0
>> munmap(0x7fbbb1d47000, 4096)            = 0
>>
>>
> ------------------------------------------------------------------------------
> WINDOWS 8 is here. 
> Millions of people.  Your app in 30 days.
> Visit The Windows 8 Center at Sourceforge for all your go to resources.
> http://windows8center.sourceforge.net/
> join-generation-app-and-make-money-coding-fast/
> _______________________________________________
> darktable-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/darktable-devel


------------------------------------------------------------------------------
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to