Public bug reported: When viewing a list of videos and skipping quickly to the next one it's common for vlc to skip one or several videos with libva errors. I've only seen this happen on Wayland. Here's an example of a set of videos:
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332) [000055fe5368b570] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) [00007f4ebc002030] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_1 libva info: va_openDriver() returns 0 [00007f4f05b8b1f0] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding [00007f4f04ee4350] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding [00007f4f0551fc00] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding [00007f4f04f33d80] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding [00007f4f04f80530] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding [00007f4eb55cc8d0] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding [00007f4eb4f79e10] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding [00007f4f2d524bb0] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding [00007f4f2e7002c0] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding [00007f4e99230400] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding [00007f4e98d2dcf0] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding [00007f4e98db22a0] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding [00007f4e9927f700] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding [h264 @ 0x7f4e992076a0] get_buffer() failed [h264 @ 0x7f4e992076a0] thread_get_buffer() failed [h264 @ 0x7f4e992076a0] decode_slice_header error [h264 @ 0x7f4e992076a0] no frame! [h264 @ 0x7f4e99268720] get_buffer() failed [h264 @ 0x7f4e99268720] thread_get_buffer() failed [h264 @ 0x7f4e99268720] decode_slice_header error [h264 @ 0x7f4e99268720] no frame! [00007f4e98ca6ab0] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) [00007f4ebccdc630] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_1 libva info: va_openDriver() returns 0 [00007f4e991d9f50] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) [00007f4ebce2f4f0] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_1 libva info: va_openDriver() returns 0 [00007f4e992f8e30] avcodec decoder: Using Intel i965 driver for Intel(R) Skylake - 2.1.0 for hardware decoding The failed sections are these: libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) [00007f4ebccdc630] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error When this happens the video is just skipped and the next one plays (or fails as well until one doesn't). Maybe there's a locking issue because from the error message vlc is failing to find the driver at all. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: vlc 3.0.4-1ubuntu0.2 ProcVersionSignature: Ubuntu 4.15.0-45.48-generic 4.15.18 Uname: Linux 4.15.0-45-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.5 Architecture: amd64 CurrentDesktop: GNOME Date: Tue Feb 12 09:07:35 2019 InstallationDate: Installed on 2018-05-31 (256 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: vlc UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: vlc (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic wayland-session -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1815568 Title: Playback often fails on Wayland with libva error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1815568/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs