Skip to content

vkDestroySwapchainKHR: Invalid device [VUID-vkDestroySwapchainKHR-device-parameter] #312

Open
@nmnmrm

Description

@nmnmrm

newbie here as i am just doing it by a tutorial vkguide , that exactly same code worked yestreday

[ERROR: Validation]
Validation Error: [ VUID-vkDestroyInstance-instance-00629 ] Object 0: handle = 0x1fcdcc99230, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x8b3d8e18 | vkDestroyInstance():  VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT object VkDevice 0x1fce91d81f0[] has not been destroyed. The Vulkan spec states: All child objects created using instance must have been destroyed prior to destroying instance (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyInstance-instance-00629)
[ERROR: Validation]
Validation Error: [ VUID-vkDestroyInstance-instance-00629 ] Object 0: handle = 0x1fcdcc99230, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x8b3d8e18 | vkDestroyInstance():  VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT object VkDevice 0x1fce91d81f0[] has not been destroyed. The Vulkan spec states: All child objects created using instance must have been destroyed prior to destroying instance (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyInstance-instance-00629)
[ERROR: Validation]
Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0xead9370000000008, type = VK_OBJECT_TYPE_IMAGE_VIEW; | MessageID = 0x4872eaa0 | vkDestroyInstance():  OBJ ERROR : For VkDevice 0x1fce91d81f0[], VkImageView 0xead9370000000008[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
[ERROR: Validation]
Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0xead9370000000008, type = VK_OBJECT_TYPE_IMAGE_VIEW; | MessageID = 0x4872eaa0 | vkDestroyInstance():  OBJ ERROR : For VkDevice 0x1fce91d81f0[], VkImageView 0xead9370000000008[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
[ERROR: Validation]
Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0xcb3ee80000000007, type = VK_OBJECT_TYPE_IMAGE_VIEW; | MessageID = 0x4872eaa0 | vkDestroyInstance():  OBJ ERROR : For VkDevice 0x1fce91d81f0[], VkImageView 0xcb3ee80000000007[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
[ERROR: Validation]
Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0xcb3ee80000000007, type = VK_OBJECT_TYPE_IMAGE_VIEW; | MessageID = 0x4872eaa0 | vkDestroyInstance():  OBJ ERROR : For VkDevice 0x1fce91d81f0[], VkImageView 0xcb3ee80000000007[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
[ERROR: Validation]
Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0xee647e0000000009, type = VK_OBJECT_TYPE_IMAGE_VIEW; | MessageID = 0x4872eaa0 | vkDestroyInstance():  OBJ ERROR : For VkDevice 0x1fce91d81f0[], VkImageView 0xee647e0000000009[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
[ERROR: Validation]
Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0xee647e0000000009, type = VK_OBJECT_TYPE_IMAGE_VIEW; | MessageID = 0x4872eaa0 | vkDestroyInstance():  OBJ ERROR : For VkDevice 0x1fce91d81f0[], VkImageView 0xee647e0000000009[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
[ERROR: Validation]
Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0xfa21a40000000003, type = VK_OBJECT_TYPE_SWAPCHAIN_KHR; | MessageID = 0x4872eaa0 | vkDestroyInstance():  OBJ ERROR : For VkDevice 0x1fce91d81f0[], VkSwapchainKHR 0xfa21a40000000003[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
[ERROR: Validation]
Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0xfa21a40000000003, type = VK_OBJECT_TYPE_SWAPCHAIN_KHR; | MessageID = 0x4872eaa0 | vkDestroyInstance():  OBJ ERROR : For VkDevice 0x1fce91d81f0[], VkSwapchainKHR 0xfa21a40000000003[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)
[ERROR: Validation]
Validation Error: [ VUID-vkDestroyInstance-instance-00629 ] Object 0: handle = 0x1fcdcc99230, type = VK_OBJECT_TYPE_INSTANCE; Object 1: handle = 0xfab64d0000000002, type = VK_OBJECT_TYPE_SURFACE_KHR; | MessageID = 0x8b3d8e18 
| vkDestroyInstance():  OBJ ERROR : For VkInstance 0x1fcdcc99230[], VkSurfaceKHR 0xfab64d0000000002[] has not been destroyed. The Vulkan spec states: All child objects created using instance must have been destroyed prior to 
destroying instance (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyInstance-instance-00629)
[ERROR: Validation]
Validation Error: [ VUID-vkDestroyInstance-instance-00629 ] Object 0: handle = 0x1fcdcc99230, type = VK_OBJECT_TYPE_INSTANCE; Object 1: handle = 0xfab64d0000000002, type = VK_OBJECT_TYPE_SURFACE_KHR; | MessageID = 0x8b3d8e18 
| vkDestroyInstance():  OBJ ERROR : For VkInstance 0x1fcdcc99230[], VkSurfaceKHR 0xfab64d0000000002[] has not been destroyed. The Vulkan spec states: All child objects created using instance must have been destroyed prior to 
destroying instance (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyInstance-instance-00629)
[ERROR: Validation]
Validation Error: [ VUID-vkDestroyInstance-instance-00629 ] Object 0: handle = 0x1fcdcc99230, type = VK_OBJECT_TYPE_INSTANCE; Object 1: handle = 0xfd5b260000000001, type = VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT; | MessageID = 0x8b3d8e18 | vkDestroyInstance():  OBJ ERROR : For VkInstance 0x1fcdcc99230[], VkDebugUtilsMessengerEXT 0xfd5b260000000001[] has not been destroyed. The Vulkan spec states: All child objects created using instance must have been destroyed prior to destroying instance (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyInstance-instance-00629)
[ERROR: Validation]
Validation Error: [ VUID-vkDestroyInstance-instance-00629 ] Object 0: handle = 0x1fcdcc99230, type = VK_OBJECT_TYPE_INSTANCE; Object 1: handle = 0xfd5b260000000001, type = VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT; | MessageID = 0x8b3d8e18 | vkDestroyInstance():  OBJ ERROR : For VkInstance 0x1fcdcc99230[], VkDebugUtilsMessengerEXT 0xfd5b260000000001[] has not been destroyed. The Vulkan spec states: All child objects created using instance must have been destroyed prior to destroying instance (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-vkDestroyInstance-instance-00629)
ERROR:             vkDestroySwapchainKHR: Invalid device [VUID-vkDestroySwapchainKHR-device-parameter]
The program '[8936] kefir.exe' has exited with code 0 (0x0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions