[Bug 1767205] Re: nvprof does not complete without sudo

2018-06-28 Thread Launchpad Bug Tracker
[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.l

[Bug 1767205] Re: nvprof does not complete without sudo

2018-04-29 Thread Martin D. Weinberg
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

[Bug 1767205] Re: nvprof does not complete without sudo

2018-04-29 Thread Graham Inggs
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

[Bug 1767205] Re: nvprof does not complete without sudo

2018-04-28 Thread Martin D. Weinberg
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 t

[Bug 1767205] Re: nvprof does not complete without sudo

2018-04-28 Thread Graham Inggs
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

[Bug 1767205] Re: nvprof does not complete without sudo

2018-04-27 Thread Graham Inggs
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

[Bug 1767205] Re: nvprof does not complete without sudo

2018-04-27 Thread Martin D. Weinberg
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

[Bug 1767205] Re: nvprof does not complete without sudo

2018-04-27 Thread Graham Inggs
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

[Bug 1767205] Re: nvprof does not complete without sudo

2018-04-27 Thread Martin D. Weinberg
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 s

[Bug 1767205] Re: nvprof does not complete without sudo

2018-04-27 Thread Graham Inggs
** 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 notificatio

[Bug 1767205] Re: nvprof does not complete without sudo

2018-04-27 Thread Graham Inggs
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