[Bug 1767205] Re: nvprof does not complete without sudo
[Expired for nvidia-cuda-toolkit (Ubuntu) because there has been no activity for 60 days.] ** Changed in: nvidia-cuda-toolkit (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767205 Title: nvprof does not complete without sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1767205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767205] Re: nvprof does not complete without sudo
Same problem with bandwidthTest. nvprof works with deviceQuery and reports time spent in the various cuda query calls, but also reports "no kernels profiled". I did check the /dev/nvidia* permissions and they look fine to me, e.g. crw-rw-rw. As I also mentioned, suid/guid on nvprof did not help either; has to be sudo or an actual root login (e.g. sudo -i). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767205 Title: nvprof does not complete without sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1767205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767205] Re: nvprof does not complete without sudo
Martin, thanks for testing and for the link. >From that link, it sounds like there is a known issue with cudaMemcpy2DToArray. Would you try some of the samples from 1_Utilities, e.g. bandwdithTest, or even deviceQuery and see if you get the same error? At this stage, please keep nvidia-modprobe installed. While trying to reproduce this issue, I was also unable to run nvprof as a normal user after removing nvidia-modprobe, but I never see 'Error: Internal profiling error 4168:999'. I've reported this as bug LP: #176 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767205 Title: nvprof does not complete without sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1767205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767205] Re: nvprof does not complete without sudo
I tried it, and the behavior is the same. However, the thread http://devtalk.nvidia.com/default/topic/1025155 /-resolved-profiling-error-4168-999 suggests that this issue may be an upstream bug, although the developer did not give details. So maybe the Ubuntu package is all good, but we'll need to wait for an upstream release to fix this issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767205 Title: nvprof does not complete without sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1767205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767205] Re: nvprof does not complete without sudo
Martin, I noticed your GPU has compute capability 6.1 and my tested GPUs were 5.0 and 3.0. Would you please try the newer nvidia-modprobe 390.25 from my PPA? https://launchpad.net/~ginggs/+archive/ubuntu/testing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767205 Title: nvprof does not complete without sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1767205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767205] Re: nvprof does not complete without sudo
I will try to reproduce this in a clean install next week. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767205 Title: nvprof does not complete without sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1767205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767205] Re: nvprof does not complete without sudo
Thanks. Did that, but no change in the 'nvprof' behavior. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767205 Title: nvprof does not complete without sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1767205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767205] Re: nvprof does not complete without sudo
Please try: sudo apt install nvidia-modprobe and reboot. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767205 Title: nvprof does not complete without sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1767205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767205] Re: nvprof does not complete without sudo
There is no change running 'nvprof' immediately after 'sudo 'nvprof' or vice versa. The former fails, the latter works. The same is true for 'nvvp' because of course 'nvvp' calls 'nvprof'. I ran 'nvprof' with strace to look for some sort of write access to a /proc or /sys resource but I didn't see anything obvious. I build this machine expressly for CUDA development and 18.04 (then beta) was installed one week ago so there have been next to no customizations. I do not have another Ubuntu box with Nvidia, sorry about that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767205 Title: nvprof does not complete without sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1767205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767205] Re: nvprof does not complete without sudo
** Changed in: nvidia-cuda-toolkit (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767205 Title: nvprof does not complete without sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1767205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767205] Re: nvprof does not complete without sudo
Martin, thanks for the detailed bug report. I have tried on two different machines and on both, nvprof works without requiring sudo access. However, neither of these are fresh installations of 18.04. After running nvprof with sudo, please try running it again without. Also, would you be able to test on a different machine? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767205 Title: nvprof does not complete without sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1767205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs