How To Reduce/Eliminate Horizontal Tearing
michel at tungstengraphics.com
Thu Dec 11 00:45:32 PST 2008
On Wed, 2008-12-10 at 21:11 -0800, Keith Packard wrote:
> There aren't any options at this point, but I'm wondering -- is this
> full-screen? If we made full-screen Xv operations block until vblank
> (which would lock up the X server), would that be an acceptable option?
> It's actually very easy to do, just stick a 'wait for vblank' command
> into the ring right before the 'copy the new picture' command in the Xv
> extension code. It's just annoying when you're watching a tiny movie and
> your whole session stops responding.
The radeon driver from current Git just stalls the command stream until
scanout is outside of the vertical area rendered to by the XVideo blit.
Pretty sure Intel hardware would support this as well.
Earthling Michel Dänzer | http://tungstengraphics.com
Libre software enthusiast | Debian, X and DRI developer
More information about the xorg