| Summary: | CUDA / libcuda no longer recognised and used | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | qxc |
| Component: | xorg-x11-drv-nvidia | Assignee: | Nicolas Chauvet <kwizart> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | julien.enche, ksee.zelgadis, rui.tech, s.adam |
| Priority: | P5 | ||
| Version: | 19 | ||
| Hardware: | All | ||
| OS: | GNU/Linux | ||
| namespace: | |||
| Attachments: | Nvidia bugreport Log | ||
Can you reproduce with current nvidia releases ? Sorry, still the same, BOINC tellse me "no usable GPUs found" Do you have xorg-x11-drv-nvidia-devel installed ? Does it solve something if you make a symlink ln -s nvidia/libcuda.so /usr/lib64/libcuda.so > Does it solve something if you make a symlink
ln -s nvidia/libcuda.so /usr/lib64/libcuda.so
That did the trick! Or to be more exact, I created a symlink /usr/lib64/libcuda.so to /usr/lib64/nvidia/libcuda.so.1 - because there was no libcuda.so
Does it still works if you are using /usr/lib64/libcuda.so and point to /usr/lib64/nvidia/libcuda.so.1 (with /usr/lib64/libcuda.so removed) That's exactly what I've done and where it works with... Sorry, I meant:
> Does it solve something if you make a symlink
ln -s nvidia/libcuda.so.1 /usr/lib64/libcuda.so.1
removing /usr/lib64/libcuda.so and nvidia/libcuda.so
We are not expected to have un-versionned shared object in /usr/lib64
Thx for your answear
ping ? Sorry, have been away for some time. Using /usr/lib64/libcuda.so instead of /usr/lib64/libcuda.so.1 does not work. *** Bug 3006 has been marked as a duplicate of this bug. *** Is this bug supposed to be fixed ? With the latest version, boinc and blender can't find any Cuda device, unless I rename the symlink /usr/lib64/libcuda.so.1 to /usr/lib64/libcuda.so Let me know if you need more information or if you want me to do some tests. (In reply to comment #11) > Is this bug supposed to be fixed ? It's clearly a bug in your application, thoses need to trust the system linker and use the provided libcuda.so.1 (not the symlink) I can only provide temporary workaround, but please tell where you have picked the version of blender and boinc ? I did my test with the official version of Blender available on their website and with BOINC installed from the Fedora repository. (In reply to comment #13) > I did my test with the official version of Blender available on their website > and with BOINC installed from the Fedora repository. Can you retry with the official blender fedora package and report a bug into boinc fedora ? It's forbidden to dlopen binaries from the unversioned shared object. Hello! I have the same problem on Fedora 20 x86_64 with Blender (version from blender.org website) - no CUDA device available for selection in user preferences. Creating link /usr/lib64/nvidia/libcuda.so -> /usr/lib64/nvidia/libcuda.so.1 OR /usr/lib64/libcuda.so -> /usr/lib64/nvidia/libcuda.so.1 solves problem for me. Also, I already have a symlink /usr/lib64/libcuda.so.1 -> /usr/lib64/nvidia/libcuda.so.1, but Blender doesn't see CUDA device if I have no /usr/lib64/libcuda.so or /usr/lib64/nvidia/libcuda.so This issue is affecting other users - http://blenderartists.org/forum/showthread.php?314212-Cycles-does-not-show-GPU-what-is-the-problem Also tested with official blender package (blender-1:2.69-5.fc20). With official package I cannot get CUDA device available even if I have /usr/lib64/nvidia/libcuda.so or /usr/lib64/libcuda.so symlinks. NvIdia driver version: xorg-x11-drv-nvidia-331.67-1.fc20.x86_64 This should be fixed nowadays |
Created attachment 1160 [details] Nvidia bugreport Log Since update to F19 CUDA / libcuda is no longer recognised and therefore not used by BOINC