Author Topic: GPU Caps Viewer 1.42.4 Vulkan window resize crash.  (Read 969 times)

0 Members and 1 Guest are viewing this topic.

Dorian

  • Newbie
  • *
  • Posts: 8
    • View Profile
GPU Caps Viewer 1.42.4 Vulkan window resize crash.
« on: September 18, 2019, 11:10:20 AM »
Hi,

after launching Gpu Caps Viewer with Vulkan demo, application crashes after trying to resize window rapidly.

Validation Layers (specifically: LunarG: Core Validation) have shown error with creation of a swapchain:

Quote
VUID-VkSwapchainCreateInfoKHR-imageExtent-01274(ERROR / SPEC): msgNum: 0 - vkCreateSwapchainKHR() called with imageExtent = (235,8), which is outside the bounds returned by vkGetPhysicalDeviceSurfaceCapabilitiesKHR(): currentExtent = (239,18), minImageExtent = (239,18), maxImageExtent = (239,18). 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)
    Objects: 1
       
  • 0xae72130, type: 3, name: NULL
Issue is observed on:
1. Intel KBL platform with driver version 6229
2. nVidia Quadro K600 with driver version 26.21.14.3170

To reproduce:
1. Launch demo:
    " GPU_Caps_Viewer.exe /run_gxl_demo=vk_shadertoy_geomechanical /benchmark_log_results /demo_msaa=0 /vk_gpu_index=0 "
2. Then just grab window corner and resize up/down rapidly.


JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2110
    • View Profile
    • Geeks3D.com
Re: GPU Caps Viewer 1.42.4 Vulkan window resize crash.
« Reply #1 on: September 19, 2019, 11:13:48 AM »
GPU Caps Viewer 1.42.4 is based on an old GeeXLab SDK with an old Vulkan plugin. I will check this issue with the new SDK and update GPU Caps Viewer... Thanks for the feedback  ;)

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2110
    • View Profile
    • Geeks3D.com
Re: GPU Caps Viewer 1.42.4 Vulkan window resize crash.
« Reply #2 on: September 19, 2019, 08:12:56 PM »
I reproduced the issue with latest Vulkan validation layers (Vulkan SDK 1.1.121). This bug is added on my kill-list!

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2110
    • View Profile
    • Geeks3D.com
Re: GPU Caps Viewer 1.42.4 Vulkan window resize crash.
« Reply #3 on: September 20, 2019, 03:03:19 PM »
I fixed the issue. The fix will be available in the next GPU Caps Viewer and in GeeXLab 0.29.1+.