Page 1 of 1

GPU support and location of libcuda.so on Linux

Posted: Tue Oct 29, 2013 8:11 pm
by Nick Payne
How do I change the location where Neat Image looks for libcuda.so. I have Ubuntu 13.10 amd64 and an nVidia GTX650 Ti Boost card with latest nVidia driver installed. Neat Image doesn't find a GPU device, and when I look at the GPU detection log, I see

Code: Select all

Looking for NVIDIA CUDA-capable devices...
Failed to load CUDA driver ("/usr/lib64/libcuda.so")
If you use an NVIDIA card, please install the latest video driver with CUDA support.
libcuda.so exists and is in folder /usr/lib/nvidia-331. There is no /usr/lib64 folder, only /usr/lib and /usr/lib32.

I know that GPU processing works because I also have Autopano Pro installed and it detects the GPU and uses it for rendering without any problem.

Posted: Tue Oct 29, 2013 8:51 pm
by Nick Payne
Well, to answer my own question, the fix was to remove the invalid symlinks to libcuda.so.1 and libOpenCL.so.1 that the Neat Image installation had placed in the following folders, and replace them with symlinks to those files at the locations where they actually exist. The broken symlinks were in these folders:

Code: Select all

/usr/local/Neat Image Standalone/.lib64/lib
/usr/local/Neat Image Standalone/.lib64/lib/fglrx
/usr/local/Neat Image Standalone/.lib64/lib/nvidia-current
/usr/local/Neat Image Standalone/.lib64/lib64
/usr/local/Neat Image Standalone/.lib64/lib64/fglrx
/usr/local/Neat Image Standalone/.lib64/lib64/nvidia-current
Once I had done that, the GPU was detected and processing worked.