Dear maintainers, I found a reproduce step. Could you try this?
$ sudo modprobe -r nvidia_uvm $ clinfo $ nvidia-modprobe -u $ clinfo $ sudo modprobe nvidia_uvm $ clinfo I’m using newer driver 390.25-1 from SVN. Although nvidia-modprobe is setuided, it seems not to work properly as expected. Regards, Hiromasa YOSHIMOTO > 2018/02/05 16:02、Pascal Obry <[email protected]>のメール: > > Hello Andreas, > > Thanks for your feedback. I have just rebooted and tested as you > proposed: > > First, unload is not possible as nvidia is in use. > > $ sudo modprobe -r nvidia > [sudo] password for obry: > modprobe: FATAL: Module nvidia_drm is in use. > modprobe: FATAL: Error running remove command for nvidia > > $ lsmod | grep nvidia > nvidia_drm 53248 4 > drm_kms_helper 192512 1 nvidia_drm > drm 438272 7 nvidia_drm,drm_kms_helper > nvidia_modeset 860160 9 nvidia_drm > nvidia 13168640 594 nvidia_modeset > > $ nvidia-modprobe -u > > Let's check clinfo: > > $ clinfo > Number of platforms 0 > > Not working, so let's run clinfo as root: > > $ sudo clinfo > Number of platforms 1 > Platform Name NVIDIA CUDA > Platform Vendor NVIDIA Corporation > Platform Version OpenCL 1.2 CUDA 9.0.282 > Platform Profile FULL_PROFILE > Platform Extensions > cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics > cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics > cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing > cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll > cl_nv_copy_opts cl_khr_gl_event cl_nv_create_buffer > Platform Extensions function suffix NV > > Platform Name NVIDIA CUDA > Number of devices 1 > Device Name Quadro M1000M > Device Vendor NVIDIA Corporation > ... > > All fine now. And running clinfo as user also works fine at this stage and > this until I reboot. > > And the permissions bits are ok: > > $ ls -la /usr/bin/nvidia-modprobe > -rwsr-xr-x 1 root root 34904 Jan 13 16:43 /usr/bin/nvidia-modprobe > > Please let me know if you want me to do some more testing. > > This seems fishy and I can assure you that I have the same issue on two > different computers. > > Regards, > > -- > Pascal Obry / Magny Les Hameaux (78) > > The best way to travel is by means of imagination > > http://www.obry.net > > gpg --keyserver keys.gnupg.net --recv-key F949BD3B > > _______________________________________________ > pkg-nvidia-devel mailing list > [email protected] > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-nvidia-devel

