From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chun-Yu Shei Subject: Re: Tearing video on Sandy Bridge Date: Thu, 03 May 2012 16:32:47 -0400 Message-ID: <4FA2EB6F.8020309@cs.indiana.edu> References: <20120503180909.GA12017@mac.home> <20120503184301.GL4983@phenom.ffwll.local> <20120503193428.GA22379@x61.home> <20120503194637.GM4983@phenom.ffwll.local> <20120503195101.GA13941@mac.home> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from newman.cs.indiana.edu (newman.cs.indiana.edu [129.79.247.4]) by gabe.freedesktop.org (Postfix) with ESMTP id C30A79E7BC for ; Thu, 3 May 2012 14:00:21 -0700 (PDT) Received: from smtp.cs.indiana.edu (smtp.cs.indiana.edu [129.79.247.7]) by newman.cs.indiana.edu (8.13.8/8.13.8/IUCS_2.97) with ESMTP id q43KWl4X029484 for ; Thu, 3 May 2012 16:32:47 -0400 Received: from [129.79.244.41] (dhcp-cs-244-41.cs.indiana.edu [129.79.244.41]) (authenticated bits=0) by rage.cs.indiana.edu (8.13.1/8.13.1/IUCS_SMTP_Alternate_Port_1.5) with ESMTP id q43KWljG009115 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 3 May 2012 16:32:47 -0400 In-Reply-To: <20120503195101.GA13941@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 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 You may have to adjust the "/etc/X11/Sessions/Gnome" depending on your distribution (I'm on Gentoo). Hope that helps, Chun-Yu