From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: slow graphics after Suspend to RAM Date: Thu, 17 Mar 2011 07:51:38 +0000 Message-ID: <1bdc18$jt7ta9@fmsmga002.fm.intel.com> References: <20110316235920.GA392@ink.rmtc.fedex.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id EE6879E8B8 for ; Thu, 17 Mar 2011 00:51:41 -0700 (PDT) In-Reply-To: <20110316235920.GA392@ink.rmtc.fedex.com> 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: John Harrigan , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, 16 Mar 2011 17:59:20 -0600, John Harrigan wrote: > I have a Lenovo X201 laptop with an i7-620M processor. After I resume > from a Suspend to RAM the graphics are very slow. Suspend to Disk does > not cause the same problem and doing a Suspend to Disk after a Suspend > to RAM fixes the problem. Known problem. The PAT lose the WC bits for the GTT aperture on resume. There is a workaround that we can do: recreate the ioremapping upon resume. (But the root cause is not a gfx driver bug.) > I see the same slow-down regardless of whether X11 is running or not. > I'm not doing 3D, I notice the slow-down in regular 2D stuff like > scrolling a lot of text through a terminal window. That's not regular 2D stuff, that's CPU fallback! You will only see a slight performance difference (an order of magnitude and more, with comparable decrease in power consumption whilst drawing) by switching to the XRender paths in your terminal. -Chris -- Chris Wilson, Intel Open Source Technology Centre