Needs udev rule to create /dev/nvidia-uvm-tools device node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-390 (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone | ||
Bionic |
New
|
Undecided
|
Unassigned |
Bug Description
Without nvidia-modprobe installed, attempting to profile a CUDA executable using nvprof as a normal user fails with:
======== Error: unified memory profiling failed.
After installing nvidia-modprobe, profiling succeeds.
After rebooting, with or without nvidia-modprobe installed:
$ lsmod | grep nv
nvidia_uvm 757760 0
nvidia_drm 40960 5
nvidia_modeset 1110016 7 nvidia_drm
nvidia 14340096 386 nvidia_
drm_kms_helper 167936 1 nvidia_drm
drm 401408 8 nvidia_
ipmi_msghandler 53248 2 nvidia,ipmi_devintf
ls -l /dev/nv*
crw-rw-rw- 1 root root 195, 0 Apr 29 10:16 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 Apr 29 10:16 /dev/nvidiactl
crw-rw-rw- 1 root root 195, 254 Apr 29 10:16 /dev/nvidia-modeset
crw-rw-rw- 1 root root 241, 0 Apr 29 10:16 /dev/nvidia-uvm
With nvidia-modprobe installed, after successfully running nvprof:
$ lsmod | grep nv
nvidia_uvm 757760 0
nvidia_drm 40960 5
nvidia_modeset 1110016 7 nvidia_drm
nvidia 14340096 389 nvidia_
drm_kms_helper 167936 1 nvidia_drm
drm 401408 8 nvidia_
ipmi_msghandler 53248 2 nvidia,ipmi_devintf
$ ls -l /dev/nv*
crw-rw-rw- 1 root root 195, 0 Apr 29 10:45 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 Apr 29 10:45 /dev/nvidiactl
crw-rw-rw- 1 root root 195, 254 Apr 29 10:45 /dev/nvidia-modeset
crw-rw-rw- 1 root root 241, 0 Apr 29 10:45 /dev/nvidia-uvm
crw-rw-rw- 1 root root 241, 1 Apr 29 10:56 /dev/nvidia-
See also:
https:/
https:/
Changed in nvidia-graphics-drivers-390 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Alberto Milone (albertomilone) |
PR: https:/ /github. com/tseliot/ nvidia- graphics- drivers/ pull/21