KhronosGroup / KhronosGroup/Vulkan-Video-Samples
av1_argon_test1019 test fails with assertion `!(m_ownedByDisplayMask & (1 << pictureIndex))'
- Dominant language
- C++
- Stars
- 41
- Forks
- 17
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 9
Description
The efforts to pass test av1_argon_test1019 revealed several failed assertions in the code.
This issue describes the assertion after fixing [Issue #123](https://github.com/KhronosGroup/Vulkan-Video-Samples/issues/123) and [Issue #137](https://github.com/KhronosGroup/Vulkan-Video-Samples/issues/137).
Steps to reproduce:
```
$ /DEV/Vulkan-Video-Samples/BUILD/vk_video_decoder/demos/vk-video-dec-test -i /DEV/Vulkan-Video-Samples/tests/resources/video/av1/av1-argon_test1019.obu --verbose --enablePostProcessFilter 0 -o /DEV/Vulkan-Video-Samples/tests/results/decoded_av1_argon_test1019.yuv --noPresent
```
Failure:
```
vk-video-dec-test: /DEV/Vulkan-Video-Samples/vk_video_decoder/libs/VulkanVideoFrameBuffer/VulkanVideoFrameBuffer.cpp:514: virtual int32_t VkVideoFrameBuffer::DequeueDecodedPicture(VulkanDecodedFrame*): Assertion `!(m_ownedByDisplayMask & (1 << pictureIndex))' failed.
```
https://storage.googleapis.com/vulkan-video-samples/av1/av1-argon_test1019.obu
Contributor guide
Research direction
Reproduce the failure with vk-video-dec-test using tests/resources/video/av1/av1-argon_test1019.obu and the command shown in the issue. Inspect vk_video_decoder/libs/VulkanVideoFrameBuffer/VulkanVideoFrameBuffer.cpp around line 514, then verify that av1_argon_test1019 completes without the m_ownedByDisplayMask assertion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100