in vkCreateInstance
asked with {VK_KHR_surface, VK_KHR_get_physical_device_properties2, VK_KHR_win32_surface, VK_EXT_debug_utils} and {VK_LAYER_KHRONOS_validation}
Vulkan SDK 1.2.148.0
RTX2080 452.06 driver, last Win10 (v2004)
Here is my nsight Log :
Searching for attachable processes on localhost:49152-49216…
Searching for attachable processes on localhost:49152-49216…
Searching for attachable processes on localhost:49152-49216…
Searching for attachable processes on localhost:49152-49216…
Launch process exited. Searching for attachable child processes…
Searching for attachable processes on localhost:49152-49216…
Searching for attachable processes on localhost:49152-49216…
Failed to connect. The target process may have exited.
Thanks for the bug report. I took at a look at the issue and I’m not able to reproduce so I’ll need a bit more information.
Can you double check that your current system configuration (e.g. Vulkan SDK and driver) works with Nsight 2020.3?
Does the Vulkan SDK’s vkcube.exe sample run with --validate work using Nsight 2020.4 for you? That’s a minimal example that’ll create an validation layer instance similar to yours.
Are you seeing the Nsight Crash Reporter on your crash? If so, please submit a crash report with a comment referencing this post. We’ll be able to debug a bit in that case.
Otherwise it sounds like something else might be going wrong here and we’ll need to dig a bit further.
Hi kspagnoli ! Thanks for reply to me (i do not know why, i miss your answer, sorry :( !)
I update to 2020.5, same crash issue for me.
i run now on 452.28.0.0 beta driver (for acces to raytracing extension from official vulkan, not present in normal drivers)
all is still fine into 2020.3.1, i use it many times per week.
2020.4 and 2020.5 directly crash my program on lunch
but all the 3 nsight work great on vkcube.exe, nothing to say about that. (execpt 3 validation error message box)
Here is the “Process Log”
Preparing to launch…
Launched process: PortEye V5.exe (pid: 276)
Attempting to automatically connect…
Searching for attachable processes on localhost:49152-49216…
Attachable process detected: PortEye V5.exe
Status: No graphics API
Uptime: 1.89s (pre-launch)
Searching for attachable processes on localhost:49152-49216…
Launch process exited. Searching for attachable child processes…
Searching for attachable processes on localhost:49152-49216…
Searching for attachable processes on localhost:49152-49216…
Failed to connect. The target process may have exited.
I have never see the “crash reporter”, i google to have more informations about that !
You are welcome !
I use real C++ native with real native Vulkan :-D ! Visual studio 2019, vulkan sdk, nvidia beta drivers, win10 64bits version, all of that is on last version.
Computer is stable, failure on nsight is determinist, happen 100% the same way at each try.
(Beta drivers or regular drivers do not change the nsight problem)
All code is mine, except my use of the library Vulkan Memory Allocator, not used at this point of initialisation.
I’ve been looking at this for a while and I really can’t see anything that would have caused an issue with vkCreateInstance calls in your case. Almost no Nsight code has changed there since the 2020.3 release.
Can you verify that Nsight is in the callstak of your crash? I’d expect to see Nvda.Graphics.Interception.dll. If not, something else is going wrong.
Does disabling these options under troubleshooting change anything?
Is there anything else your application is doing that vkcube.exe is not doing when running with validation? Since the vkcube.exe example is working on your system I’m not sure what else could be different. From your screenshots they look very similar with regards to extension, layers, etc.
You don’t have multiple instances or devices? Shouldn’t matter but I’m trying to narrow in on the problem.
My only other guess is you have a pNext value (or perhaps another Vulkan pointer) that isn’t initialized correctly and some undefined behavior has changed ever so-slightly between Nsight versions.
Thanks again for the details and hopefully we can get to the bottom of this.
Hello,
Yes. That is correct. The fix is planned for the next major version of Nsight Graphics which has not released, so the fix is not in 2020.5.1. I’ll let you know after the next major release comes out.
Hello,
This issue is fixed in our latest release, Nsight Graphics 2020.6.0. Can you please try again with the latest release and let us know your experience.
Thanks,