Hello everyone, I am having trouble using nsight compute.
I am using nsight integration for visual studio 2022.
OS: Windows 11
GPU: RTX 2060
Nvidia driver: 566.36
CUDA toolkit: 12.6
Nsight compute: 2024.3.2
The Interactive Profile works, but when I try to launch the profiler I get an error.
CONSOLE OUTPUT:
==PROF== Attempting to connect to ncu-ui at 127.0.0.1:50152...
==PROF== Connected to ncu-ui at 127.0.0.1:50152.
ERROR WINDOW:
The profiler returned an error code: 3221226505 (0xc0000409)
PROGRESS LOG:
Launched process: ncu.exe (pid: 9992)
C:/Program Files/NVIDIA Corporation/Nsight Compute 2024.3.2/target/windows-desktop-win7-x64/ncu.exe --config-file off --export C:/Users/user/Nsight_compute_output/1 --force-overwrite --set full C:\Users\user\source\repos\FFT-CUDA\x64\Debug\FFT-CUDA.exe
Launch succeeded.
Profiling...
Process terminated.
What could be the cause? I have tried reinstalling nsight compute and nsight integration for visual studio.
I get the same error even with the basic cuda example project.
I tried running as Administrator
When trying to run ncu from command line, it almost immediately exits without any output.
The command exits with no output and does not generate any files.
On the Nsight Comput GUI, from “start activity”, if I select “Interactive profile” and click “launch” it works.
But if I try to select “Profile” and launch it does not work and gives me the aforementioned error.
Tried your set up internally, can not repro the issue. If possible, please clean current installation, and reinstall again (especially nsight compute and driver )
Hi,
I have already allowed performance counter access.
I have tried uninstalling and reinstalling nvidia drivers, CUDA drivers and nsight compute several times.
I have tried the newest version of CUDA drivers and nsight compute 2025 but I still get the same error.
What could be the cause? this is a big problem for me, as I need to profile with nsight compute for a university assignment.