Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

False positive validation warnings on window resizes #26

Open
jkunstwald opened this issue May 1, 2020 · 0 comments
Open

False positive validation warnings on window resizes #26

jkunstwald opened this issue May 1, 2020 · 0 comments
Labels
linux Only concerns Linux thirdparty This issue is not on our side and can't be worked on vulkan Related to the Vulkan backend

Comments

@jkunstwald
Copy link
Collaborator

On some linux window managers, vulkan validation layers incorrectly report errors when resizing the swapchain. Errors look like this:
Validation Error: [ VUID-VkSwapchainCreateInfoKHR-imageExtent-01274 ] Object 0: handle = 0x25f4770, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x7cd0911d | vkCreateSwapchainKHR() called with imageExtent = (896,583), which is outside the bounds returned by vkGetPhysicalDeviceSurfaceCapabilitiesKHR(): currentExtent = (899,587), minImageExtent = (899,587), maxImageExtent = (899,587). The Vulkan spec states: imageExtent must be between minImageExtent and maxImageExtent, inclusive, where minImageExtent and maxImageExtent are members of the VkSurfaceCapabilitiesKHR structure returned by vkGetPhysicalDeviceSurfaceCapabilitiesKHR for the surface (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkSwapchainCreateInfoKHR-imageExtent-01274

The error is a false positive and inconsequential, this bug is known.
See KhronosGroup/Vulkan-ValidationLayers#1340

@jkunstwald jkunstwald added vulkan Related to the Vulkan backend thirdparty This issue is not on our side and can't be worked on linux Only concerns Linux labels May 1, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
linux Only concerns Linux thirdparty This issue is not on our side and can't be worked on vulkan Related to the Vulkan backend
Projects
None yet
Development

No branches or pull requests

1 participant