I could not find any references to this type of error and there is no log or information about the cause.
I tried to reinstall Nsight and the Vulkan SDK without success.
It fails really fast so at this time I am not suspecting changes in my app.
Am I correct in this assumption?
Hello,
Sorry you ran into the initial issue where Nsight Graphics was failing to launch your application. Sounds like it is working with other Vulkan apps though and you confirm that the issue is on your side.
As always thank you for using Nsight Graphics and continuing to provided feedback on our tool.
Regards,
So I’ve been having these “Launch failure: Injecting failed” errors on and off since last posting here.
I am still getting them with the latest Nsight version (2021.2.1).
Good news is that I am now able to reproduce them at will by putting my application in a given state.
My application optionally uses ray tracing features and the “Injecting failed” error will happen when turning off these features. When these features are turned off then ray tracing extensions are not enabled, etc.
Once the error happens, I can work around it by :
enabling just the VK_KHR_acceleration_structure device extension,
and, it gets crazy here, calling a NOP function that only prints a message to the log.
I am pretty sure my code is not very clean when it comes to disabling the features that need RT.
Would be great if Nsight could give some indications as to why injection failed. AFAIK there is no such indications.
Also, if you think that the injection failures are not supposed to happen then I can provide more details on my repro case.
Hello,
Thank you for your feedback on Nsight Graphics and I’m sorry you ran into this issue. From brief discussions with the engineering manager this may be tough to resolve without access to the app you used. Let’s discuss via email. My email address is dwoods@nvidia.com
Regards,
If you failure is non-deterministic for a build, and the same build can succeed of fail based on the phase of the moon, this would be perhaps the most difficult case. If you have observed that a specific build will repeatedly fail, however, that would be useful to save and set to the side and send to us to see if we can reproduce on our side.
Hello,
Sorry that it has been a while since I checked in with you. Our engineering team was unable to reproduce the issue that you reported. Are you seeing this issue on other machines by the way? That would be beneficial for us to know.
Regards,