VLC fails to play AV1 codec movies

*nix specific usage questions
carlitosbala
New Cone
New Cone
Posts: 3
Joined: 23 May 2024 11:24

VLC fails to play AV1 codec movies

Postby carlitosbala » 23 May 2024 11:49

I've been seeing this 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: Select all

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.0 libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) [00007f90d40049d0] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error libva info: VA-API version 1.17.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so libva info: Found init function __vaDriverInit_1_0 libva 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: menu qt.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: menu uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
And this with hardware decoding enabled (video doesn't play, only audio)

Code: Select all

(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 decoding uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu [00007f0858c773f0] main decoder error: buffer deadlock prevented uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
OS: Debian 12, VLC 3.0.20, GPU: nVIDIA GeForce GTX 950

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC fails to play AV1 codec movies

Postby Rémi Denis-Courmont » 23 May 2024 13:34

Hard to say without verbose logs, but seems like your display drivers are just eating the AV-1 and failing silently.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

carlitosbala
New Cone
New Cone
Posts: 3
Joined: 23 May 2024 11:24

Re: VLC fails to play AV1 codec movies

Postby carlitosbala » 23 May 2024 16:02

I tried adding '--verbose' to vlc but really couldn't see anything useful, at least no errors are present. It's too large to paste here, so I'll see if I can upload it somewhere

I think you are right, and that one of the components involved should be telling VLC "no, you can't decode AV1 on a card from 2015" but isn't, and instead is just ignoring it or failing silently

carlitosbala
New Cone
New Cone
Posts: 3
Joined: 23 May 2024 11:24

Re: VLC fails to play AV1 codec movies

Postby carlitosbala » 24 May 2024 08:23

--verbose=2 log from start (as 'vlc test.mkv' until a few seconds into playback): http://carlitosbala.s3-website-eu-west- ... om/vlc.log


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 10 guests