multiple displays with different refresh rates

Adam Jackson ajax at
Tue Feb 7 14:35:31 PST 2012

On 2/7/12 5:10 PM, Loïc Le Loarer wrote:

> I'm trying to play two videos on one X server with two screens with
> different refresh rates (120Hz and 60Hz) without tearing.
> Currently I'm using XvShmPutImage with the send_event argument set to
> true on Xv ports with the XV_SYNC_TO_VBLANK attribute set.
> The problem is that I'm receiving completion events for both screen at
> the rhythm of the slowest screen, as if one on two event of the
> fastest screen were dropped.
> Do you have an idea of where I should look ?

You have found one of the fundamental shortcomings of Xv.

VDPAU might fix this, I've not checked.

- ajax

More information about the xorg mailing list