ubuntu 16.04.1 / "xenial"
vlc 2.2.2-5

VLC memory consumption grows continuously (32 GiB RAM in 10 minutes)
while displaying MPEG-2 video (whether playing or paused) using VDPAU
display plugin, at least with Intel Skylake GPU.

see Tools → Preferences → Video → Video Settings → Display → Output →
VDPAU output.

If set to "Automatic", which is the default, then only if the VDPAU
display plugin is applicable and used (eg MPEG-2, but not MPEG-4;
verify: Tools → Messages → Modules Tree tab → libvlc → playlist → video
output → vout display "vdpau_display") does the memory grow.  VDPAU
output is the default vout display plugin because it has the highest
score of all (ie 300).

All other plugins either don't work (eg DirectFB while running X11) or
don't result in constantly increasing memory consumption.

VDPAU is a poor choice, at least on Skylake (or maybe for all Intel
hardware, ie libvdpau_va_gl.so → libva.so → i965_drv_video.so), because
it doesn't support video resizing (ie open MPEG-2 at 720x480 and upon
full-screening VLC, the video is still 720x480; though that might be
specific to VLC and addressed by
http://git.videolan.org/?p=vlc/vlc-2.2.git;a=commit;h=0e205d42).

The problem appears to be specific to VLC, and not the underlying
libraries (unless use of the underlying libraries differs between
applications), because "mplayer -vo vdpau ..." uses the same libraries
(ie libvdpau_va_gl.so, libva.so, i965_drv_video.so), but doesn't cause
the same run-away memory consumption as VLC.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573210

Title:
  Huge memory leak when playing video in Ubuntu 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1573210/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to