Control: tag -1 moreinfo

On 2018-02-02 17:19, Krzysztof Marczak wrote:
> Thank you for quick reply.
> You were right. It's look like it's the same problem as reported in #888952
> When after reboot I don't run clinfo as a root, the NVidia OpenCL platform
> is not visible. After running 'sudo clinfo' it starts to work properly.
> It's reproducible all the time.
I cannot reproduce the problem here. (Tried the 384.111 driver from
stretch-backports, using both ocl-icl-libopencl1 and nvidia-libopencl1.
Only possible difference is that I'm running a rather old non-distro
kernel for unrelated reasons.)

But it should be easy for you to test the module loading mechanism,
assuming you don't have X running using the nvidia driver:

$ sudo modprobe -r nvidia       # unload all nvidia modules
$ lsmod | grep nvidia           # expect no output
$ nvidia-modprobe -u            # NVIDIA's setuid root helper
$ lsmod | grep nvidia           # expect nvidia and nvidia-uvm

If that doesn't work for you, the setuid helper nvidia-modprobe is not
working properly on your system

$ ls -la /usr/bin/nvidia-modprobe

should print

-rwsr-xr-x 1 root root ...
   ^         ^^^^


Reply via email to