Bunch of errors when starting native vulkan triangle #5

Closed
opened 2026-05-31 22:42:18 +02:00 by jorijnvdgraaf · 0 comments

Vulkan validation (error): vkCreateDevice(): pCreateInfo->enabledLayerCount is 1 (not zero).
Device Layers have never worked since Vulkan 1.0 and only Instance Layers should be used instead: https://docs.vulkan.org/spec/latest/appendices/legacy.html#legacy-devicelayers.
The Vulkan spec states: enabledLayerCount must be 0 (https://docs.vulkan.org/spec/latest/chapters/devsandqueues.html#VUID-VkDeviceCreateInfo-enabledLayerCount-12384)
Vulkan general (info): Using "NVIDIA GeForce RTX 4090" with driver: "/usr/lib/libGLX_nvidia.so.610.43.02"
Vulkan validation (error): vkQueueSubmit(): pSubmits[0] performs a layout transition on presentable VkImage 0x60000000006, but the image has not been acquired from VkSwapchainKHR 0x40000000004 (either never or since the last present operation).
The Vulkan spec states: Use of a presentable image must occur only after the image is returned by vkAcquireNextImageKHR, and before it is released by vkQueuePresentKHR. This includes transitioning the image layout and rendering commands (https://docs.vulkan.org/refpages/latest/refpages/source/VkSwapchainKHR.html#_description)
Vulkan validation (error): vkQueueSubmit(): pSubmits[0] performs a layout transition on presentable VkImage 0x50000000005, but the image has not been acquired from VkSwapchainKHR 0x40000000004 (either never or since the last present operation).

Vulkan validation (error): vkCreateDevice(): pCreateInfo->enabledLayerCount is 1 (not zero). Device Layers have never worked since Vulkan 1.0 and only Instance Layers should be used instead: https://docs.vulkan.org/spec/latest/appendices/legacy.html#legacy-devicelayers. The Vulkan spec states: enabledLayerCount must be 0 (https://docs.vulkan.org/spec/latest/chapters/devsandqueues.html#VUID-VkDeviceCreateInfo-enabledLayerCount-12384) Vulkan general (info): Using "NVIDIA GeForce RTX 4090" with driver: "/usr/lib/libGLX_nvidia.so.610.43.02" Vulkan validation (error): vkQueueSubmit(): pSubmits[0] performs a layout transition on presentable VkImage 0x60000000006, but the image has not been acquired from VkSwapchainKHR 0x40000000004 (either never or since the last present operation). The Vulkan spec states: Use of a presentable image must occur only after the image is returned by vkAcquireNextImageKHR, and before it is released by vkQueuePresentKHR. This includes transitioning the image layout and rendering commands (https://docs.vulkan.org/refpages/latest/refpages/source/VkSwapchainKHR.html#_description) Vulkan validation (error): vkQueueSubmit(): pSubmits[0] performs a layout transition on presentable VkImage 0x50000000005, but the image has not been acquired from VkSwapchainKHR 0x40000000004 (either never or since the last present operation).
catbot 2026-05-31 22:59:48 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Catcrafts/Crafter.Graphics#5
No description provided.