Skip to content

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

@dabrain34

Description

@dabrain34

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.

Metadata

Metadata

Assignees

Labels

ANVIntel ANV supportRADVbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions