General VLC media player Troubleshooting • Re: VLC fails to play AV1 codec movies



Hi,
I don’t want to hijack a thread, but I see the same problem in my system. I’ve been seeing the same behavior for some time, but since I don’t play AV1 video regularly as all of the AV1 videos I have are from YouTube and I play those on my phone, it wasn’t bothering me that much, and only today I decided to try to fix it.

With the default settings (i.e. tested using “reset preferences), AV1 video doesn’t work. If I disable hardware decoding, close VLC, and open the same file again, it plays OK. If I run vlc directly from the terminal, there are no differences in the logs which could lead to any clue.

This is with hardware decoding disabled (video plays OK)

Code:

VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)[000055f97c5cb550] main libvlc: Ejecutar vlc con la interfaz predeterminada. Use «cvlc» para usar vlc sin interfaz.[00007f90d40049d0] gl gl: Initialized libplacebo v4.208.0 (API v208)libva info: VA-API version 1.17.0libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)[00007f90d40049d0] glconv_vaapi_x11 gl error: vaInitialize: unknown libva errorlibva info: VA-API version 1.17.0libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.solibva info: Found init function __vaDriverInit_1_0libva info: va_openDriver() returns 0[00007f90d40049d0] glconv_vaapi_drm gl error: vaDeriveImage: operation failed[00007f90d0c1e4f0] main video output error: video output creation failed[00007f90d0c0a990] main decoder error: failed to create video output[00007f90d409f070] gl gl: Initialized libplacebo v4.208.0 (API v208)[00007f90d43c1550] gl gl: Initialized libplacebo v4.208.0 (API v208)uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menuqt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3708, resource id: 16777824, major code: 40 (TranslateCoords), minor code: 0[00007f90d0c0a990] dav1d decoder error: Decoder feed error -1!uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menuuint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu

And this with hardware decoding enabled (video doesn’t play, only audio)

Code:

(exactly same as above until the "libplacebo" lines, which above appear twice but here only once)[00007f0858c773f0] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library 525.147.05 Wed Oct 25 20:19:52 UTC 2023 for hardware decodinguint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu[00007f0858c773f0] main decoder error: buffer deadlock preventeduint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu

OS: Debian 12, VLC 3.0.20, GPU: nVIDIA GeForce GTX 950

Statistics: Posted by carlitosbala — 23 May 2024 11:49