[Intel-gfx] Tearing video on Sandy Bridge

Tino Keitel tino.keitel+xorg at tikei.de
Fri May 4 21:44:23 CEST 2012


On Fri, May 04, 2012 at 07:56:08 +0200, tino.keitel+xorg at tikei.de wrote:
> On Thu, May 03, 2012 at 16:32:47 -0400, Chun-Yu Shei wrote:
> > On 05/03/2012 03:51 PM, tino.keitel+xorg at tikei.de wrote:
> > >On Thu, May 03, 2012 at 21:46:37 +0200, Daniel Vetter wrote:
> > >>On Thu, May 03, 2012 at 09:34:28PM +0200, Tino Keitel wrote:
> > >>>On Thu, May 03, 2012 at 20:43:01 +0200, Daniel Vetter wrote:
> > >>>
> > >>>[...]
> > >>>
> > >>>>The only way to get tear-free screen updates on snb is with pageflips,
> > >>>>which requires a opengl compositor
> > >>>
> > >>>Thanks. What do you mean with "opengl compositor"? Isn't the Gnome3
> > >>>desktop providing this?
> > >>
> > >>Well, it needs to do vsync'ed updates, and to work correctly, the client
> > >
> > >Is this in the dri config file?
> > 
> > I've had tear-free video (finally!) in GNOME 3 for a while now,
> > using the following in my ~/.xsession (and launching that from GDM
> > instead of GNOME directly):
> > 
> > CLUTTER_PAINT=disable-clipped-redraws:disable-culling
> > /etc/X11/Sessions/Gnome
> 
> Thanks, I'll try that. When I goggled for that, I also found people
> using CLUTTER_VBLANK=True.

Thanks a lot, the CLUTTER_PAINT setting did the trick. The
CLUTTER_VBLANK line had no effect.

Regards,
Tino



More information about the Intel-gfx mailing list