Comment # 2 on bug 991375 from
(In reply to Stefan Dirsch from comment #1)
> @1: I see these libs installed in /usr/lib64
> # rpm -qplv nvidia-computeG04-367.35-25.1.x86_64.rpm |grep opencl
> lrwxrwxrwx    1 root    root                       26 Jul 26 13:56
> /usr/lib64/libnvidia-opencl.so.1 -> libnvidia-opencl.so.367.35
> -rwxr-xr-x    1 root    root                  8481000 Jul 26 13:56
> /usr/lib64/libnvidia-opencl.so.367.35
> 
> Not sure why you expect them in /usr/lib64/nvidia ...
> 
> @2: Not sure what's wrong on your system with the current 50-nvidia.conf,
> it's based on the 50-nvidia.conf in bnc#879767. I'm afraid you need to debug
> yourself on your system, what's the issue here. I cannot reproduce.

Thanks Stefan for looking into this.

@1: this is an "Optimus" notebook (Intel+Nvidia) with "bumblebee" installed, so
when the nvidia chip is engaged (e.g. with "optirun darkroom" or "optirun
clinfo") libnvidia* are searched in /usr/lib64/nvidia/.

@2: apparently the problem is a wrong packaging of the "bumblebee project"
nvidia-compute* packages.
Looking at nvidia-computeG04-367.35-25.1.x86_64.rpm (the "regular" package you
are using) I find indeed the needed 50-nvidia.conf and the two files
/libnvidia-opencl.so.1 -> libnvidia-opencl.so.367.35.
Unfortunately, being a "regular" installer, libraries go to /usr/lib64/, not
what is expected on a "bumblebee" install.
Looking at the nvidia-compute-<rev>.rpm packages from
/repositories/home:/Bumblebee-Project:/nVidia:/
I can confirm that both 50-nvidia.conf and the /libnvidia-opencl.so.1 -> link
are missing.
So, on a current "bumblebee" install OpenCL is broken, unless my workarounds
are applied.

If there is a good reason for the current "bumblebee" packaging, at least we
can refer to this bugreport when somebody occasionally complains that "OpenCL
doesn't work" over the Forums.


You are receiving this mail because: