AV1/VAAPI is broken
With all AV1 samples:
libva info: va_openDriver() returns 0
[00007fff64c628c0] vaapi generic: Using Intel iHD driver for Intel(R) Gen Graphics - 24.4.0 ()
[Thread 0x7fffb07f86c0 (LWP 121430) exited]
[New Thread 0x7fff6ebbd6c0 (LWP 121572)]
[New Thread 0x7fff6e3bc6c0 (LWP 121573)]
[New Thread 0x7fff6dbbb6c0 (LWP 121574)]
[New Thread 0x7fff6d3ba6c0 (LWP 121575)]
[New Thread 0x7fff841f66c0 (LWP 121591)]
[New Thread 0x7fff781ff6c0 (LWP 121596)]
[New Thread 0x7fff6ffff6c0 (LWP 121604)]
[av1 @ 0x7fff64c0f3c0] A hardware frames or device context is required for hardware accelerated decoding.
[av1 @ 0x7fff64c0f3c0] Failed setup for format vaapi: hwaccel initialisation returned error.
[00007fff64c0b420] avcodec decoder error: existing hardware acceleration cannot be reused
vlc: ../../modules/codec/avcodec/video.c:2044: ffmpeg_GetFormat: Assertion `!p_sys->b_hardware_only' failed.
Thread 58 "vlc-dec-video" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff781ff6c0 (LWP 121596)]
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0)
at ./nptl/pthread_kill.c:44
warning: 44 ./nptl/pthread_kill.c: No such file or directory
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0)
at ./nptl/pthread_kill.c:44
#1 0x00007ffff7cd5ebf in __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:78
#2 0x00007ffff7c81c82 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007ffff7c6a4f0 in __GI_abort () at ./stdlib/abort.c:79
#4 0x00007ffff7c6a418 in __assert_fail_base
(fmt=0x7ffff7deeca0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7fffa4e587ab "!p_sys->b_hardware_only", file=file@entry=0x7fffa4e21000 "../../modules/codec/avcodec/video.c", line=line@entry=2044, function=function@entry=0x7fffa4e584b0 <__PRETTY_FUNCTION__.3> "ffmpeg_GetFormat") at ./assert/assert.c:94
#5 0x00007ffff7c7a592 in __assert_fail
(assertion=assertion@entry=0x7fffa4e587ab "!p_sys->b_hardware_only", file=file@entry=0x7fffa4e21000 "../../modules/codec/avcodec/video.c", line=line@entry=2044, function=function@entry=0x7fffa4e584b0 <__PRETTY_FUNCTION__.3> "ffmpeg_GetFormat") at ./assert/assert.c:103
#6 0x00007fffa42d535b in ffmpeg_GetFormat (p_context=0x7fff64c0f3c0, pi_fmt=0x7fff080036c0)
at ../../modules/codec/avcodec/video.c:2044
#7 0x00007fffa43b7f76 in ff_get_format (avctx=0x7fff64c0f3c0, fmt=<optimized out>) at src/libavcodec/decode.c:1308
#8 0x00007fffa43122a8 in get_pixel_format (avctx=0x7fff64c0f3c0) at src/libavcodec/av1dec.c:655
#9 get_current_frame (avctx=<optimized out>) at src/libavcodec/av1dec.c:1231
#10 av1_receive_frame_internal (avctx=<optimized out>, frame=<optimized out>) at src/libavcodec/av1dec.c:1356
#11 av1_receive_frame (avctx=<optimized out>, frame=<optimized out>) at src/libavcodec/av1dec.c:1513
#12 0x00007fffa43b67f6 in ff_decode_receive_frame_internal (avctx=0x7fff64c0f3c0, frame=0x7fff64c112c0)
at src/libavcodec/decode.c:634
#13 0x00007fffa43b6e15 in decode_receive_frame_internal (avctx=avctx@entry=0x7fff64c0f3c0, frame=0x7fff64c112c0)
at src/libavcodec/decode.c:666
#14 0x00007fffa43b70bc in avcodec_send_packet (avctx=0x7fff64c0f3c0, avpkt=0x7fff08000d00)
at src/libavcodec/decode.c:753
#15 0x00007fffa42d63ae in DecodeBlock (p_dec=<optimized out>, pp_block=<optimized out>)
at ../../modules/codec/avcodec/video.c:1425
#16 DecodeVideo (p_dec=<optimized out>, p_block=<optimized out>) at ../../modules/codec/avcodec/video.c:1675
#17 0x00007ffff7eb14f0 in DecoderThread_DecodeBlock (p_owner=0x7fff64c0b420, frame=0x7fff64c29e10)
at ../../src/input/decoder.c:1629
#18 0x00007ffff7eb1b4b in DecoderThread_ProcessInput (p_owner=p_owner@entry=0x7fff64c0b420, frame=<optimized out>)
at ../../src/input/decoder.c:1755
#19 0x00007ffff7eb1dc9 in DecoderThread (p_data=0x7fff64c0b420) at ../../src/input/decoder.c:1869
#20 0x00007ffff7cd4112 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#21 0x00007ffff7d528f8 in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78