From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: vsync problems with recent graphics stack and 945gm Date: Mon, 13 Sep 2010 13:44:41 -0700 Message-ID: <20100913134441.762001f7@jbarnes-desktop> References: <201009132336.17310.anarsoul@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cpoproxy3-pub.bluehost.com (cpoproxy3-pub.bluehost.com [67.222.54.6]) by gabe.freedesktop.org (Postfix) with SMTP id 8C6019E7A4 for ; Mon, 13 Sep 2010 13:44:50 -0700 (PDT) In-Reply-To: <201009132336.17310.anarsoul@gmail.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: Vasily Khoruzhick Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Mon, 13 Sep 2010 23:36:11 +0300 Vasily Khoruzhick wrote: > Hi there, I've just built graphics stack (xf86-video-intel, libdrm, mesa) from > git (but I'm on 2.6.35.x kernel) and still experiencing vsync troubles without > composite manager, here's output of glxgears: > > $ glxgears > Running synchronized to the vertical refresh. The framerate should be > approximately the same as the monitor refresh rate. > 243 frames in 5.0 seconds = 48.124 FPS > 157 frames in 5.0 seconds = 31.300 FPS > 155 frames in 5.0 seconds = 30.864 FPS > > But I'm pretty sure that vertical refresh is 60 hz! And gears are jerky (not > smooth at all). If I move mouse cursor over glxgears window FPS goes up to 60. > And main problem is that keyboard events are also jerky, i.e. I press key and > system receives press event in 0.1-0.5 sec or so (tested via xev). > > There's no such problem when composition manager is running (i.e. effects are > enabled in KDE) > > Is there any solution for this problem? It really annoys me. I remember seeing a similar problem on an Eee PC I had; it seemed to be timer/interrupt related somehow. If I booted with clocksource=tsc (or maybe it was pit) I got nice smooth animations, but if I used the HPET things were really slow. Does the same work for you? -- Jesse Barnes, Intel Open Source Technology Center