KhronosGroup / KhronosGroup/Vulkan-ValidationLayers
More video false positives with FFmpeg
Open
@aqnuep is already working on this.
Since Mar 15, 2025.
Video
- Dominant language
- C++
- Stars
- 1k
- Forks
- 505
- Avg merge
- 11h 25m
- Merged PRs (30d)
- 229
Description
Latest validation layer git main.
AMD on Mesa:
Validation Error: [ VUID-vkCmdDecodeVideoKHR-pDecodeInfo-07142 ] Objects: VkCommandBuffer 0x7faa0016e2d0, VkVideoSessionKHR 0xba04b100000000c9, VkImageView 0x2d0f10000000124, VkImage 0xc0c03f000000011a | MessageID = 0x79b1d0c3
vkCmdDecodeVideoKHR(): pDecodeInfo->dstPictureResource.imageViewBinding (VkImageView 0x2d0f10000000124 created from VkImage 0xc0c03f000000011a) is not compatible with the video profile the bound video session VkVideoSessionKHR 0xba04b100000000c9 was created with.
The Vulkan spec states: pDecodeInfo->dstPictureResource.imageViewBinding must be compatible with the video profile the bound video session was created with (https://docs.vulkan.org/spec/latest/chapters/videocoding.html#VUID-vkCmdDecodeVideoKHR-pDecodeInfo-07142)
It is compatible, as far as I can tell. Nothing errors out when checking.
NVIDIA on Linux:
Validation Error: [ VUID-VkVideoBeginCodingInfoKHR-pPictureResource-07240 ] Objects: VkCommandBuffer 0x7f0e10223ba0, VkVideoSessionKHR 0x8fd57200000000e5, VkImageView 0x70526c00000000f3, VkImage 0x7cbcba00000000ed | MessageID = 0xfd38b0b6
vkCmdBeginVideoCodingKHR(): pBeginInfo->pReferenceSlots[0].pPictureResource->imageViewBinding (VkImageView 0x70526c00000000f3 created from VkImage 0x7cbcba00000000ed) is not compatible with the video profile VkVideoSessionKHR 0x8fd57200000000e5 was created with.
The Vulkan spec states: If the pPictureResource member of any element of pReferenceSlots is not NULL, then the image view specified in pPictureResource->imageViewBinding for that element must be compatible with the video profile videoSession was created with (https://docs.vulkan.org/spec/latest/chapters/videocoding.html#VUID-VkVideoBeginCodingInfoKHR-pPictureResource-07240)
Validation Error: [ VUID-vkCmdDecodeVideoKHR-pDecodeInfo-07142 ] Objects: VkCommandBuffer 0x7f0e10223ba0, VkVideoSessionKHR 0x8fd57200000000e5, VkImageView 0x70526c00000000f3, VkImage 0x7cbcba00000000ed | MessageID = 0x79b1d0c3
vkCmdDecodeVideoKHR(): pDecodeInfo->dstPictureResource.imageViewBinding (VkImageView 0x70526c00000000f3 created from VkImage 0x7cbcba00000000ed) is not compatible with the video profile the bound video session VkVideoSessionKHR 0x8fd57200000000e5 was created with.
The Vulkan spec states: pDecodeInfo->dstPictureResource.imageViewBinding must be compatible with the video profile the bound video session was created with (https://docs.vulkan.org/spec/latest/chapters/videocoding.html#VUID-vkCmdDecodeVideoKHR-pDecodeInfo-07142)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.