Welcome to the Nsight Graphics Forum. Here, you can find answers to questions you have about Nsight Graphics, file bugs, and chat with other members of the community.
Hi, thanks for the tool :) Tested the SDK that comes with it and when injecting with NGFX_Injection_InjectToProcess() I get the following problems with vulkan validation,
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? Not sure if applicaple.