I have the H264 video https://www.youtube.com/watch?v=rSBNhm-bC7I
downloaded with yt-dlp (codec info cannot be copy-pasted!!!), and
I get
VLC media player 3.0.23 Vetinari (revision 3.0.23-2-0-g79128878dd)
[000055815bd03c90] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
[00007f1da0c0a820] avcodec decoder: Using Intel iHD driver for Intel(R) Gen Graphics - 26.1.2 () for hardware decoding
[h264 @ 0x7f1da0d25e80] Failed to end picture decode issue: 23 (internal decoding error).
[h264 @ 0x7f1da0d25e80] hardware accelerator failed to decode picture
[h264 @ 0x7f1da0ca1e80] Failed to end picture decode issue: 23 (internal decoding error).
[h264 @ 0x7f1da0ca1e80] hardware accelerator failed to decode picture
[h264 @ 0x7f1da0c87ec0] Failed to end picture decode issue: 23 (internal decoding error).
[h264 @ 0x7f1da0c87ec0] hardware accelerator failed to decode picture
[h264 @ 0x7f1da0d273c0] Failed to end picture decode issue: 23 (internal decoding error).
[h264 @ 0x7f1da0d273c0] hardware accelerator failed to decode picture
[h264 @ 0x7f1da0c8f400] Failed to end picture decode issue: 23 (internal decoding error).
[h264 @ 0x7f1da0c8f400] hardware accelerator failed to decode picture
[h264 @ 0x7f1da0c5aa40] Failed to end picture decode issue: 23 (internal decoding error).
[h264 @ 0x7f1da0c5aa40] hardware accelerator failed to decode picture
[...]
qaa:~> vainfo
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.23 (libva 2.22.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 26.1.2 ()
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSliceLP
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSliceLP
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointEncSliceLP
VAProfileVP9Profile1 : VAEntrypointVLD
VAProfileVP9Profile1 : VAEntrypointEncSliceLP
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointEncSliceLP
VAProfileVP9Profile3 : VAEntrypointVLD
VAProfileVP9Profile3 : VAEntrypointEncSliceLP
VAProfileHEVCMain12 : VAEntrypointVLD
VAProfileHEVCMain422_10 : VAEntrypointVLD
VAProfileHEVCMain422_12 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_10 : VAEntrypointVLD
VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_12 : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointEncSliceLP
VAProfileHEVCSccMain10 : VAEntrypointVLD
VAProfileHEVCSccMain10 : VAEntrypointEncSliceLP
VAProfileHEVCSccMain444 : VAEntrypointVLD
VAProfileHEVCSccMain444 : VAEntrypointEncSliceLP
VAProfileHEVCSccMain444_10 : VAEntrypointVLD
VAProfileHEVCSccMain444_10 : VAEntrypointEncSliceLP
https://bugs.debian.org/cgi-bin/pkgreport.cgi?package=intel-media-va-driver
shows that there are limitations, and no-one seems to be interested to
work on that. Thus this driver should not be used, except for codecs
it is known to support.
This package was installed by the Debian installer (Debian 12.1 at
that time).
Same errors with the non-free version intel-media-va-driver-non-free.
If I remove either, I get:
VLC media player 3.0.23 Vetinari (revision 3.0.23-2-0-g79128878dd)
[0000557f981c8c90] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007f7a38001f10] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nouveau_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
[00007f7a38001f10] glconv_vaapi_drm gl error: vaDeriveImage: operation failed
There are no issues with ffplay (from ffmpeg) and Firefox.