Nsight Graphics 2023.4 - Bundled Nsight Graphics SDK, Injection with Vulkan results with validation problems

When using the bundled SDK for injection with Nsight Graphics with Vulkan, there are some errors:

VUID-VkPrivateDataSlotCreateInfo-flags-zerobitmask(ERROR / SPEC): msgNum: -1900085208 - Validation Error: [ VUID-VkPrivateDataSlotCreateInfo-flags-zerobitmask ] Object 0: handle = 0x217746e43c0, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x8ebf0028 | vkCreatePrivateDataSlotEXT: parameter pCreateInfo->flags must be 0. The Vulkan spec states: flags must be 0 (Vulkan® 1.3.243 - A Specification (with all registered extensions))
Objects: 1
[0] 0x217746e43c0, type: 3, name: NULL
VUID-vkDestroyDevice-device-00378(ERROR / SPEC): msgNum: 1901072314 - Validation Error: [ VUID-vkDestroyDevice-device-00378 ] Object 0: handle = 0x217746e43c0, type = VK_OBJECT_TYPE_DEVICE; Object 1: handle = 0x2177173ae80, type = VK_OBJECT_TYPE_PRIVATE_DATA_SLOT; | MessageID = 0x71500fba | OBJ ERROR : For VkDevice 0x217746e43c0, VkPrivateDataSlot 0x2177173ae80 has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (Vulkan® 1.3.243 - A Specification (with all registered extensions))
Objects: 2
[0] 0x217746e43c0, type: 3, name: NULL
[1] 0x2177173ae80, type: 1000295000, name: NULL

the injection itself seems to be success and NSight able to be started with NGFX_Injection_ExecuteActivityCommand() but kind of would also want the clean exit so would the required 0 be placed and the SDK have some NGFX_Injection_Shutdown() or similar?

Did a minimal repro, hope this helps, the SDK binaries are also there but if in doubt, those are the same that come with “NVIDIA_Nsight_Graphics_2023.4.0.23331.msi” installer.

Link to repro, GitHub - rizajin/nsight_bm_repro

Driver version: 546.01
OS: Win11 Pro, 10.0.22621 Build 22621
IDE: VS2022 17.7.5
Vulkan SDK: 1.3.243.0

tagging you, @AYan and will follow the thread.

Thanks for your feedback and repro sample, I can repro your issue as expected. An internal case will be created to track this.

Thanks
An