This looks almost completely wrong - all symlinks point to i386 (32
bit) version of library, no wonder 64bit application (darktable) can't
load libOpenCL.so.

On Sat, 30 Aug 2014 12:55:45 +0200
Victor L <[email protected]> wrote:

> I added 3 symlinks:
> 
> $ sudo find / -iname libOpenCL.so -exec ls -l {} \;
> lrwxrwxrwx 1 root root 45 août  30 12:51
> /usr/lib/x86_64-linux-gnu/libOpenCL.so ->
> /usr/lib/i386-linux-gnu/libnvidia-opencl.so.1
> lrwxrwxrwx 1 root root 45 août  30 12:48 /usr/lib/libOpenCL.so ->
> /usr/lib/i386-linux-gnu/libnvidia-opencl.so.1
> lrwxrwxrwx 1 root root 45 août  30 12:51
> /usr/lib/i386-linux-gnu/libOpenCL.so ->
> /usr/lib/i386-linux-gnu/libnvidia-opencl.so.1
> 
> Unfortunately it doesn't help, and darktable doesn't give much information
> about where it looks for libOpenCL!
> 
> [opencl_init] trying to load opencl library: '<system default>'
> [opencl_init] could not find opencl runtime library 'libOpenCL'
> 
> Bye
> 
> 
> 2014-08-30 0:04 GMT+02:00 Tony Moore <[email protected]>:
> 
> > it might be looking for libOpenCL.so. Try adding a link from libOpenCL.so.1
> >
> > tony
> >
> >
> >
> > On Fri, Aug 29, 2014 at 2:23 PM, Victor L <[email protected]>
> > wrote:
> >
> >> Hello,
> >>
> >> OpenCL was previously working without having anything to do but after
> >> installing the Nvidia CUDA toolkit I can't get it working again.
> >>
> >> The driver when it was working was 331.38 (I still have some
> >> cached_kernels_for_GeForceGTX770). I'm on Ubuntu 14.04
> >>
> >> My graphic card is a GeForce GTX 770, I kept the drivers version at 331.38
> >>
> >> ii  nvidia-331
> >> 331.38-0ubuntu7.1                                   amd64        NVIDIA
> >> binary driver - version 331.38
> >> ii  nvidia-libopencl1-331
> >> 331.38-0ubuntu7.1                                   amd64        NVIDIA
> >> OpenCL Driver and ICD Loader library
> >> ii  nvidia-opencl-icd-331
> >> 331.38-0ubuntu7.1                                   amd64        NVIDIA
> >> OpenCL ICD
> >> ii  nvidia-prime
> >> 0.6.2                                               amd64        Tools to
> >> enable NVIDIA's Prime
> >> ii  nvidia-settings
> >> 331.20-0ubuntu8                                     amd64        Tool for
> >> configuring the NVIDIA graphics driver
> >>
> >> $ sudo find / -iname libopencl*
> >> /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0
> >> /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
> >> /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
> >> /usr/lib/i386-linux-gnu/libOpenCL.so.1.0
> >> /usr/lib/i386-linux-gnu/libOpenCL.so.1
> >> /usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0
> >>
> >> $ cat /etc/OpenCL/vendors/nvidia.icd
> >> libnvidia-opencl.so.1
> >>
> >> $ darktable -d opencl
> >> [opencl_init] opencl related configuration options:
> >> [opencl_init]
> >> [opencl_init] opencl: 1
> >> [opencl_init] opencl_library: ''
> >> [opencl_init] opencl_memory_requirement: 768
> >> [opencl_init] opencl_memory_headroom: 300
> >> [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_use_pinned_memory: 0
> >> [opencl_init] opencl_use_cpu_devices: 0
> >> [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] could not find opencl runtime library 'libOpenCL'
> >> [opencl_init] no working opencl library found. Continue with opencl
> >> disabled
> >> [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
> >> [opencl_init] initial status of opencl enabled flag is OFF.
> >>
> >> How can I specify the path for the OpenCL library ?
> >> Any help is appreciated!
> >>
> >> Bye
> >>
> >>
> >>
> >> ------------------------------------------------------------------------------
> >> Slashdot TV.
> >> Video for Nerds.  Stuff that matters.
> >> http://tv.slashdot.org/
> >> _______________________________________________
> >> Darktable-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/darktable-users
> >>
> >>
> >
> >
> > --
> > Tony Moore
> > [email protected]
> >

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to