I’ve been struggling to profile a python app that I converted into an exectuable application using pyinstaller. After many failed atempts, reinstallations, admin priviliges getting revoked I decided to try profiling C:\Windows\System32\notepad.exe . To my suprise even this app failed to start. Each time I recieve this error:
Failed to start profiling.
If this error persists, please restart the app and/or reboot the target.
Version information: NVIDIA Nsight Systems, 2023.4.1.97-234133557503v0 Windows-x64
C:\dvs\p4\build\sw\devtools\Agora\Rel\QuadD_Main\QuadD\Common\AgentAPI\Src\Controller.cpp(888): Throw in function class std::shared_ptr __cdecl Agent::Client::`anonymous-namespace’::CreateSession(const class Agent::Command &,const class std::shared_ptr &)
Dynamic exception type: struct boost::wrapexcept
[struct QuadDCommon::tag_message * __ptr64] = The timeout expired.
This also persisted through different configurations. AS of right now starting an empty profiler process with this configuration gives the same error for notepad.exe and my python. What could be the couse for this error? I am able to run both apps outside of the profiler without issue. I was also able to start the profiling for a very brief moments a few times on the python app, but it was long time ago and I didnt know that that specific configuration will be the only working one.
Here is a screenshot of the processes of the nvSystems in the task manager:
After clickign start it seems the profiler cant even start the target applications process before throwing an error.