Hi,
I have Windows 10 64-bits and a RTX 2060 GPU. I am trying to use NSight Systems for a Windows 64-bit application in Vulkan but unfortunately I cannot start profiling. I am getting the error:
RuntimeError (120) {
TargetSideError (1100) {
ErrorText: C:\BuildAgent\work\20a3cfcd1c25021d\QuadD\Common\ProcessWaiter\Src\Windows\ProcessWaiterImpl.cpp(173): Throw in function void __cdecl QuadDCommon::ProcessWaiter::ProcessWaiterImpl::CreateJobAndAssignProcess(class QuadDCommon::StrongType<class QuadDCommon::LimitedNumber<unsigned int,4294967295>,class QuadDCommon::ProcessIdTag>)
Dynamic exception type: class boost::exception_detail::clone_impl<class QuadDCommon::SystemException>
std::exception::what: SystemException
[struct boost::errinfo_api_function_ * __ptr64] = OpenProcess
[struct QuadDCommon::tag_errno_text * __ptr64] = Access is denied
[struct QuadDCommon::tag_message * __ptr64] = Failed to open process 13356
[struct QuadDCommon::tag_winapi_error_code * __ptr64] = 5
ServiceName: AnalysisService
MethodName: Init
SystemError (124) {
ErrorText: Failed to open process 13356
ApiFunction: OpenProcess
OriginalFile: C:\BuildAgent\work\20a3cfcd1c25021d\QuadD\Common\ProcessWaiter\Src\Windows\ProcessWaiterImpl.cpp
OriginalLine: 173
OriginalFunction: void __cdecl QuadDCommon::ProcessWaiter::ProcessWaiterImpl::CreateJobAndAssignProcess(class QuadDCommon::StrongType<class QuadDCommon::LimitedNumber<unsigned int,4294967295>,class QuadDCommon::ProcessIdTag>)
OriginalExceptionClass: class boost::exception_detail::clone_impl<class QuadDCommon::SystemException>
}
}
StartAnalysisError (4105) {
TargetSideError (1100) {
ErrorText: C:\BuildAgent\work\20a3cfcd1c25021d\QuadD\Common\ProcessWaiter\Src\Windows\ProcessWaiterImpl.cpp(173): Throw in function void __cdecl QuadDCommon::ProcessWaiter::ProcessWaiterImpl::CreateJobAndAssignProcess(class QuadDCommon::StrongType<class QuadDCommon::LimitedNumber<unsigned int,4294967295>,class QuadDCommon::ProcessIdTag>)
Dynamic exception type: class boost::exception_detail::clone_impl<class QuadDCommon::SystemException>
std::exception::what: SystemException
[struct boost::errinfo_api_function_ * __ptr64] = OpenProcess
[struct QuadDCommon::tag_errno_text * __ptr64] = Access is denied
[struct QuadDCommon::tag_message * __ptr64] = Failed to open process 13356
[struct QuadDCommon::tag_winapi_error_code * __ptr64] = 5
ServiceName: AnalysisService
MethodName: Init
SystemError (124) {
ErrorText: Failed to open process 13356
ApiFunction: OpenProcess
OriginalFile: C:\BuildAgent\work\20a3cfcd1c25021d\QuadD\Common\ProcessWaiter\Src\Windows\ProcessWaiterImpl.cpp
OriginalLine: 173
OriginalFunction: void __cdecl QuadDCommon::ProcessWaiter::ProcessWaiterImpl::CreateJobAndAssignProcess(class QuadDCommon::StrongType<class QuadDCommon::LimitedNumber<unsigned int,4294967295>,class QuadDCommon::ProcessIdTag>)
OriginalExceptionClass: class boost::exception_detail::clone_impl<class QuadDCommon::SystemException>
}
}
}
Profiling options:
DeviceId: "Local"
EventTypes {
Items: CpuCycles
Items: Wddm
}
RateHz: 1000
HowToStart: Immediate
HowToStop: Manual
DeviceType: Windows
DeviceDisplayName: "DESKTOP-A3D0CJ7"
WindowsPerfOptions {
CollectThreadActivity: true
CollectThreadBacktrace: true
retainEtwFiles: true
SymbolSearchVerboseLog: false
AutomaticallyGenerateReportFileNames: false
}
Processes {
HowToAttach: LaunchAnother
Command: "C:\\demo2_new\\Framework2\\x64\\Release\\Framework2.exe"
WorkingDirectory: "C:\\demo2_new\\Framework2\\Framework2\\"
UserName: "AlexInternet"
}
ShowBacktrace: true
CollectGpuCtxswTrace: true
IncludeChildren: true
CollectWddmEvents: true
WDDMOptions {
CollectEtwDxgKrnlEvents: true
}
Following the steps I have seen to retrieve nsight-sys.log file in Nsight Systems Issue: Unable to configure the collection of CPU IP samples I am attaching the file after generating it.
I tried with the common things like running NSight Systems as admin and quite a few options for the “Working Directory” field with no success. I have tried several versions of NSight Systems (2021 / 2023) and updated my GPU driver. Any help or advice would be appreciated.
Best regards,
Alejandro
nsight-sys.log (114.0 KB)