GpuCapsViewer Vulkan Demos minimize bug

Started by Dorian, August 22, 2018, 11:29:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Hi, After launching any GpuCapsViewer vulkan demo and minimizing it - it crashes on Intel.

In _log.txt you can find:
[Vulkan] unable to create a swapchain (err: VK_ERROR_OUT_OF_DEVICE_MEMORY (-2)).

Status code is misleading. Validation layers shows this is the issue with how GpuCapsViewer does swapchain recreation:

Validation(ERROR): msg_code: 341839154:  [ VUID-VkSwapchainCreateInfoKHR-imageExtent-01689 ] Object: 0xf34f668 (Type = 3) | vkCreateSwapChainKHR(): pCreateInfo->imageExtent = (0, 0) which is illegal. The spec valid usage text states 'imageExtent members width and height must both be non-zero' (
e: 3, name: (null)

Size of swapchain should not be zero.



Thanks for the feedback. I will look at the bug and fix it.
What is the version of your graphics driver?


It happens both on old 4678 driver and latest 6229.

Validation layers should show same warning on other gfx vendors.


Could you let me know when this is fixed?


I'm debugging the Vulkan plugin right now.  I'll try to release the new GPU Caps today or tomorrow.