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

ANV: Decoder: fails to decode any codec: Assertion `image_view->format == image->format' #13

Open
dabrain34 opened this issue Jan 13, 2025 · 0 comments
Labels
ANV Intel ANV support bug Something isn't working

Comments

@dabrain34
Copy link
Contributor

Unable to play any media with vk-video-dec-test and latest mesa driver.

The problem happens with all the codecs such as AVC, HEVC or AV1.

Build main branch of mesa:

$ meson setup builddir -Dplatforms=x11 -Dvulkan-beta=true -Dvulkan-drivers=intel -Dvideo-codecs=h264dec,h265dec,h264enc,h265enc,av1dec -Dbuildtype=debug -Dprefix=`pwd`/builddir/install

Assert:

#5  0x00007fffec0aca8c in vk_image_view_init (device=0x55555570b860, image_view=0x55555573fff0, driver_internal=false, pCreateInfo=0x7fffffff3b90) at ../src/vulkan/runtime/vk_image.c:480
#6  0x00007fffe9e9a0bf in anv_image_view_init (device=0x55555570b860, iview=0x55555573fff0, pCreateInfo=0x7fffffff3b90, surface_state_stream=0x0) at ../src/intel/vulkan/anv_image_view.c:255
#7  0x00007fffe9e9abba in anv_CreateImageView (_device=0x55555570b860, pCreateInfo=0x7fffffff3b90, pAllocator=0x0, pView=0x7fffffff3be8) at ../src/intel/vulkan/anv_image_view.c:410
#8  0x0000555555595c47 in VkImageResourceView::Create (vkDevCtx=0x7fffffff40b0, imageResource=..., imageSubresourceRange=..., imageResourceView=...)

vk-video-dec-test: ../src/vulkan/runtime/vk_image.c:480: vk_image_view_init: Assertion `image_view->format == image->format' failed.
@dabrain34 dabrain34 added bug Something isn't working ANV Intel ANV support labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ANV Intel ANV support bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant