Control: tag -1 moreinfo

On 2018-01-31 15:45, Pascal Obry wrote:
> I don't understand why clinfo as root seems to "unblock" something. Any idea?

it loads the kernel module, which *should* also work if clinfo is run as
regular user

> I have reproduced this 2 times, so I'm pretty sure about the above
> report even if it seems strange.
> Let me know if you want me to do some more testing.

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