{"id":1807,"date":"2013-07-07T17:43:35","date_gmt":"2013-07-07T21:43:35","guid":{"rendered":"http:\/\/microdevsys.com\/wp\/?p=1807"},"modified":"2013-07-24T23:10:07","modified_gmt":"2013-07-25T03:10:07","slug":"xcb_xv-vout-display-error-no-available-xvideo-adaptor","status":"publish","type":"post","link":"https:\/\/microdevsys.com\/wp\/xcb_xv-vout-display-error-no-available-xvideo-adaptor\/","title":{"rendered":"xcb_xv vout display error: no available XVideo adaptor"},"content":{"rendered":"<p>\n\tSo after tinkering with my HTPC I notice the 120mm fan over my video card came loose. &nbsp;I mounted it on to the side of the case but the fan less video card&#39;s heat sink was not hot. &nbsp;Sure enough, after booting VLC wouldn&#39;t play anything. &nbsp;No sound no video just:\n<\/p>\n<p>\n\t<span style=\"color:#FF0000;\"><strong><span style=\"line-height: 1.6em;\">&nbsp;<\/span>xcb_xv vout display error: no available XVideo adaptor<\/strong><\/span>\n<\/p>\n<p>\n\tI did update the kernel as well sometime back and don&#39;t recall playing any videos since that time. &nbsp;And I also upgraded my SL Linux to 6.3 from 6.1. &nbsp;Either way, here&#39;s what we had to do:\n<\/p>\n<p>\n\t<!--more-->\n<\/p>\n<p>\n\tFirst, try to use the earlier kernels. &nbsp;\n<\/p>\n<p>\n\t<span style=\"font-family:courier new,courier,monospace;\">top &#8211; 17:41:24 up 20 min, &nbsp;2 users, &nbsp;load average: 1.27, 1.36, 1.09<br \/>\n\tTasks: 306 total, &nbsp; 3 running, 303 sleeping, &nbsp; 0 stopped, &nbsp; 0 zombie<br \/>\n\tCpu0 &nbsp;: 39.0%us, 21.3%sy, &nbsp;0.0%ni, 38.7%id, &nbsp;0.7%wa, &nbsp;0.0%hi, &nbsp;0.3%si, &nbsp;0.0%st<br \/>\n\tCpu1 &nbsp;: 49.2%us, 24.1%sy, &nbsp;0.0%ni, 24.8%id, &nbsp;1.3%wa, &nbsp;0.0%hi, &nbsp;0.7%si, &nbsp;0.0%st<br \/>\n\tMem: &nbsp; 3891836k total, &nbsp;2279580k used, &nbsp;1612256k free, &nbsp; &nbsp;76596k buffers<br \/>\n\tSwap: &nbsp;4194296k total, &nbsp; &nbsp; &nbsp; &nbsp;0k used, &nbsp;4194296k free, &nbsp; 721736k cached<\/span>\n<\/p>\n<p>\n\t<span style=\"font-family:courier new,courier,monospace;\">&nbsp; PID USER &nbsp; &nbsp; &nbsp;PR &nbsp;NI &nbsp;VIRT &nbsp;RES &nbsp;SHR S %CPU %MEM &nbsp; &nbsp;TIME+ &nbsp;COMMAND<br \/>\n\t17269 root &nbsp; &nbsp; &nbsp;20 &nbsp; 0 &nbsp;172m 8600 2820 S &nbsp;7.2 &nbsp;0.2 &nbsp; 0:00.22 cinder-rootwrap<br \/>\n\t17270 root &nbsp; &nbsp; &nbsp;20 &nbsp; 0 &nbsp;118m 3640 1320 R &nbsp;5.2 &nbsp;0.1 &nbsp; 0:00.16 vgs<br \/>\n\t17273 root &nbsp; &nbsp; &nbsp;20 &nbsp; 0 &nbsp;138m 6100 1900 R &nbsp;3.3 &nbsp;0.2 &nbsp; 0:00.10 nova-rootwrap<br \/>\n\t&nbsp;3158 cinder &nbsp; &nbsp;20 &nbsp; 0 &nbsp;279m &nbsp;22m 4296 S &nbsp;2.9 &nbsp;0.6 &nbsp; 0:33.17 cinder-volume<br \/>\n\t&nbsp;3259 nova &nbsp; &nbsp; &nbsp;20 &nbsp; 0 &nbsp;317m &nbsp;56m 5376 S &nbsp;0.7 &nbsp;1.5 &nbsp; 0:09.25 nova-api<br \/>\n\t17142 root &nbsp; &nbsp; &nbsp;20 &nbsp; 0 15164 1360 &nbsp;900 R &nbsp;0.7 &nbsp;0.0 &nbsp; 0:00.37 top<\/span>\n<\/p>\n<p>\n\t<span style=\"font-family:courier new,courier,monospace;\"><span style=\"font-family:arial,helvetica,sans-serif;\">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&#39;ve seen that before.<\/span>)<span style=\"font-family:arial,helvetica,sans-serif;\"> &nbsp;Still investigating&#8230; &nbsp;So we run VLC with a few verbosity level set to high. &nbsp;There&#39;s no better way to get more details then from the software it&#39;s running. &nbsp;Failing that, we&#39;ll use trace:<\/span><\/span>\n<\/p>\n<p style=\"margin-left: 40px;\">\n\t<strong><span style=\"font-family:courier new,courier,monospace;\"># vlc -vvvv<\/span><\/strong>\n<\/p>\n<p>\n\t<span style=\"line-height: 1.6em;\">And this results in a few more messages:<\/span>\n<\/p>\n<p style=\"margin-left: 40px;\">\n\t<span style=\"font-family:courier new,courier,monospace;\">[0x7fe9c4000b78] main input <span style=\"color:#FF0000;\"><strong>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&#39;<\/strong><\/span><\/span>\n<\/p>\n<p style=\"margin-left: 40px;\">\n\t&nbsp;\n<\/p>\n<p style=\"margin-left: 40px;\">\n\t<span style=\"font-family:courier new,courier,monospace;\">[0x7fe998001268] xcb_xv vout display debug: using XVideo extension v2.2<br \/>\n\t[0x7fe998001268] xcb_xv vout display <span style=\"color:#FF0000;\"><strong>error: no available XVideo adaptor<\/strong><\/span><br \/>\n\t[0x7fe9a8c05818] main video output debug: Reusing previous vout window<br \/>\n\t[0x7fe998001268] xcb_glx vout display debug: using GLX extension version 1.4<br \/>\n\t[0x7fe998001268] xcb_glx vout display debug: using screen 0xfc (number: 0)<\/span>\n<\/p>\n<p style=\"margin-left: 40px;\">\n\t<span style=\"font-family:courier new,courier,monospace;\">[0x7fe998001268] main vout display debug: VoutDisplayEvent &#39;fullscreen&#39; 0<br \/>\n\t[0x7fe998001268] main vout display debug: VoutDisplayEvent &#39;resize&#39; 656&#215;368 window<br \/>\n\t[0x7fe998001268] main vout display debug: using vout display module &quot;<strong>xcb_glx<\/strong>&quot;<\/span>\n<\/p>\n<p>\n\tWe also try to run the installed test apps for GLX to see if anything in the video drivers is not behaving well:\n<\/p>\n<p style=\"margin-left: 40px;\">\n\t<span style=\"font-family:courier new,courier,monospace;\">\/usr\/bin\/glxgears<br \/>\n\t\/usr\/bin\/glxinfo<\/span>\n<\/p>\n<p>\n\tBut all looked good other then some Slow text messages listed in the output of glxinfo. &nbsp;We know that&#39;s not a lead because the video worked fine on this system before and there were no hardware upgrades. &nbsp;We tried to run <strong>strace vlc -vvvv<\/strong> but that didn&#39;t give us much more detail then what we expected. &nbsp;Let&#39;s try <strong>ltrace&nbsp;vlc -vvvv<\/strong> next. &nbsp;Let&#39;s try the preferences menu in VLC instead. &nbsp;This is something of a hit and miss. So after a few options from the Tools -&gt; Preferences -&gt; Video menu option we used <strong>X11 video output (XCB)<\/strong> instead as the Output and we again got Video:\n<\/p>\n<p style=\"margin-left: 40px;\">\n\t<span style=\"font-family:courier new,courier,monospace;\">[0x7f09240047e8] xdg_screensaver inhibit debug: started xdg-screensaver (PID = 25908)<br \/>\n\t[0x7f0924001268] xcb_x11 vout display debug: connected to X11.0 server<br \/>\n\t[0x7f0924001268] xcb_x11 vout display debug: &nbsp;vendor : The X.Org Foundation<br \/>\n\t[0x7f0924001268] xcb_x11 vout display debug: &nbsp;version: 11004000<br \/>\n\t[0x7f0924001268] xcb_x11 vout display debug: using screen 0xfc<br \/>\n\t[0x7f0924001268] xcb_x11 vout display debug: using X11 visual ID 0xbd<br \/>\n\t[0x7f0924001268] xcb_x11 vout display debug: &nbsp;24 bits depth<br \/>\n\t[0x7f0924001268] xcb_x11 vout display debug: &nbsp;32 bits per pixel<br \/>\n\t[0x7f0924001268] xcb_x11 vout display debug: &nbsp;32 bits line pad<br \/>\n\t[0x7f0924001268] xcb_x11 vout display debug: using X11 window 04400001<br \/>\n\t[0x7f0924001268] xcb_x11 vout display debug: using X11 graphic context 04400002<\/span>\n<\/p>\n<p>\n\tInstead of:\n<\/p>\n<p style=\"margin-left: 40px;\">\n\t<span style=\"font-family:courier new,courier,monospace;\">[0x7fd184007538] xdg_screensaver inhibit debug: started xdg-screensaver (PID = 26223)<br \/>\n\t[0x7fd184001268] xcb_xv vout display debug: connected to X11.0 server<br \/>\n\t[0x7fd184001268] xcb_xv vout display debug: &nbsp;vendor : The X.Org Foundation<br \/>\n\t[0x7fd184001268] xcb_xv vout display debug: &nbsp;version: 11004000<br \/>\n\t[0x7fd184001268] xcb_xv vout display debug: using screen 0xfc<br \/>\n\t[0x7fd184001268] xcb_xv vout display debug: using XVideo extension v2.2<br \/>\n\t[0x7fd184001268] <span style=\"color:#FF0000;\"><strong>xcb_xv vout display error: no available XVideo adaptor<\/strong><\/span><br \/>\n\t[0x7fd19cc07978] main video output debug: Reusing previous vout window<br \/>\n\t[0x7fd184001268] xcb_glx vout display debug: using GLX extension version 1.4<br \/>\n\t[0x7fd184001268] xcb_glx vout display debug: using screen 0xfc (number: 0)<br \/>\n\t[0x7fd184001268] xcb_glx vout display debug: using X11 window 04800000<\/span>\n<\/p>\n<p>\n\tAnd that&#39;s how we got our video back. &nbsp;The only question now is why did the default not work. &nbsp;You can also set the default VLC player video output in the vlcrc file:\n<\/p>\n<p style=\"margin-left: 40px;\">\n\t<span style=\"font-family:courier new,courier,monospace;\">[videouser@mbpc vlc]$ diff vlcrc vlcrc.orig<br \/>\n\t3616c3616<br \/>\n\t&lt; #vout=<br \/>\n\t&#8212;<br \/>\n\t&gt; vout=xcb_x11<br \/>\n\t[videouser@mbpc vlc]$ pwd<br \/>\n\t\/home\/videouser\/.config\/vlc<br \/>\n\t[videouser@mbpc vlc]$&nbsp;<\/span>\n<\/p>\n<p>\n\t<span style=\"line-height: 1.6em;\">And that should do it. &nbsp;When looking closely at the debug output above, we notice the system is selecting <strong>xcb_glx<\/strong> as the display module, which doesn&#39;t work. This corresponds to the <strong>OpenGL GLX video output (XCB)<\/strong> in the preferences menu. &nbsp;Another display driver that also worked was the <strong>Simple DirectMedia Layer video output<\/strong>.<\/span>\n<\/p>\n<p>\n\t<span style=\"font-family:courier new,courier,monospace;\"><span style=\"font-family:arial,helvetica,sans-serif;\">Cheers,<br \/>\n\tTK<\/span><\/span><br \/>\n\t&nbsp;<\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>So after tinkering with my HTPC I notice the 120mm fan over my video card came loose. &nbsp;I mounted it on to the side of the case but the fan less video card&#39;s heat sink was not hot. &nbsp;Sure enough, after booting VLC wouldn&#39;t play anything. &nbsp;No sound no video just: &nbsp;xcb_xv vout display error: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[3],"tags":[1490,1488,558,135,1305,1487,1486,1489],"class_list":["post-1807","post","type-post","status-publish","format-standard","hentry","category-unix-linux-admin-stuff","tag-adaptor","tag-available","tag-display","tag-error","tag-no","tag-vout","tag-xcb_xv","tag-xvideo"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/posts\/1807","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/comments?post=1807"}],"version-history":[{"count":5,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/posts\/1807\/revisions"}],"predecessor-version":[{"id":2022,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/posts\/1807\/revisions\/2022"}],"wp:attachment":[{"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/media?parent=1807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/categories?post=1807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/tags?post=1807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}