Discussion Forums > Technology

New look for Ubuntu with the release of Lucid Lynx!

<< < (8/9) > >>

darkphon22:
Ya Compiz Fusion (in fact compositing in general on Linux) messes up V-Sync with video on Linux, so I can't use it. From what I read, X11 can't handle 2 programs V-Syncing at once cuz of its design. In fact, V-Sync with X11 is essentially a dirty hack.

One of these days, I would like to help engineer a replacement for X11 that natively supports 3D accelerated windows management and V-Sync w/o elaborate hacks. X11 is essentially now a custy old pig (though very well-engineered for its time). It really needs to be replaced.

nstgc:
I haven't don't have V-sync problems. I didn't have any trouble with the ATi drivers, and with nVidia drivers I just needed to enable two things in the nVidia control panel (plus some tweaking). I also needed to enable V-sync in Compiz. I don't know about that being a "dirty hack" but I certainly don't have problems now. Getting nVidia's drivers to V-sync openGL was a pain in the ass, but it wasn't something that can't be done given time and patients.

Of course, I also don't use X11. I use OpenGL. I can't remember how to switch it manually. On a previous release of Ubuntu I had to manaully tell nVidia (but not ATi) to use OpenGL instead of X11, but in 9.04 and 9.10, it's default.

darkphon22:
Using OpenGL is a great workaround for Compiz, though it still breaks VDPAU as I believe it uses X11 to render the video.

I've had a really hard time getting things to stop tearing with both Compiz and VDPAU being used at the same time. Using OpenGL for both probably would fix it, but then I lose the H.264 acceleration.

nstgc:
I've almost always used MPlayer. Before I used vdpau's render I used the open gl render. Just set "vo = gl" in "~/.mplayer/config". If that doesn't work tack on ":swapinterval=1".

I don't quite understand the problem. I assume you built some player with vdpau support so you should have both the render and the decoder. What renderer your desktop uses is irrelevant.

darkphon22:
VDPAU is a different video output from OpenGL. You set "vo = vdpau" to enable it. I believe the VDPAU output uses X11, which causes V-Sync issues when using compositing. This is as X11 can't properly V-Sync when two or more applications are V-Syncing at once.

Using OpenGL for everything is a pretty good solution as I believe all OpenGL apps only count as one application as the rendering is all handled within OpenGL. X11 has issues syncing outputs from two applications at once though, which you run into when one application renders using X11 directly and one application renders using OpenGL.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version