Comment 6 for bug 1708102

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That is not true. The platform order fix was proposed to upstream 6 weeks before it was applied to Ubuntu:
  https://github.com/mpv-player/mpv/pull/4556
At the time the only reason given for upstream not liking it was that native wayland surfaces lack title bars. That's not good enough reason to deny users working video acceleration out of the box.

As for enabling acceleration by default, that's a goal of the desktop team for 17.10. According to the default config in the source:

# Enable hardware decoding if available. Often, this does not work with all
# video outputs, but should work well with default settings on most systems.
# If performance or energy usage is an issue, forcing the vdpau or vaapi VOs
# may or may not help.
#hwdec=auto

So the decision to use it depends on the outputs and general performance. For the outputs we have verified it works well on both X11 and Wayland. For the performance, we have verified that hwdec with VAAPI provides an order of magnitude improvement. So it meets our goals. In fact, mpv+hwdec is presently the only player that can compete with the efficiency other platforms like macOS.

We would like to keep being able to recommend mpv as the optimal player. However if Ubuntu was forced to disable acceleration out of the box we would need to withdraw that recommendation because editing config files is not sufficiently user friendly.

Of course, if users did complain about the state of mpv in Ubuntu then we would consider their input. For the moment though there are zero recent bug reports:
  https://bugs.launchpad.net/ubuntu/+source/mpv