Major lag when creating/destroying Vulkan instance

I am finding that when running a minimal working Vulkan app (i.e. https://vulkan-tutorial.com/code/04_logical_device.cpp) it takes ~1.5 seconds to call glfwGetRequiredInstanceExtensions when creating the instance, and ~1 second to call vkDestroyInstance in cleanup.

I’m on Windows and compiling in x64 with GLFW 3.4 - this issue occurs in both debug and release and because the call to glfwGetRequiredInstanceExtensions is the first call related to Vulkan, doing things like disabling validation layers, or changing physical device, makes no difference.

I’m guessing this is a Windows/Vulkan driver problem but I can’t see anyone else having this issue - any ideas anyone?

I’ve not had this issue on the AMD and NVIDIA GPUs I’ve used, and I’ve not got a machine with an Intel GPU capable of Vulkan to hand at the moment.

If you want to dig deeper you’d need to compile agains the source distribution and see what within glfwGetRequiredInstanceExtensions is causing the time taken, but my assumption would be that it’s not something GLFW has control over.

I think you’re probably right, and to be honest I don’t want to waste the time rabbit-holing this one. Thanks for your reply.