Hardware decode issues/Video stops after a few seconds

*nix specific usage questions
andy_blah
Blank Cone
Blank Cone
Posts: 82
Joined: 03 Mar 2009 13:40

Hardware decode issues/Video stops after a few seconds

Postby andy_blah » 02 Apr 2016 14:59

I've been having issues with VLC since installing Debian from a netinstall (which I didn't have when I was running LMDE2 -- a Debian flavour of Linux Mint with Cinnamon, on the same hardware).
Any video I throw at VLC, it stops playing after a few seconds, while the audio still continues. After this happens, VLC hangs with me unable to stop the output of the video, or properly close VLC (the graphical window can be closed, but the process still runs taking up resources), forcing me to close it through a task manager.

Here's what I get when that happens:

Code: Select all

mp4 debug: track[Id 0x2] does not provide Sync Sample Box (stss) dbus debug: Getting property Position core debug: Buffering 0% avcodec debug: available hardware decoder output format 109 (vdpau) avcodec debug: available hardware decoder output format 53 (vaapi_vld) avcodec debug: available software decoder output format 0 (yuv420p) core debug: looking for hw decoder module matching "any": 4 candidates core debug: Buffering 0% core debug: Buffering 0% core debug: Buffering 0% core debug: Buffering 0% vdpau_avcodec debug: video surface limits: 1920x1080 vdpau_avcodec debug: decoder profile limits: level 51 mb 16384 2048x2048 core debug: using hw decoder module "vdpau_avcodec" avcodec info: Using OpenGL/VAAPI/libswscale backend for VDPAU for hardware decoding. core debug: Buffering 0% core debug: looking for text renderer module matching "any": 2 candidates freetype debug: Building font databases. freetype debug: Took 1 microseconds freetype debug: Using Serif Bold as font from file /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf freetype debug: Using Monospace as mono-font from file /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf freetype debug: using fontsize: 2 core debug: using text renderer module "freetype" core debug: looking for video filter2 module matching "any": 63 candidates swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality) core debug: using video filter2 module "swscale" core debug: looking for video filter2 module matching "any": 63 candidates yuvp debug: YUVP to YUVA converter core debug: using video filter2 module "yuvp" core debug: Deinterlacing available core debug: deinterlace 0, mode blend, is_needed 0 core debug: Opening vout display wrapper core debug: looking for vout display module matching "xcb_glx": 15 candidates core debug: looking for vout window xid module matching "qt4,any": 4 candidates qt4 debug: requesting video window... qt4 debug: Video was requested 0, 0 core debug: using vout window xid module "qt4" core debug: looking for inhibit module matching "any": 2 candidates dbus_screensaver debug: found service org.freedesktop.ScreenSaver core debug: using inhibit module "dbus_screensaver" xcb debug: connected to X11.0 server xcb debug: vendor : The X.Org Foundation xcb debug: version: 11802000 xcb debug: using screen 0x98 core debug: looking for opengl module matching "glx": 2 candidates glx debug: using GLX extension version 1.4 core debug: using opengl module "glx" core debug: VoutDisplayEvent 'fullscreen' 0 core debug: VoutDisplayEvent 'resize' 1280x720 window core debug: using vout display module "xcb_glx" core debug: A filter to adapt decoder to display is needed core debug: looking for video filter2 module matching "any": 63 candidates core debug: using video filter2 module "vdpau_chroma" core debug: Filter 'VDPAU' (0x7ff8a85a14b8) appended to chain core debug: original format sz 1280x720, of (0,0), vsz 1280x720, 4cc VDV0, sar 1:1, msk r0x0 g0x0 b0x0 core debug: removing module "freetype" core debug: looking for text renderer module matching "any": 2 candidates freetype debug: Building font databases. freetype debug: Took 0 microseconds freetype debug: Using Serif Bold as font from file /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf freetype debug: Using Monospace as mono-font from file /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf freetype debug: using fontsize: 2 core debug: using text renderer module "freetype" core debug: End of video preroll core debug: Received first picture core debug: Buffering 0% core debug: auto hiding mouse cursor core debug: Buffering 0% core debug: Buffering 0% core debug: Buffering 0% core debug: Buffering 0% core debug: Buffering 0% core debug: Buffering 0% core debug: Buffering 2% core debug: Buffering 4% core debug: Buffering 6% core debug: Buffering 9% core debug: Buffering 11% core debug: Buffering 13% core debug: Buffering 16% faad warning: decoded zero sample core debug: Buffering 18% core debug: Buffering 20% core debug: Buffering 23% core debug: reusing audio output core debug: Buffering 25% core debug: Buffering 27% pulse debug: using stereo channel map core debug: Buffering 30% core debug: Buffering 32% core debug: Buffering 34% core debug: Buffering 37% core debug: Buffering 39% core debug: Buffering 41% core debug: Buffering 44% core debug: Buffering 44% pulse debug: changed buffer metrics: maxlength=4194304, tlength=42336, prebuf=0, minreq=14112 pulse debug: connected to sink alsa_output.pci-0000_00_1b.0.analog-stereo core debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes core debug: looking for audio volume module matching "any": 2 candidates core debug: using audio volume module "float_mixer" core debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes core debug: looking for audio filter module matching "scaletempo": 14 candidates scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0,200 overlap, 14 search scaletempo debug: 1,000 scale, 1323,000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode core debug: using audio filter module "scaletempo" core debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo core debug: conversion pipeline complete core debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo core debug: conversion pipeline complete core debug: looking for audio resampler module matching "any": 3 candidates core debug: using audio resampler module "samplerate" core debug: End of audio preroll core debug: Buffering 44% core debug: Buffering 48% pulse debug: changing sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Internes Audio Analog Stereo) core debug: Buffering 48% core debug: Buffering 48% core debug: Buffering 48% core debug: Buffering 48% core debug: Buffering 48% core debug: Buffering 48% core debug: Buffering 48% core debug: Buffering 48% core debug: Buffering 48% core debug: Buffering 48% core debug: Buffering 48% core debug: Buffering 51% core debug: Buffering 53% core debug: Buffering 55% core debug: Buffering 58% core debug: Buffering 60% core debug: Buffering 62% core debug: Buffering 65% core debug: Buffering 67% core debug: Buffering 69% core debug: Buffering 71% core debug: Buffering 74% core debug: Buffering 76% core debug: Buffering 78% core debug: Buffering 81% core debug: Buffering 83% core debug: Buffering 85% core debug: Buffering 88% core debug: Buffering 90% core debug: Buffering 92% core debug: Buffering 92% core debug: Buffering 92% core debug: Buffering 96% core debug: Buffering 97% core debug: Buffering 97% core debug: Buffering 97% core debug: Buffering 97% core debug: Buffering 97% core debug: Buffering 97% core debug: Buffering 97% core debug: Buffering 97% core debug: Buffering 97% core debug: Buffering 97% core debug: Buffering 97% core debug: Buffering 99% core debug: Stream buffering done (1021 ms in 1383 ms) core debug: Decoder wait done in 0 ms pulse debug: cannot synchronize start pulse debug: deferring start (25872 us) pulse debug: deferring start (2551 us) pulse warning: starting late (-21185 us) pulse debug: changing sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Internes Audio Analog Stereo) pulse debug: started vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT core warning: picture is too late to be displayed (missing 41 ms) core debug: picture might be displayed late (missing 4 ms) vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT core warning: picture is too late to be displayed (missing 41 ms) core debug: picture might be displayed late (missing 1 ms) vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT core warning: picture is too late to be displayed (missing 61 ms) core warning: picture is too late to be displayed (missing 21 ms) vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT core warning: picture is too late to be displayed (missing 41 ms) vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT [...] vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT dbus error: poll() failed: Interrupted system call dbus error: poll() failed: Interrupted system call dbus error: poll() failed: Interrupted system call dbus error: poll() failed: Interrupted system call vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT [...] vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT dbus debug: Getting property Position vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT vdpau_chroma error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT [...]
I've tried various outputs, from "Automatic" to "OpenGL", tried disabling hardware acceleration (which I found out might cause these errors on some hardware), but nothing seemed to fix the issue.

