==ERROR== ERR_NVGPUCTRPERM - The user does not have permission to access NVIDIA GPU Performance Counters on the target device 0

Ubuntu 20.04 Server + macOS GUI
CUDA 12.6
I’m running Nsight Compute GUI on macOS to profile remotely. I’m very new to this and could not get what I should do on the GUI interface.

I saw the solution page (NVIDIA Development Tools Solutions - ERR_NVGPUCTRPERM: Permission issue with Performance Counters | NVIDIA Developer) but still confused, can you simply explain what should I do in GUI on macOS?

Hi, @peiqi.zhang97
The permission issue indicates that your target machine do not allow profiling.
To fix this, you need to follow below instructions on your target linux(x86_64).

To elaborate on the previous post: you either need to profile as root on the remote machine, or allow non-root users to access performance counters on that machine. The latter can’t be done from the ncu-ui on Mac, it must be done on the remote machine directly (once).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.