Discussion:
Bug#869093: mpv: hwdec=vdpau now not supported?
Arthur Marsh
2017-07-20 13:50:05 UTC
Permalink
Package: mpv
Version: 0.26.0-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?

Replaying a video that on the previous version of mpv used minimal cpu:

$ mpv --vo=vdpau --hwdec=vdpau *mp4
Playing: blah.mp4
(+) Video --vid=1 (*) (h264 1920x1080 29.970fps)
(+) Audio --aid=1 --alang=jpn (*) (aac 2ch 48000Hz)
Audio --aid=2 --alang=jpn (*) (aac 6ch 48000Hz)
Audio --aid=3 --alang=jpn (*) (aac 2ch 48000Hz)
Requested hardware decoder not compiled.
AO: [pulse] 48000Hz stereo 2ch float
VO: [vdpau] 1920x1080 yuv420p

* What exactly did you do (or not do) that was effective (or
ineffective)?

I checked the release notes, which stated:

VA-API/VDPAU hardware decoding now requires FFmpeg > 3.2.

and checked the installed ffmpeg:

ffmpeg 7:3.2.6-1+b3

* What was the outcome of this action?
* What outcome did you expect instead?

Since I had ffmpeg installed from Debian, I expected vdpau support to work,
which apparently didn't.
(vdpau support did work in vlc, with low cpu consumption).

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.0-rc1+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE= (charmap=UTF-8), LANGUAGE=en_GB (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages mpv depends on:
ii libasound2 1.1.3-5
ii libass9 1:0.13.7-2
ii libavcodec57 7:3.2.6-1+b3
ii libavdevice57 7:3.2.6-1+b3
ii libavfilter6 7:3.2.6-1+b3
ii libavformat57 7:3.2.6-1+b3
ii libavutil55 7:3.2.6-1+b3
ii libbluray2 1:1.0.1.deb1-2
ii libc6 2.24-12
ii libcaca0 0.99.beta19-2+b2
ii libcdio-cdda1 0.83-4.3+b1
ii libcdio-paranoia1 0.83-4.3+b1
ii libcdio13 0.83-4.3+b1
ii libdrm2 2.4.81-2
ii libdvdnav4 5.0.3-3
ii libdvdread4 5.0.3-2
ii libegl1-mesa [libegl1-x11] 17.1.4-1
ii libgbm1 17.1.4-1
ii libgl1-mesa-glx [libgl1] 17.1.4-1
ii libjack0 [libjack-0.125] 1:0.125.0-2
ii libjpeg62-turbo 1:1.5.1-2
ii liblcms2-2 2.8-4
ii liblua5.2-0 5.2.4-1.1+b2
ii libpulse0 10.0-1.0nosystemd1
ii librubberband2 1.8.1-7
ii libsdl2-2.0-0 2.0.5+dfsg1-2
ii libsmbclient 2:4.5.8+dfsg-2.0nosystemd1
ii libsndio6.1 1.1.0-3
ii libswresample2 7:3.2.6-1+b3
ii libswscale4 7:3.2.6-1+b3
ii libuchardet0 0.0.6-2
ii libv4l-0 1.12.5-1
ii libva-drm1 1.8.3-1
ii libva-wayland1 1.8.3-1
ii libva-x11-1 1.8.3-1
ii libva1 1.8.3-1
ii libvdpau1 1.1.1-6
ii libwayland-client0 1.12.0-1
ii libwayland-cursor0 1.12.0-1
ii libwayland-egl1-mesa [libwayland-egl1] 17.1.4-1
ii libx11-6 2:1.6.4-3
ii libxext6 2:1.3.3-1+b2
ii libxinerama1 2:1.1.3-1+b3
ii libxkbcommon0 0.7.1-1
ii libxrandr2 2:1.5.1-1
ii libxss1 1:1.2.2-1
ii libxv1 2:1.0.11-1
ii zlib1g 1:1.2.8.dfsg-5

Versions of packages mpv recommends:
ii xdg-utils 1.1.1-1
ii youtube-dl 2017.05.18.1-1

mpv suggests no packages.

-- debconf-show failed
James Cowgill
2017-07-20 15:43:56 UTC
Permalink
Control: clone -1 -2
Control: reassign -2 src:ffmpeg 7:3.2.6-1
Control: retitle -2 ffmpeg: please update to 3.3
Control: severity -2 wishlist
Control: block -1 by -2

Hi,
Post by Arthur Marsh
Package: mpv
Version: 0.26.0-1
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
$ mpv --vo=vdpau --hwdec=vdpau *mp4
Playing: blah.mp4
(+) Video --vid=1 (*) (h264 1920x1080 29.970fps)
(+) Audio --aid=1 --alang=jpn (*) (aac 2ch 48000Hz)
Audio --aid=2 --alang=jpn (*) (aac 6ch 48000Hz)
Audio --aid=3 --alang=jpn (*) (aac 2ch 48000Hz)
Requested hardware decoder not compiled.
AO: [pulse] 48000Hz stereo 2ch float
VO: [vdpau] 1920x1080 yuv420p
* What exactly did you do (or not do) that was effective (or
ineffective)?
VA-API/VDPAU hardware decoding now requires FFmpeg > 3.2.
ffmpeg 7:3.2.6-1+b3
Sorry, I didn't check VDPAU before uploading 0.26.0.

It appears there was a typo in the release notes - it should say that
ffmpeg 3.3 is required for VDPAU. This is the relevant upstream commit:

video: drop vaapi/vdpau hw decoding support with FFmpeg 3.2:
https://github.com/mpv-player/mpv/commit/f59371de2170141fc28540d03c4e7ecc62844ebf

Unfortunately Debian doesn't yet have FFmpeg 3.3 so that feature was not
compiled into mpv at build time. Now that upstream has dropped the old
version, there is no alternative to fallback on.

I might be able to revert the upstream commit temporarily.

Thanks,
James
Debian Bug Tracking System
2017-07-20 15:45:10 UTC
Permalink
Post by James Cowgill
clone -1 -2
Bug #869093 [mpv] mpv: hwdec=vdpau now not supported?
Bug 869093 cloned as bug 869112
Post by James Cowgill
reassign -2 src:ffmpeg 7:3.2.6-1
Bug #869112 [mpv] mpv: hwdec=vdpau now not supported?
Bug reassigned from package 'mpv' to 'src:ffmpeg'.
No longer marked as found in versions mpv/0.26.0-1.
Ignoring request to alter fixed versions of bug #869112 to the same values previously set
Bug #869112 [src:ffmpeg] mpv: hwdec=vdpau now not supported?
Marked as found in versions ffmpeg/7:3.2.6-1.
Post by James Cowgill
retitle -2 ffmpeg: please update to 3.3
Bug #869112 [src:ffmpeg] mpv: hwdec=vdpau now not supported?
Changed Bug title to 'ffmpeg: please update to 3.3' from 'mpv: hwdec=vdpau now not supported?'.
Post by James Cowgill
severity -2 wishlist
Bug #869112 [src:ffmpeg] ffmpeg: please update to 3.3
Severity set to 'wishlist' from 'normal'
Post by James Cowgill
block -1 by -2
Bug #869093 [mpv] mpv: hwdec=vdpau now not supported?
869093 was not blocked by any bugs.
869093 was not blocking any bugs.
Added blocking bug(s) of 869093: 869112
--
869093: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869093
869112: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869112
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...