I downloaded the latest beta drivers on Windows 11 to check out the VK_EXT_shader_object extension, and whenever I call
vkCreateSwapchainKHR I get this validation error:
Validation Error: [ UNASSIGNED-GeneralParameterError-RequiredParameter ] Object 0: handle = 0x1bde5eef3b0, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x99fb7dfd | vkCreateFramebuffer: required parameter pCreateInfo->renderPass specified as VK_NULL_HANDLE
I’ll note that I’m also using dynamic rendering and synchronization2.
I’ve got a RTX 3070 GPU, and this validation error wasn’t appearing on the latest game ready driver, only on the latest beta driver.
The interesting thing is that it still successfully creates a swapchain, and doesn’t affect anything else in the program, I’m able to render things just fine.
I’ve verified that it’s not a problem with the validation layers by having a friend test it with their validation layers on their RTX 4090, and they didn’t get this validation error (they tested it with the same program that I did).
This seems like a pretty harmless issue since it doesn’t actually seem to cause an invalid state, but I figured I’d post it here either way.
Hello @peter8nilsson and welcome to the NVIDIA developer forums!
Thank you for sharing this, I will make sure to pass it onto the dev team.
I know this might be asking a bit much, but do you have a repro app that you could share, which throws the error on your HW but not on the 4090? And is your friend using the same Windows and Driver combination?
I also have the same problem. I am not using dynamic rendering nor synchronization2.
OS: Windows 11
Nvidia Driver: 531.79
Vulkan Version: 1.3.236
Hi! Sorry for the late response, I do have an app where I can reliably reproduce the issue, how would you like me to share it? I can send a link to the GitHub repository if you’re alright with building the app yourself, otherwise I can just send a pre-built exe
@peter8nilsson For me the solution is uninstall the current Vulkan SDK and install again. Because I downloaded SDK v1.3.246 without removing the previous SDK. I did a clean remove from Windows’ “Add or Remove Programs” and reinstall the SDK then those errors went away.
Unfortunately that didn’t fix it for me, uninstalled all versions of the SDK, installed the latest one, still getting the errors
Alright so I’ve figured out why I was getting these issues. It was because I had Twitch Studio installed at one point, and it ships with some Vulkan validation layers, but when I uninstalled Twitch Studio it didn’t remove the validation layers.
I went in and manually deleted the layers and now I’m not getting the validation errors anymore