andy_blah
Blank Cone
Blank Cone
Posts: 82
Joined: 03 Mar 2009 13:40

Re: Hardware decode issues/Video stops after a few seconds

Postby andy_blah » 03 Apr 2016 16:26

Tried now switching from SNA to UXA (forgot to mention I'm using an intel IGP), but it didn't seem to fix the issue.
Also a few things I noticed: When switching to fullscreen, the video frame isn't stretched to the whole screen. If the video is smaller than the desktop resolution, it just remains static in the same position it was while playing when windowed.
Also it seems to happen mostly when playing YouTube videos. It also happens when playing most mp4 files, so it might be an codec/container issue.
Oh, and as always, I forgot to mention the distro and VLC version I'm using, so:

Code: Select all

$ uname -a Linux ## 4.4.0-1-amd64 #1 SMP Debian 4.4.6-1 (2016-03-17) x86_64 GNU/Linux

Code: Select all

$ apt-cache policy vlc vlc: Installiert: 2.2.2-5 Installationskandidat: 2.2.2-5 Versionstabelle: *** 2.2.2-5 500 500 http://ftp.plusline.de/debian sid/main amd64 Packages 100 /var/lib/dpkg/status

Code: Select all

$ lspci -nnk 00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) Subsystem: Samsung Electronics Co Ltd R730 Laptop [144d:c06a] Kernel driver in use: i915 Kernel modules: i915
And the Desktop enviroment is Cinnamon.

Rémi Denis-Courmont
Developer
Developer
Posts: 15358
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Hardware decode issues/Video stops after a few seconds

Postby Rémi Denis-Courmont » 12 Apr 2016 22:44

Why did you force GLX for output? If your display drivers are broken then they would be the obvious culprit...

Does it work if you uninstall libvdpau-va-gl?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

artrande
New Cone
New Cone
Posts: 1
Joined: 17 Apr 2016 23:48

Re: Hardware decode issues/Video stops after a few seconds

Postby artrande » 17 Apr 2016 23:52

Hi there !
Had the same issues after reinstalling my PC on Debian Testing (black video with sound after a few seconds, VLC not stopping when closing it).
Uninstalling "libvdpau-va-gl" fixed it !
Thanks Rémi !


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 26 guests