2023-08-22 21:45:59 I vulkan_debug: validation error: Validation Error: [ VUID-vkResetCommandBuffer-commandBuffer-00045 ] Object 0: handle = 0x7fe72c251688, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x1e7883ea | Attempt to reset VkCommandBuffer 0x7fe72c251688[] which is in use. The Vulkan spec states: commandBuffer must not be in the pending state (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkResetCommandBuffer-commandBuffer-00045) 2023-08-22 21:45:59 I vulkan_debug: validation error: Validation Error: [ VUID-vkBeginCommandBuffer-commandBuffer-00049 ] Object 0: handle = 0x7fe72c251688, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x84029a9f | vkBeginCommandBuffer() on active VkCommandBuffer 0x7fe72c251688[] before it has completed. You must check command buffer fence before this call. The Vulkan spec states: commandBuffer must not be in the recording or pending state (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkBeginCommandBuffer-commandBuffer-00049) 2023-08-22 21:45:59 I vulkan_debug: validation error: Validation Error: [ VUID-vkResetFences-pFences-01123 ] Object 0: handle = 0xc03da00000000269, type = VK_OBJECT_TYPE_FENCE; | MessageID = 0x68a5074e | VkFence 0xc03da00000000269[] is in use. The Vulkan spec states: Each element of pFences must not be currently associated with any queue command that has not yet completed execution on that queue (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkResetFences-pFences-01123) 2023-08-22 21:45:59 I vulkan_debug: validation error: Validation Error: [ VUID-vkQueueSubmit-pCommandBuffers-00071 ] Object 0: handle = 0x40b7bd8, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x2e2f4d65 | vkQueueSubmit(): pSubmits[0].pCommandBuffers[0] VkCommandBuffer 0x7fe72c251688[] is already in use and is not marked for simultaneous use. The Vulkan spec states: If any element of the pCommandBuffers member of any element of pSubmits was not recorded with the VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT, it must not be in the pending state (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkQueueSubmit-pCommandBuffers-00071) 2023-08-22 21:45:59 I vulkan: device lost 2023-08-22 21:45:59 I vulkan: vulkan error: Submitting to graphics queue failed.: device lost 2023-08-22 21:45:59 I vulkan_debug: validation error: Validation Error: [ VUID-vkDestroySurfaceKHR-surface-01266 ] Object 0: handle = 0x2f14e00, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xbed408e4 | vkDestroySurfaceKHR() called before its associated VkSwapchainKHR was destroyed. The Vulkan spec states: All VkSwapchainKHR objects created for surface must have been destroyed prior to destroying surface (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkDestroySurfaceKHR-surface-01266) 2023-08-22 21:45:59 I vulkan_debug: validation error: Validation Error: [ VUID-vkDestroyDevice-device-00378 ] Object 0: handle = 0x40b7bd8, type = VK_OBJECT_TYPE_DEVICE; Object 1: handle = 0x7fe72c9b19f8, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x71500fba | OBJ ERROR : For VkDevice 0x40b7bd8[], VkCommandBuffer 0x7fe72c9b19f8[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378) 2023-08-22 21:45:59 I vulkan_debug: validation error: Validation Error: [ VUID-vkDestroyDevice-device-00378 ] Object 0: handle = 0x40b7bd8, type = VK_OBJECT_TYPE_DEVICE; Object 1: handle = 0x7fe72c9a5308, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x71500fba | OBJ ERROR : For VkDevice 0x40b7bd8[], VkCommandBuffer 0x7fe72c9a5308[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)