ERR_NVGPUCTRPERM: Permission issue with Performance Counters
NVIDIA has a page that addresses the issue. Unfortunately, the instructions didn't solve the problem for me. However, I found a solution from rameshgunjal in the NVIDIA forums.
You might have noticed that sudo nv-nsight-cu
results in an error. Instead, you have to provide the path: sudo /usr/local/cuda/bin/nv-nsight-cu
. The same applies for other applications as well: sudo /usr/local/cuda/bin/nsight-sys
.