From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756544AbZHNLoe (ORCPT ); Fri, 14 Aug 2009 07:44:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756468AbZHNLod (ORCPT ); Fri, 14 Aug 2009 07:44:33 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:50897 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756522AbZHNLob (ORCPT ); Fri, 14 Aug 2009 07:44:31 -0400 Subject: Re: drm / i915 performance problems From: Peter Zijlstra To: Knut Petersen Cc: airlied@linux.ie, linux-kernel@vger.kernel.org In-Reply-To: <4A853ED8.9030800@t-online.de> References: <4A853ED8.9030800@t-online.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 14 Aug 2009 13:44:02 +0200 Message-Id: <1250250242.5241.1395.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2009-08-14 at 12:39 +0200, Knut Petersen wrote: > Hi David! > > My current system is based on openSuSE 10.2, kernel 2.6.22.6 is used. > As support for that distribution is discontinued, I had a look at > openSuSE 11.1 > and tried some of the new kernels. I found serious performance regressions > using the current kernels > > First a short descrition of the relevant hardware: > > mainboard: Aopen i915Gmm-hfs, > RAM: 2 GB > cpu: Pentium M 1.86GHz. > video: built in i915GM > 00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML > Express Processor to DRAM Controller (rev 04) > 00:02.0 VGA compatible controller: Intel Corporation Mobile > 915GM/GMS/910GML Express Graphics Controller (rev 04) (prog-if 00 [VGA]) > 00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML > Express Graphics Controller (rev 04) > > Test results: > > glxgears: 1045 fps / 30% cpu usage (opensuse 10.2, kernel 2.6.22.6, > smooth desktop and glxgears operation) > glxgears: 925 fps / 35% cpu usage (opensuse 11.1, kernel 2.6.22.6, > smooth desktop and glxgears operation) > glxgears: 900 fps / 45% cpu usage (opensuse 11.1, kernel 2.6.27.29, > smooth desktop and glxgears operation) > > glxgears: 210 fps / 8% cpu usage (opensuse 11.1, kernel 2.6.31-rc6, > Tiled buffers, jerky desktop and glxgears operation) > glxgears: 230 fps / 8% cpu usage (opensuse 11.1, kernel 2.6.31-rc6, > Tiling disabled, jerky desktop and glxgears operation) > > glxgears: 280 fps / 100% cpu usage (opensuse 11.1, kernel 2.6.31-rc6, > DRI disabled in kernel, smooth desktop and glxgears operation) > > With "jerky operation" in the table above I want to express, that > desktop and glxgears drawing operation seems to happen in > several bursts a second. Because of that the desktop performance is > annoying enough to be unusable. > > Xorg.0.log tells me: "Failed to set tiling on [front|back|depth] buffer: > Invalid argument". As disabling tiling in the older kernels > results in similar performance drops, I believe that the inability to > use tiled buffers is responsible for the low glxgears fps numbers. > > Any ideas how to solve that problem? I bet some people'd love to know what X.org version and intel drv version you're using. Also, if you're having KMS enabled or not.