Bug#912827: mpv 0.29.1 cannot display video on Weston 5.0.0

2018-11-04 Thread James Cowgill
Control: reassign -1 weston
Control: severity -1 normal
Control: retitle -1 weston: add support for stable xdg-shell
Control: affects -1 mpv
Control: tags -1 upstream

Hi,

On 04/11/2018 07:04, Kelly Clowers wrote:
> Package: mpv
> Version: 0.28.2-3
> Severity: important
> 
> Dear Maintainer,
> 
> * What led up to the situation?
> Updated MPV to 0.29.1 from 0.28.2
> 
> * What exactly did you do (or not do) that was effective (or
>  ineffective)?
> 
> Tried to play a video file I have played many times before
> 
> * What was the outcome of this action?
> 
> MPV failed to play the file with the following error message:
> 
> krc@ken:~/NFS/public/video/documentaries/David_Attenborough$ mpv
> 2017_Blue_Planet_2/Blue_Planet_2_03_Coral_Reefs.mkv
> Playing: 2017_Blue_Planet_2/Blue_Planet_2_03_Coral_Reefs.mkv
> Unable to revert mtime: /usr/local/share/fonts
>  (+) Video --vid=1 (*) (h264 1920x1080 25.000fps)
>  (+) Audio --aid=1 --alang=eng (*) (dts 6ch 48000Hz)
>  Subs  --sid=1 --slang=eng (*) (hdmv_pgs_subtitle)
> [vo/gpu/wayland] Compositor doesn't support the required xdg_wm_base protocol!
> [vo/gpu] Failed initializing any suitable GPU context!
> Error opening/initializing the selected video_out (--vo) device.
> Video: no video

As of this commit (first in 0.29.0), mpv dropped support for xdg-shell
v6 and now only supports the stable version of xdg-shell:
https://github.com/mpv-player/mpv/commit/76211609e3c589dafe3ef9a36cacc06e8f56de09

Unfortunately Weston doesn't support stable xdg-shell yet. I have a
feeling that currently mutter is the only compositor which does
(although I may be wrong).

There is an upstream mpv bug about this which hasn't seen any activity.
I'll poke it and see what upstream has to say, but I doubt they're going
to reintroduce xdg-shell v6 support.
https://github.com/mpv-player/mpv/issues/6110

James



signature.asc
Description: OpenPGP digital signature


Bug#912827: mpv 0.29.1 cannot display video on Weston 5.0.0

2018-11-04 Thread Kelly Clowers
Package: mpv
Version: 0.28.2-3
Severity: important

Dear Maintainer,

* What led up to the situation?
Updated MPV to 0.29.1 from 0.28.2

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

Tried to play a video file I have played many times before

* What was the outcome of this action?

MPV failed to play the file with the following error message:

krc@ken:~/NFS/public/video/documentaries/David_Attenborough$ mpv
2017_Blue_Planet_2/Blue_Planet_2_03_Coral_Reefs.mkv
Playing: 2017_Blue_Planet_2/Blue_Planet_2_03_Coral_Reefs.mkv
Unable to revert mtime: /usr/local/share/fonts
 (+) Video --vid=1 (*) (h264 1920x1080 25.000fps)
 (+) Audio --aid=1 --alang=eng (*) (dts 6ch 48000Hz)
 Subs  --sid=1 --slang=eng (*) (hdmv_pgs_subtitle)
[vo/gpu/wayland] Compositor doesn't support the required xdg_wm_base protocol!
[vo/gpu] Failed initializing any suitable GPU context!
Error opening/initializing the selected video_out (--vo) device.
Video: no video


Exiting... (Errors when loading file)
krc@ken:~/NFS/public/video/documentaries/David_Attenborough$


* What outcome did you expect instead?
The video should have played

I went and got mpv 0.28.3 (and libsndio6.1) from the Debian snapshots and
installed it, video now plays fine again.

Considering that Weston is the reference implementation of a Wayland
compositor, and 5.0 is the latest release, this seems like a problem.

I did not attempt to use other -vo methods, they should not be needed.

relevant bit of my mpv.conf:

vo=gpu
profile=opengl-hq
gpu-context=wayland
hwdec=vaapi
ao=pulse,alsa


krc@ken:~/$ vainfo
libva info: VA-API version 1.3.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_2
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.3 (libva 2.2.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ivybridge Desktop -
2.2.0




-- System Information:
Debian Release: buster/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mpv depends on:
ii  libarchive13  3.2.2-5
ii  libasound21.1.7-1
ii  libass9   1:0.14.0-2
ii  libavcodec58  7:4.0.3-1
ii  libavdevice58 7:4.0.3-1
ii  libavfilter7  7:4.0.3-1
ii  libavformat58 7:4.0.3-1
ii  libavutil56   7:4.0.3-1
ii  libbluray21:1.0.2-3
ii  libc6 2.27-8
ii  libcaca0  0.99.beta19-2+b3
ii  libcdio-cdda2 10.2+0.94+2-4
ii  libcdio-paranoia2 10.2+0.94+2-4
ii  libcdio18 2.0.0-2
ii  libdrm2   2.4.95-1
ii  libdvdnav46.0.0-1
ii  libdvdread4   6.0.0-1
ii  libegl1   1.1.0-1
ii  libgbm1   18.1.9-1
ii  libgl11.1.0-1
ii  libjack-jackd2-0 [libjack-0.125]  1.9.12~dfsg-2
ii  libjpeg62-turbo   1:1.5.2-2+b1
ii  liblcms2-22.9-3
ii  liblua5.2-0   5.2.4-1.1+b2
ii  libpulse0 12.2-2
ii  librubberband21.8.1-7
ii  libsdl2-2.0-0 2.0.8+dfsg1-6
ii  libsmbclient  2:4.9.1+dfsg-2
ii  libsndio6.1   1.1.0-3
ii  libswresample37:4.0.3-1
ii  libswscale5   7:4.0.3-1
ii  libuchardet0  0.0.6-3
ii  libva-drm22.3.0-2
ii  libva-wayland22.3.0-2
ii  libva-x11-2   2.3.0-2
ii  libva22.3.0-2
ii  libvdpau1 1.1.1-8
ii  libvulkan11.1.73+dfsg-1
ii  libwayland-client01.16.0-1
ii  libwayland-cursor01.16.0-1
ii  libwayland-egl1   1.16.0-1
ii  libx11-6  2:1.6.7-1
ii  libxext6  2:1.3.3-1+b2
ii  libxinerama1  2:1.1.4-1
ii  libxkbcommon0 0.8.2-1
ii  libxrandr22:1.5.1-1
ii  libxss1   1:1.2.3-1
ii  libxv12:1.0.11-1
ii  zlib1g1:1.2.11.dfsg-1

Versions of packages mpv recommends:
ii  xdg-utils   1.1.3-1
ii  youtube-dl  2018.09.10-1

mpv suggests no packages.

-- no debconf information