Author Topic: GpuCapsViewer Vulkan Demos minimize bug  (Read 2167 times)

0 Members and 1 Guest are viewing this topic.

Dorian

  • Newbie
  • *
  • Posts: 7
    • View Profile
GpuCapsViewer Vulkan Demos minimize bug
« 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


JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1952
    • View Profile
    • Geeks3D.com
Re: GpuCapsViewer Vulkan Demos minimize bug
« Reply #1 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?

Dorian

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: GpuCapsViewer Vulkan Demos minimize bug
« Reply #2 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.

Dorian

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: GpuCapsViewer Vulkan Demos minimize bug
« Reply #3 on: October 30, 2018, 10:51:23 AM »
Could you let me know when this is fixed?
Thanks

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1952
    • View Profile
    • Geeks3D.com
Re: GpuCapsViewer Vulkan Demos minimize bug
« Reply #4 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.