Execution time of vkGetPhysicalDeviceSurfaceFormatsKHR increased by ~20,000 with driver 411.63

Since driver version 411.63, every call to vkGetPhysicalDeviceSurfaceFormatsKHR takes about 40 milliseconds on my system, while it takes only ~0.002 milliseconds on the previous available driver version (399.24). Since I’m recreating the swapchain continuously while the user is resizing the window, which involves querying the surface formats, this results in a bad user experience as the window resizes in a very sluggish/choppy manner. I’m running Windows 10 Pro x64, with a GeForce GTX 1080 Ti.

We have a driver bug tracking this issue, so driver team is looking into this.

Glad to hear an update on this. I guess it won’t be very useful since it’s just measuring the duration of the call (microseconds), but here’s a very simple test application I’ve made some time ago anyway: https://mega.nz/#!ahtBBSLa!gFBKtzxiLJOSJyXQkaw7DgbYYZXHfvmpxr9chTE12Zk

The issue is still present in the latest stable driver 430.86 and beta driver 425.62.