From: Tino Keitel Subject: Re: Tearing video on Sandy Bridge Date: Fri, 4 May 2012 21:44:23 +0200 Message-ID: <20120504194423.GA24148@x61.home> References: <20120503180909.GA12017@mac.home> <20120503184301.GL4983@phenom.ffwll.local> <20120503193428.GA22379@x61.home> <20120503194637.GM4983@phenom.ffwll.local> <20120503195101.GA13941@mac.home> <4FA2EB6F.8020309@cs.indiana.edu> <20120504055608.GA15315@mac.home> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from eazy.amigager.de (eazy.amigager.de [213.239.192.238]) by gabe.freedesktop.org (Postfix) with ESMTP id 26F5A9E8BB for ; Fri, 4 May 2012 12:44:31 -0700 (PDT) Received: from x61.home (mnch-4d043e11.pool.mediaWays.net [77.4.62.17]) by eazy.amigager.de (Postfix) with ESMTPA id 79205C8C21E for ; Fri, 4 May 2012 21:44:29 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20120504055608.GA15315@mac.home> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, May 04, 2012 at 07:56:08 +0200, tino.keitel+xorg@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@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