Double Buffering + Xinerama

Adam Jackson ajax at nwnk.net
Tue May 8 09:47:13 PDT 2012


On 5/5/12 12:08 PM, naquad wrote:

> I have a quad monitor setup connected to 2 ati videocards. It sucks.
> Everything is flickering and this leads to lots of FrUUUUUUUUUstration.
>
> I know there's no solution for this problem atm. From what I've seen in
> dbe.c it doesn't initialize if Xinerama is enabled.
> I've tried to comment out those 2 lines (yes, thats stupid, but I wanted to
> see what'll happen) but that didn't help and error message was about bad
> drawable.
>
> I'm not a Xorg developer and don't have any previous experience with it,
> but I would like to try to implement DBE support for Xinerama.
> What should I read and where should I start? Or even better: what should I
> implement or modify in current dbe.c to make it work with Xinerama?

DBE doesn't work like that.  If your app isn't already using it (and 
it's almost certainly not) then teaching DBE about Xinerama isn't going 
to make things any better.

The solution for flicker in X is compositing and a presentation API like 
GLX that has actual sync to vblank.  Currently GLX and Xinerama don't 
work together.  It's fixable, but rather involved.

- ajax



More information about the xorg-devel mailing list