- X11 Video Output Xcb Google Play
- X11 Video Output Xcb Google Download
- X11 Video Output Xcb Google Chrome
- Tv Video Output
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). Cvlc --x11-display:0 video.mp4 This way, the video will output to the X Server session even if this command it's used in a remote ssh session. However if the session it's finished, the video will stop, so you need to background the job, so when you logout, the video continues to play: cvlc --x11-display:0 video.mp4 &. Well apparently it's not possible to change the XBMC output to X11 video output(XCB), this only seems to be available in VLC. Nevertheless I managed to find a workaround to eliminate the video tearing in XBMC. This workaround has been only tested in Xubuntu 14.04 with Compton as it's default compositor. 1.- I tried to open a mp4 video and it doesn't work but with another mp4 it works. 2.- I read that the video (and is true) isn't going to be played inside a window (with controls and all stuff) how can I enable it for play the video inside a window? I want it because if i need to add subtitles to a file I need that controls. O ports/133609 x11 x11/xorg crashes with vlc, intel video driver o ports/133482 x11 x11/libXext 'Generic Event Extension not available' er o ports/133465 x11 x11/xorg: X crashes with mplayer -vo xv with xf86-vide o ports/132621 x11 x11/xorg tries to install event when deselected.
From • I just signed up lol from • Anyone else collecting VGM on vinyl? This is what I am listening to. It's getting expensive but my collection is growing.
If you hear the term Direct2D, you are probably thinking of some outdated technology that preceded the Direct3D. That, however, is not true; Direct2D has only been introduced recently with Windows 7 and Server 2008. Although made by Microsoft, the Linux alternative shares the same name (well, almost; officially, it's Direct2DAccel). And yes, this is for X - not for Wine or anything like that.
What does Direct2DAccel do?
X11 Video Output Xcb Google Play
D2D enables graphic cards to do what we always wanted them to do – perform graphic tasks. Unless you are playing video games (probably not so much if you are using Linux), your graphic card's processor (GPU) doesn't do a whole lot – even when you are playing movies. That all made sense in the beginning, when GPU's power was 75-150 MHz. However, the GPUs nowadays are capable of running much faster than that and they hunger for jobs.
Direct2D seeks to eliminate dependency on CPU and transfer it to the GPU. For example, DirectDraw instructs mostly the CPU to draw windows, frames, play videos etc. The processors have always been strong enough to do all those tasks, but why buy a fast GPU if it does nothing?
I have personally tested Direct2D rendering on my machine and it is fabulous! Since it is still in experimental stage, there are some bugs that need to be fixed, but the progress has been huge (the last time I tested it little over 20 days ago it was virtually unusable). Drawing windows is much faster and Compiz runs smoother (there is no longer a 0.5 second lag when maximizing/minimizing your window that many ATI owners experienced).
I have personally tested Direct2D rendering on my machine and it is fabulous! Since it is still in experimental stage, there are some bugs that need to be fixed, but the progress has been huge (the last time I tested it little over 20 days ago it was virtually unusable). Drawing windows is much faster and Compiz runs smoother (there is no longer a 0.5 second lag when maximizing/minimizing your window that many ATI owners experienced).
How to enable Direct2DAccel?
First, let me make you aware of my testing environment:
- Ubuntu 10.04 Lucid Lynx (latest updates)
- ATI HD5750
- FGLRX 8.723.1-0ubuntu2 (available from repos)
- OpenGL on and direct rendering is on
To enable Direct2DAccel, go to terminal and type:
Then restart X.
If something goes wrong, here's the way to revert it:
Now as I said, there are still bugs that need to be addressed, as well as functions that need to be implemented. The most notable one is that video does not play well or at all. However, there is a workaround for this:
First, load some video in Totem player or VLC or whatever you use - maybe it will work just fine. If not:
For Gstreamer based players (Totem e.g.)
In a terminal, type:
Then click on Video tab, under Default Output select the one that says 'X Window System (No Xv)'. Then see if it works.
If you are using VLC:
Go to Tools > Preferences > Video, and under output, select “X11 Video Output (XCB)” or “GLX Video Output (XCB)” (test both and see which one performs the best for you).
Selecting the “Without Xv” instructs the system NOT to use graphic card for rendering video which defies the purpose of Direct2D; BUT, as I mentioned, D2D is still highly experimental and not all features are implemented. If you have a good CPU then this shouldn't be an issue (I have quad-core Phenom II ). I don't know if weaker CPUs will have problems playing videos - they shouldn't, but please let me know in comments!
I averaged about 20% CPU usage while watching a DVD movie in Totem. I have no HD movies here at the moment so I'd be curious to see how they perform.
In any case, at this pace, we should have a fully functional D2D acceleration by the time the Ubuntu 10.04 Lucid final release comes out!
This is a guest post by Deusdies (thank you very much!) |
Active4 years, 7 months ago
I was just wondering if it's possible to change the XBMC output to X11 video output (XCB), just like in VLC?
I've searched all over the place, but can't seem to find any information about that.
Any help would be greatly appreciated!
user.dz36.1k1111 gold badges102102 silver badges187187 bronze badges
LinuxScientistLinuxScientist
1 Answer
Well apparently it's not possible to change the XBMC output to X11 video output(XCB), this only seems to be available in VLC.
X11 Video Output Xcb Google Download
Nevertheless I managed to find a workaround to eliminate the video tearing in XBMC. This workaround has been only tested in Xubuntu 14.04 with Compton as it's default compositor. Unfortunately the default xfce compositor does not work properly with my Nvidia GeForce GT 755 even when v-blank is enabled in the default xfce compositor and in the Nvidia settings.
To completely fix your XBMC screen tearing with the specific graphics card above:
- Go to
/home/<yourusername>/.config
and open thecompton.conf
file with a text editor of your choice. - Navigate to the line :and change it to:
Voilà, I have been tear free in XBMC ever since!
user.dz36.1k1111 gold badges102102 silver badges187187 bronze badges
X11 Video Output Xcb Google Chrome
LinuxScientistLinuxScientist