Skip to content

Instantly share code, notes, and snippets.

@xaliander
xaliander / NVIDIA_Performance_Counters.md
Last active December 11, 2023 06:54
ERR_NVGPUCTRPERM: Permission issue with Performance Counters

Error

ERR_NVGPUCTRPERM: Permission issue with Performance Counters

Solutions for this issue

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.

Option 1: Running the program as admin

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.

@xaliander
xaliander / NVIDIA_Driver_Update.md
Last active April 18, 2024 03:34
How to update your NVIDIA driver for CUDA on Ubuntu v20.04.2

Installing CUDA

Warning: Today's date is April 14th 2021, and therefore these instructions might no longer be applicable for you!

Too Long Didn't Read (TLDR): Getting the error message below after installing CUDA? Download the .run file and follow the non (optional) code snippets to update your NVIDIA driver.

I started off by installing Ubuntu and afterwards I PRECISELY followed these installation instructions from NVIDIA on how install CUDA. I recommend you do the same.