I tried to remotely analyze CUDA applications on WSL using nsys-ui and ncu-ui installed on Win10,
but encountered some errors. Does anyone know how to solve it?
1)nsys-ui error:
Full error information:
RuntimeError (120) {
RuntimeError (120) {
OriginalExceptionClass: struct boost::wrapexcept
OriginalFile: C:\dvs\p4\build\sw\devtools\Agora\Rel\QuadD_Main\QuadD\Host\Analysis\Clients\AnalysisHelper\AnalysisStatus.cpp
OriginalLine: 81
OriginalFunction: class Nvidia::QuadD::Analysis::Data::AnalysisStatusInfo __cdecl QuadDAnalysis::AnalysisHelper::AnalysisStatus::MakeFromErrorString(enum Nvidia::QuadD::Analysis::Data::AnalysisStatus,enum Nvidia::QuadD::Analysis::Data::AnalysisErrorType::Type,const class std::basic_string<char,struct std::char_traits,class std::allocator > &,const class boost::intrusive_ptr &)
ErrorText: /dvs/p4/build/sw/devtools/Agora/Rel/QuadD_Main/QuadD/Target/Daemon/TimeConversion.cpp(311): Throw in function int64_t QuadDDaemon::PostMortemTimeConverter::ConvertGpuTicksToSyncNs(const QuadDCommon::Uuid&, int64_t) const
Dynamic exception type: boost::wrapexceptQuadDCommon::InternalErrorException
std::exception::what: InternalErrorException
}
}
2)ncu-ui error:
==PROF== Connected to ncu-ui at 127.0.0.1:50152.
==PROF== Connected to process 1511 (/home/ray/proj/cpp/cuda/exercise02/00/a.out)
==PROF== Connected to process 1511 (/home/ray/proj/cpp/cuda/exercise02/00/a.out)
==ERROR== An error was reported by the counter measurement library:
==ERROR== Failed to initialize the profiler: LibraryNotLoaded. Check that a compatible driver library is loaded.
==PROF== Trying to shutdown target application
==ERROR== An error was reported by the counter measurement library:
==ERROR== Failed to initialize the profiler: LibraryNotLoaded. Check that a compatible driver library is loaded.
==PROF== Trying to shutdown target application
==ERROR== The application returned an error code (9).
3)a issue while starting nsys-ui on WSL:
OpenGL version is too low (0). Falling back to Mesa software rendering.
Skipping OpenGL version check on WSL.
OpenGL version: “”
[Hardware]
NVIDIA GeForce GTX 1080 Ti
[Software]
OS: Windows 10
NVIDIA Driver Version: 572.16
CUDA Version: 12.8
[Nsight and ncu]
os: win10
NVIDIA Nsight Systems version 2025.3.1.90-253135822126v0
NsightCompute Version 2025.2.1.0 (build 35987062) (public-release)
os: wsl2 (nsys and ncu are include in cuda12.8 toolkit)
NVIDIA Nsight Systems version 2024.6.2.225-246235244400v0
NsightCompute Version 2025.1.1.0 (build 35528883) (public-release)
---- win10 ----
F:\Nsight\target-windows-x64>nsys status -e
Timestamp counter supported: Yes
Sampling Environment Check
Administrator privileges: No
Sampling Environment: Fail
— wsl —
nsys status -e
Timestamp counter supported: No
CPU Profiling Environment Check
Root privilege: disabled
Linux Kernel Paranoid Level = 2
Linux Distribution = Ubuntu
Linux Kernel Version = 6.6.87.1-microsoft-standard-WSL2: OK
Linux perf_event_open syscall available: OK
Sampling trigger event available: OK
Intel(c) Last Branch Record support: Available
CPU Profiling Environment (process-tree): OK
CPU Profiling Environment (system-wide): Fail


