Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan Validation Errors in mm-client #45

Open
HildarTheDorf opened this issue Feb 12, 2025 · 0 comments
Open

Vulkan Validation Errors in mm-client #45

HildarTheDorf opened this issue Feb 12, 2025 · 0 comments

Comments

@HildarTheDorf
Copy link

HildarTheDorf commented Feb 12, 2025

VUID-VkMemoryAllocateInfo-memoryTypeIndex-01744(ERROR / SPEC): msgNum: 1208684342 - Validation Error: [ VUID-VkMemoryAllocateInfo-memoryTypeIndex-01744 ] | MessageID = 0x480b0f36 | vkAllocateMemory(): pAllocateInfo->memoryTypeIndex is 2 but VkMemoryHostPointerPropertiesEXT::memoryTypeBits is 0x20 with handleType VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT.
The Vulkan spec states: If the parameters define an import operation and the external handle is a host pointer, the value of memoryTypeIndex must be one of those returned by vkGetMemoryHostPointerPropertiesEXT (https://vulkan.lunarg.com/doc/view/1.4.304.1/linux/antora/spec/latest/chapters/memory.html#VUID-VkMemoryAllocateInfo-memoryTypeIndex-01744)
VUID-VkImageCreateInfo-pNext-06811(ERROR / SPEC): msgNum: 821341296 - Validation Error: [ VUID-VkImageCreateInfo-pNext-06811 ] | MessageID = 0x30f4ac70 | vkCreateImage(): pCreateInfo specifies flags (VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT|VK_IMAGE_CREATE_EXTENDED_USAGE_BIT|VK_IMAGE_CREATE_ALIAS_BIT), format (VK_FORMAT_G8_B8R8_2PLANE_420_UNORM), imageType (VK_IMAGE_TYPE_2D), and tiling (VK_IMAGE_TILING_OPTIMAL) which are not supported by any of the supported video format properties for the video profiles specified in the VkVideoProfileListInfoKHR structure included in the pCreateInfo->pNext chain, as reported by vkGetPhysicalDeviceVideoFormatPropertiesKHR for the same video profiles and the image usage flags specified in pCreateInfo->usage (VK_IMAGE_USAGE_TRANSFER_SRC_BIT|VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR).
The Vulkan spec states: If the pNext chain includes a VkVideoProfileListInfoKHR structure with profileCount greater than 0, then supportedVideoFormat must be VK_TRUE (https://vulkan.lunarg.com/doc/view/1.4.304.1/linux/antora/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-pNext-06811)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant