Ever since the 21.04 switch to Wayland, mpv has been saying:
[vo/gpu/wayland] GNOME's wayland compositor is known to have many serious issues with mpv. Switch to GNOME's xorg session for the best experience.
and yet has been working flawlessly (including with mp4 files). Until now. This new problem only seems to occur with mp4:
wl_drm@22: error 0: authenticate failed VA error: wayland: Wayland roundtrip error: Protocol error (errno 71) [vaapi] libva: vaGetDriverNameByIndex() failed with invalid VADisplay, driver_name = (null) [vo/gpu/wayland] Error occurred on the display fd, closing
Any idea why the regression?
Update: If I use
--hwdec=no the problem goes away. According to the man page, this is the default, so I'm guessing that it used to be, and the changing of the default is what happened recently (but they need to update the man page).
Update: See https://bugs.launchpad.net/ubuntu/+source/mpv/+bug/1944088 for details. Problem was solved by a clean reinstall of 21.04 (with no PPAs)