Bug#837352: mpv display (both terminal and video) freezes while playing video

2016-09-19 Thread James Cowgill
Hi,

On 18/09/16 04:53, Nicolas Braud-Santoni wrote:
> On Sun, Sep 18, 2016 at 05:46:22AM +0200, Nicolas Braud-Santoni wrote:
>> On Sat, Sep 10, 2016 at 10:26:12PM +0100, James Cowgill wrote:
>>>
>>> I can't seem to reproduce this on my laptop. Please can you attach the
>>> terminal output of 'mpv -v '. Hopefully that may give some more info.
>>
>> Attached here.
> 
> Actually, attached here.

I can't see anything particularly wrong in the log unfortunately. Since
the issue affects seemingly all videos, it's probably a bug in the video
output code somewhere.

Can you try other vo modes (Use --vo=help for a list of them)? In
particular could you try --vo=x11 which is not hardware accelerated.
Can you try playing the files in other players (eg ffmpeg, vlc, etc)?
Do older versions of mpv work? If so, we could bisect the issue.

If you want, you could try compiling upstream mpv. If you can reproduce
your issue there, then you could file an upstream issue.

Thanks,
James



signature.asc
Description: OpenPGP digital signature


Bug#837352: mpv display (both terminal and video) freezes while playing video

2016-09-17 Thread Nicolas Braud-Santoni
On Sun, Sep 18, 2016 at 05:46:22AM +0200, Nicolas Braud-Santoni wrote:
> On Sat, Sep 10, 2016 at 10:26:12PM +0100, James Cowgill wrote:
> > 
> > I can't seem to reproduce this on my laptop. Please can you attach the
> > terminal output of 'mpv -v '. Hopefully that may give some more info.
> 
> Attached here.

