Header Shadow Image


xcb_xv vout display error: no available XVideo adaptor

So after tinkering with my HTPC I notice the 120mm fan over my video card came loose.  I mounted it on to the side of the case but the fan less video card's heat sink was not hot.  Sure enough, after booting VLC wouldn't play anything.  No sound no video just:

 xcb_xv vout display error: no available XVideo adaptor

I did update the kernel as well sometime back and don't recall playing any videos since that time.  And I also upgraded my SL Linux to 6.3 from 6.1.  Either way, here's what we had to do:

First, try to use the earlier kernels.  

top – 17:41:24 up 20 min,  2 users,  load average: 1.27, 1.36, 1.09
Tasks: 306 total,   3 running, 303 sleeping,   0 stopped,   0 zombie
Cpu0  : 39.0%us, 21.3%sy,  0.0%ni, 38.7%id,  0.7%wa,  0.0%hi,  0.3%si,  0.0%st
Cpu1  : 49.2%us, 24.1%sy,  0.0%ni, 24.8%id,  1.3%wa,  0.0%hi,  0.7%si,  0.0%st
Mem:   3891836k total,  2279580k used,  1612256k free,    76596k buffers
Swap:  4194296k total,        0k used,  4194296k free,   721736k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
17269 root      20   0  172m 8600 2820 S  7.2  0.2   0:00.22 cinder-rootwrap
17270 root      20   0  118m 3640 1320 R  5.2  0.1   0:00.16 vgs
17273 root      20   0  138m 6100 1900 R  3.3  0.2   0:00.10 nova-rootwrap
 3158 cinder    20   0  279m  22m 4296 S  2.9  0.6   0:33.17 cinder-volume
 3259 nova      20   0  317m  56m 5376 S  0.7  1.5   0:09.25 nova-api
17142 root      20   0 15164 1360  900 R  0.7  0.0   0:00.37 top

In this case we see high CPU usage which could be preventing the system from showing video due to the system being too slow. (I've seen that before.)  Still investigating…  So we run VLC with a few verbosity level set to high.  There's no better way to get more details then from the software it's running.  Failing that, we'll use trace:

# vlc -vvvv

And this results in a few more messages:

[0x7fe9c4000b78] main input error: no suitable demux module for `file/subtitle:///home/videouser/Desktop/Files/Movies/Lego.The.Adventures.of.Clutch.Powers//Lego.The.Adventures.of.Clutch.Powers.sub'

 

[0x7fe998001268] xcb_xv vout display debug: using XVideo extension v2.2
[0x7fe998001268] xcb_xv vout display error: no available XVideo adaptor
[0x7fe9a8c05818] main video output debug: Reusing previous vout window
[0x7fe998001268] xcb_glx vout display debug: using GLX extension version 1.4
[0x7fe998001268] xcb_glx vout display debug: using screen 0xfc (number: 0)

[0x7fe998001268] main vout display debug: VoutDisplayEvent 'fullscreen' 0
[0x7fe998001268] main vout display debug: VoutDisplayEvent 'resize' 656×368 window
[0x7fe998001268] main vout display debug: using vout display module "xcb_glx"

We also try to run the installed test apps for GLX to see if anything in the video drivers is not behaving well:

/usr/bin/glxgears
/usr/bin/glxinfo

But all looked good other then some Slow text messages listed in the output of glxinfo.  We know that's not a lead because the video worked fine on this system before and there were no hardware upgrades.  We tried to run strace vlc -vvvv but that didn't give us much more detail then what we expected.  Let's try ltrace vlc -vvvv next.  Let's try the preferences menu in VLC instead.  This is something of a hit and miss. So after a few options from the Tools -> Preferences -> Video menu option we used X11 video output (XCB) instead as the Output and we again got Video:

[0x7f09240047e8] xdg_screensaver inhibit debug: started xdg-screensaver (PID = 25908)
[0x7f0924001268] xcb_x11 vout display debug: connected to X11.0 server
[0x7f0924001268] xcb_x11 vout display debug:  vendor : The X.Org Foundation
[0x7f0924001268] xcb_x11 vout display debug:  version: 11004000
[0x7f0924001268] xcb_x11 vout display debug: using screen 0xfc
[0x7f0924001268] xcb_x11 vout display debug: using X11 visual ID 0xbd
[0x7f0924001268] xcb_x11 vout display debug:  24 bits depth
[0x7f0924001268] xcb_x11 vout display debug:  32 bits per pixel
[0x7f0924001268] xcb_x11 vout display debug:  32 bits line pad
[0x7f0924001268] xcb_x11 vout display debug: using X11 window 04400001
[0x7f0924001268] xcb_x11 vout display debug: using X11 graphic context 04400002

Instead of:

[0x7fd184007538] xdg_screensaver inhibit debug: started xdg-screensaver (PID = 26223)
[0x7fd184001268] xcb_xv vout display debug: connected to X11.0 server
[0x7fd184001268] xcb_xv vout display debug:  vendor : The X.Org Foundation
[0x7fd184001268] xcb_xv vout display debug:  version: 11004000
[0x7fd184001268] xcb_xv vout display debug: using screen 0xfc
[0x7fd184001268] xcb_xv vout display debug: using XVideo extension v2.2
[0x7fd184001268] xcb_xv vout display error: no available XVideo adaptor
[0x7fd19cc07978] main video output debug: Reusing previous vout window
[0x7fd184001268] xcb_glx vout display debug: using GLX extension version 1.4
[0x7fd184001268] xcb_glx vout display debug: using screen 0xfc (number: 0)
[0x7fd184001268] xcb_glx vout display debug: using X11 window 04800000

And that's how we got our video back.  The only question now is why did the default not work.  You can also set the default VLC player video output in the vlcrc file:

[videouser@mbpc vlc]$ diff vlcrc vlcrc.orig
3616c3616
< #vout=

> vout=xcb_x11
[videouser@mbpc vlc]$ pwd
/home/videouser/.config/vlc
[videouser@mbpc vlc]$ 

And that should do it.  When looking closely at the debug output above, we notice the system is selecting xcb_glx as the display module, which doesn't work. This corresponds to the OpenGL GLX video output (XCB) in the preferences menu.  Another display driver that also worked was the Simple DirectMedia Layer video output.

Cheers,
TK

 

2 Responses to “xcb_xv vout display error: no available XVideo adaptor”

  1. […] http://microdevsys.com/wp/xcb_xv-vout-display-error-no-available-xvideo-adaptor/ […]

  2. Awesome, this fixed my issue on Debian. Thanks for this!

Leave a Reply

You must be logged in to post a comment.


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License