Public bug reported:

The most recent VLC update seems to have broken h264 video playback
using the XVideo output (XCB). This method is preferable to the default
output method, which for me is VDPAU for h264 videos, because it can
play multiple video streams at once, while VDPAU locks up in this case.

This only happened to me today, and I think I updated to the latest
version of VLC yesterday, although it had been available for several
days.

Debug output from 'vlc -vv' when opening a video that doesn't display:

[00007f49380547b8] core video output debug: Opening vout display wrapper
[00007f493c0020e8] core vout display debug: looking for vout display module 
matching "xcb_xv": 15 candidates
[00007f493c0020e8] core vout display debug: no vout display modules matched
[00007f49380547b8] core video output error: video output creation failed
[00007f4938001ca8] core spu text debug: removing module "freetype"
[00007f49380be198] core scale debug: removing module "yuvp"
[00007f49380047e8] core scale debug: removing module "swscale"
[00007f4960c03978] core decoder error: failed to create video output
[00007f4960c03978] core decoder warning: can't get output picture
[00007f49640065e8] core input debug: Decoder wait done in 85 ms


For a video that works, the reason why isn't clear from debug output:

[00007f494c000958] core video output debug: Opening vout display wrapper
[00007f4948057cc8] core vout display debug: looking for vout display module 
matching "xcb_xv": 15 candidates
[00007f4948052918] core window debug: looking for vout window xid module 
matching "qt4,any": 4 candidates
[00007f4948052918] qt4 window debug: requesting video window...
[000000000258bab8] qt4 interface debug: Video was requested 0, 0
[00007f4948052918] core window debug: using vout window xid module "qt4"
[00007f4948057f68] core inhibit debug: looking for inhibit module matching 
"any": 2 candidates
[00007f4948057f68] dbus_screensaver inhibit debug: found service 
org.freedesktop.ScreenSaver
[00007f4948057f68] core inhibit debug: using inhibit module "dbus_screensaver"
[00007f4948057cc8] xcb vout display debug: connected to X11.0 server
[00007f4948057cc8] xcb vout display debug:  vendor : The X.Org Foundation
[00007f4948057cc8] xcb vout display debug:  version: 11600000
[00007f4948057cc8] xcb vout display debug: using screen 0x251
[00007f4948057cc8] xcb_xv vout display debug: using XVideo extension v2.2
[00007f4948057cc8] xcb_xv vout display debug: using adaptor NV17 Video Texture
[00007f4948057cc8] xcb_xv vout display debug: using port 550
[00007f4948057cc8] xcb_xv vout display debug: using image format 0x30323449
[00007f4948057cc8] xcb_xv vout display debug: using X11 visual ID 0x21 (depth: 
24)
[00007f4948057cc8] xcb_xv vout display debug: using X11 window 0x04a00000
[00007f4948057cc8] xcb_xv vout display debug: using X11 graphic context 
0x04a00002
[00007f4948057cc8] core vout display debug: VoutDisplayEvent 'fullscreen' 0

This is with 'Accelerated video output (Overlay)' enabled in vlc's basic
options, because without it the XVideo output (XCB) selection doesn't
display anything at all. Turning hardware decoding, or 'Direct
rendering' under advanced options, doesn't affect the result in this
case.

With two files that seem like they should be very similar, one works and
the other doesn't. Both are .flv files, both were created in 2011
according to the original file metadata and have the same video
resolution, but converting them to .mp4 doesn't change the result. The
output from x264 using the ultrafast preset is displayed, but any slower
presets cause the video to fail to be displayed. I tried setting turning
off trellis and b-frames, or changing reference frames to 1, but these
didn't affect the result.

I have attached samples of videos, one that works with XVideo/XCB output
and another that doesn't.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: vlc 2.2.0-0ubuntu0.14.10.1
ProcVersionSignature: Ubuntu 3.16.0-30.40-generic 3.16.7-ckt3
Uname: Linux 3.16.0-30-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr  3 15:57:25 2015
SourcePackage: vlc
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: vlc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug utopic

** Attachment added: "xcb_xv vout succeeds"
   
https://bugs.launchpad.net/bugs/1440254/+attachment/4365495/+files/working_%E9%87%91%E9%99%B5%E5%B0%8F%E5%BC%BA%20%5BXMzU3NjgzMzI4%5D.mp4

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

Title:
  Recent update broke XVideo/XCB output for h264

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

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

Reply via email to