Geeks3D Forums

Tech Forums => Geeks3D's GPU Tools => Topic started by: Dorian on August 22, 2018, 11:29:36 AM

Title: GpuCapsViewer Vulkan Demos minimize bug
Post by: Dorian on August 22, 2018, 11:29:36 AM
Hi, After launching any GpuCapsViewer vulkan demo and minimizing it - it crashes on Intel.

In _log.txt you can find:
Code: [Select]
[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:

Code: [Select]
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' (https://www.khronos.org/registry/vulkan/specs/1.0-extensions/html/vkspec.html#VUID-VkSwapchainCreateInfoKHR-imageExtent-01689)
e: 3, name: (null)

Size of swapchain should not be zero.

Thanks,
Dorian
Title: Re: GpuCapsViewer Vulkan Demos minimize bug
Post by: JeGX on August 22, 2018, 03:47:29 PM
Thanks for the feedback. I will look at the bug and fix it.
What is the version of your graphics driver?
Title: Re: GpuCapsViewer Vulkan Demos minimize bug
Post by: Dorian on August 22, 2018, 09:51:33 PM
It happens both on old 4678 driver and latest 6229.

Validation layers should show same warning on other gfx vendors.
Title: Re: GpuCapsViewer Vulkan Demos minimize bug
Post by: Dorian on October 30, 2018, 10:51:23 AM
Could you let me know when this is fixed?
Thanks
Title: Re: GpuCapsViewer Vulkan Demos minimize bug
Post by: JeGX on October 30, 2018, 04:34:24 PM
I'm debugging the Vulkan plugin right now.  I'll try to release the new GPU Caps today or tomorrow.