Actually, attached here.
mpv -v bsd-0159.mp4
[cplayer] Command line options: '-v' 'bsd-0159.mp4'
[cplayer] mpv 0.20.0 (C) 2000-2016 mpv/MPlayer/mplayer2 projects
[cplayer]  built on UNKNOWN
[cplayer] ffmpeg library versions:
[cplayer]libavutil   55.28.100
[cplayer]libavcodec  57.48.101
[cplayer]libavformat 57.41.100
[cplayer]libswscale  4.1.100
[cplayer]libavfilter 6.47.100
[cplayer]libswresample   2.1.100
[cplayer] ffmpeg version: 3.1.3-1+b3
[cplayer]
[cplayer] Configuration: ./waf -v configure --prefix=/usr 
--libdir=/usr/lib/x86_64-linux-gnu --confdir=/etc/mpv 
--zshdir=/usr/share/zsh/vendor-completions --enable-cdda --enable-sdl2 
--enable-sndio --enable-zsh-comp --enable-libmpv-shared --enable-encoding 
--disable-build-date
[cplayer] List of enabled features: alsa any-gl asm atomics audio-input 
av-avpacket-int64-duration av-new-pixdesc av-pix-fmt-mmal av-subtitle-nopict 
av-version-info avcodec-chroma-pos-api avcodec-has-codecpar 
avcodec-new-codec-api avcodec-profile-name avframe-metadata 
avframe-skip-samples avutil-has-hwcontext avutil-h
dr avutil-mastering-metadata c11-tls cdda cplayer debug-build dlopen drm dvbin 
dvdnav dvdread egl-helpers egl-x11 enca encoding fchmod gl gl-wayland gl-x11 
glibc-thread-name glob iconv jack jpeg lcms2 libass libass-osd libav 
libavdevice libavfilter libbluray libdl libguess libm libmpv-shared librt 
libsmbclient libswre
sample linux-fstatfs lua nanosleep optimize oss-audio oss-audio-native plain-gl 
posix posix-or-mingw posix-spawn pthreads pulse resampler rubberband sdl2 shm 
sndio sse4-intrinsics standard-gl stdatomic subprocess termios tv tv-v4l2 vaapi 
vaapi-egl vaapi-glx vaapi-hwaccel vaapi-wayland vaapi-x-egl vaapi-x11 vdpau 
vdpau
-gl-x11 vdpau-hwaccel videodev vt.h wayland x11 xext xinerama xrandr xss xv 
zlib zsh-comp
[global] config path: '' -> '/home/nbraud/.mpv'
[global] config path: 'mpv.conf' -/-> '/home/nbraud/.mpv/mpv.conf'
[global] config path: 'config' -> '/home/nbraud/.mpv/config'
[global] config path: 'mpv.conf' -/-> '/etc/mpv/mpv.conf'
[global] config path: 'config' -/-> '/etc/mpv/config'
[cplayer] Reading config file /home/nbraud/.mpv/config
[cplayer] Setting option 'no-audio-display' = '' (flags = 4)
[cplayer] Setting option 'v' = '' (flags = 8)
[global] config path: 'input.conf' -/-> '/home/nbraud/.mpv/input.conf'
[global] config path: 'input.conf' -/-> '/etc/mpv/input.conf'
[osc] Loading script @osc.lua...
[global] config path: 'scripts' -/-> '/home/nbraud/.mpv/scripts'
[global] config path: 'scripts' -/-> '/etc/mpv/scripts'
[osc] loading mp.defaults
[osc] loading @osc.lua
[global] config path: 'lua-settings/osc.conf' -/-> 
'/home/nbraud/.mpv/lua-settings/osc.conf'
[global] config path: 'lua-settings/osc.conf' -/-> 
'/etc/mpv/lua-settings/osc.conf'
[osc] lua-settings/osc.conf not found.
[cplayer] Run command: define-section, flags=0, args=[showhide, mouse_move 
script-binding osc/__keybinding1
[cplayer] mouse_leave script-binding osc/__keybinding2
[cplayer] , force]
[cplayer] Run command: enable-section, flags=0, args=[showhide, 
allow-hide-cursor+allow-vo-dragging]
[cplayer] Run command: define-section, flags=0, args=[input, mouse_btn0 
script-binding osc/__keybinding3
[cplayer] shift+mouse_btn0 script-binding osc/__keybinding4
[cplayer] mouse_btn2 script-binding osc/__keybinding5
[cplayer] mouse_btn0_dbl ignore
[cplayer] shift+mouse_btn0_dbl ignore
[cplayer] mouse_btn2_dbl ignore
[cplayer] , force]
[cplayer] Run command: enable-section, flags=0, args=[input, ]
[cplayer] Run command: define-section, flags=0, args=[input_osc, del 
script-binding osc/__keybinding6
[cplayer] , default]
[cplayer] Run command: enable-section, flags=0, args=[input_osc, 
allow-hide-cursor+allow-vo-dragging]
[cplayer] Run command: define-section, flags=0, args=[input_forced_osc, , force]
[cplayer] Run command: enable-section, flags=0, args=[input_forced_osc, 
allow-hide-cursor+allow-vo-dragging]
[cplayer] Done loading @osc.lua.
[ytdl_hook] Loading script @ytdl_hook.lua...
[global] config path: 'scripts' -/-> '/home/nbraud/.mpv/scripts'
[global] config path: 'scripts' -/-> '/etc/mpv/scripts'
[ytdl_hook] loading mp.defaults
[cplayer] Run command: disable-section, flags=0, args=[input]
[global] config path: 'fonts' -/-> '/home/nbraud/.mpv/fonts'
[global] config path: 'fonts' -/-> '/etc/mpv/fonts'
[osd/libass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.2.7 (COMPLEX)
[global] config path: 'subfont.ttf' -/-> '/home/nbraud/.mpv/subfont.ttf'
[global] config path: 'subfont.ttf' -/-> '/etc/mpv/subfont.ttf'
[global] config path: 'fonts.conf' -/-> '/home/nbraud/.mpv/fonts.conf'
[global] config path: 'fonts.conf' -/-> 

Bug#837352: mpv display (both terminal and video) freezes while playing video

2016-09-17 Thread Nicolas Braud-Santoni
On Sat, Sep 10, 2016 at 10:26:12PM +0100, James Cowgill wrote:
> Control: found -1 0.20.0-1
> Control: tags -1 unreproducible
> 
> Hi Nicolas,
> 
> On 10/09/16 21:27, Nicolas Braud-Santoni wrote:
> > 
> > Seeking updates the UI, but it freezes again within a few frames.
> 
> Did you seek using the terminal? Does the OSD work?

Seeking with either the terminal or mpv's X window in focus works.
The OSD works in the sense that seeking works, but the OSD doesn't refresh 
(unless I seek).

> > I tested the version from sid, but it exhibits the same issue.
> 
> I can't seem to reproduce this on my laptop. Please can you attach the
> terminal output of 'mpv -v '. Hopefully that may give some more info.

Attached here.

For information, I can reliably reproduce the issue, with videos in a variety 
of formats.
Setting --hwdec=no didn't change anything.


Best, and thanks for the help,

  nicoo


signature.asc
Description: PGP signature


Bug#837352: mpv display (both terminal and video) freezes while playing video

2016-09-10 Thread James Cowgill
Control: found -1 0.20.0-1
Control: tags -1 unreproducible

Hi Nicolas,

On 10/09/16 21:27, Nicolas Braud-Santoni wrote:
> Package: mpv
> Severity: important
> 
> Control: found -1 0.20.0-1+b1
> Control: found -1 0.20.0-1
> 
> Dear Maintainer,
> 
> While playing videos using mpv, its UI (both in the terminal and
> in the video window) freeze within the first few frames, while the
> audio keeps going normally.
> 
> Seeking updates the UI, but it freezes again within a few frames.

Did you seek using the terminal? Does the OSD work?

> I tested the version from sid, but it exhibits the same issue.

I can't seem to reproduce this on my laptop. Please can you attach the
terminal output of 'mpv -v '. Hopefully that may give some more info.

Thanks,
James



signature.asc
Description: OpenPGP digital signature


Bug#837352: mpv display (both terminal and video) freezes while playing video

2016-09-10 Thread Nicolas Braud-Santoni
Package: mpv
Severity: important

Control: found -1 0.20.0-1+b1
Control: found -1 0.20.0-1

Dear Maintainer,

While playing videos using mpv, its UI (both in the terminal and
in the video window) freeze within the first few frames, while the
audio keeps going normally.

Seeking updates the UI, but it freezes again within a few frames.

I tested the version from sid, but it exhibits the same issue.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mpv depends on:
ii  libasound2  1.1.2-1
ii  libass5 0.13.2-1
ii  libavcodec577:3.1.3-1+b3
ii  libavdevice57   7:3.1.3-1+b3
ii  libavfilter67:3.1.3-1+b3
ii  libavformat57   7:3.1.3-1+b3
ii  libavutil55 7:3.1.3-1+b3
ii  libbluray1  1:0.9.3-2
ii  libc6   2.23-5
ii  libcdio-cdda1   0.83-4.2+b1
ii  libcdio-paranoia1   0.83-4.2+b1
ii  libcdio13   0.83-4.2+b1
ii  libdrm2 2.4.70-1
ii  libdvdnav4  5.0.3-1
ii  libdvdread4 5.0.3-1
ii  libegl1-mesa [libegl1-x11]  11.2.2-1
ii  libenca01.18-1
ii  libgl1-mesa-glx [libgl1]11.2.2-1
ii  libguess1   1.2-1.1
ii  libjack-jackd2-0 [libjack-0.116]1.9.10+20150825git1ed50c92~dfsg-2
ii  libjpeg62-turbo 1:1.5.0-1
ii  liblcms2-2  2.7-1
ii  liblua5.2-0 5.2.4-1.1
ii  libpulse0   9.0-1.1
ii  librubberband2  1.8.1-6+b1
ii  libsdl2-2.0-0   2.0.4+dfsg2-1
ii  libsmbclient2:4.4.5+dfsg-2
ii  libsndio6.1 1.1.0-2
ii  libswresample2  7:3.1.3-1+b3
ii  libswscale4 7:3.1.3-1+b3
ii  libva-wayland1  1.7.2-1
ii  libva-x11-1 1.7.2-1
ii  libva1  1.7.2-1
ii  libvdpau1   1.1.1-3
ii  libwayland-client0  1.11.0-2
ii  libwayland-cursor0  1.11.0-2
ii  libwayland-egl1-mesa [libwayland-egl1]  11.2.2-1
ii  libx11-62:1.6.3-1
ii  libxext62:1.3.3-1
ii  libxinerama12:1.1.3-1+b1
ii  libxkbcommon0   0.6.1-1
ii  libxrandr2  2:1.5.0-1
ii  libxss1 1:1.2.2-1
ii  libxv1  2:1.0.10-1+b1
ii  zlib1g  1:1.2.8.dfsg-2+b1

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

mpv suggests no packages.

-- no debconf information