Hi, I have been using the VLC snap package for a while, and hardware acceleration works with VA-API…until now. I just launched a video (BigBuckBunny MP4) with the VLC snap (version: 3.0.10, revision: 1620) and it seems like video acceleration is no longer working:
$ /snap/bin/vlc BigBuckBunny.mp4 VLC media player 3.0.10 Vetinari (revision 3.0.10-0-g7f145afa84) [0000559740206b10] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Qt: Session management error: None of the authentication protocols specified are supported Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory QObject::~QObject: Timers cannot be stopped from another thread
This is the expected log output that happens with VA-API is being used (tested with version from APT):
$ vlc BigBuckBunny.mp4 VLC media player 22.214.171.124 Vetinari (revision 126.96.36.199-0-gd4c1aefe4d) [000055a1e3400670] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. libva info: VA-API version 1.7.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_7 libva info: va_openDriver() returns 0 [00007f652ccd08f0] avcodec decoder: Using Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 () for hardware decoding QObject::~QObject: Timers cannot be stopped from another thread
Despite the APT version being 188.8.131.52 and not the latest 3.0.10, this is not a problem with 3.0.10, as it used to work on Snap 3.0.10 too…some newer snap revision since then must have changed something.