vulkan: "Invalid SurfaceKHR object" when running example
When trying to run the example, it crashes and I have to forcefully close it. I tried pulling and installing the library from the most recent master branch, but this didn’t fix the issue.
availables extensions: ['VK_KHR_surface', 'VK_KHR_win32_surface', 'VK_EXT_debug_report', 'VK_NV_external_memory_capabilities', 'VK_KHR_get_physical_device_properties2', 'VK_KHX_device_group_creation', 'VK_EXT_display_surface_counter']
availables layers: ['VK_LAYER_LUNARG_api_dump', 'VK_LAYER_LUNARG_core_validation', 'VK_LAYER_LUNARG_monitor', 'VK_LAYER_LUNARG_object_tracker', 'VK_LAYER_LUNARG_parameter_validation', 'VK_LAYER_LUNARG_screenshot', 'VK_LAYER_LUNARG_standard_validation', 'VK_LAYER_GOOGLE_threading', 'VK_LAYER_GOOGLE_unique_objects', 'VK_LAYER_LUNARG_vktrace', 'VK_LAYER_NV_optimus', 'VK_LAYER_VALVE_steam_overlay', 'VK_LAYER_RENDERDOC_Capture']
Create windows surface
availables devices: ['GeForce GTX 960M']
selected device: GeForce GTX 960M
2 available queue family
DEBUG: ObjectTracker Invalid SurfaceKHR Object 0x3ffaba800000001. The spec valid usage text states 'surface must be a valid VkSurfaceKHR handle' (https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 20 (11 by maintainers)
Sure, I let the issue open for now.