And mpv works just fine with upstream libva under Wayland without any other changes.
bor@bor-Latitude-E5450:~$ mpv video.mkv (+) Video --vid=1 (*) (h264 1920x1080 25.000fps) (+) Audio --aid=1 --alang=en (*) (ac3 2ch 48000Hz) [vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback. 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) and bor@bor-Latitude-E5450:~$ LD_LIBRARY_PATH=/home/bor/pkg/lib mpv video.mkv (+) Video --vid=1 (*) (h264 1920x1080 25.000fps) (+) Audio --aid=1 --alang=en (*) (ac3 2ch 48000Hz) [vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback. Cannot load libcuda.so.1 Using hardware decoding (vaapi). VO: [gpu] 1920x1080 vaapi[nv12] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1944088 Title: [vaapi] libva: vaGetDriverNameByIndex() failed with invalid VADisplay, driver_name = (null) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mpv/+bug/1944088/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs