From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1M9shE-0007Ej-QO for garchives@archives.gentoo.org; Fri, 29 May 2009 03:23:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55FAAE0516; Fri, 29 May 2009 03:23:51 +0000 (UTC) Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by pigeon.gentoo.org (Postfix) with ESMTP id 2F374E0516 for ; Fri, 29 May 2009 03:23:51 +0000 (UTC) Received: by gxk24 with SMTP id 24so18482594gxk.10 for ; Thu, 28 May 2009 20:23:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=Ras/5E/bR+Za7HvQ8fNt5a9wFpKm0lHgg01lUyf+sYs=; b=nwX8udu693x4Ot10uNdOhpRDTrXLFuDQzMSMs72WaI81zO4iSbpzz+0Cd44slLll5Z nigZvwATqEwKZYPAeVK4rCwGi039jl1Rsn28sU/+ylWDXACy/U6JoCIT+ojFvdCF440Y hsg3VO7GGfA8wYGGOgKorkQSr5m/nbkuYqwTg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=a/i7AFDoujh1vjGIpu7Jz5lEJ2s9QMtd/htfEDDcuCXuAegfq8BydHjDcpaJ1WXhpL MmSQVTZ6yQUzm69rjn8NqwSWmVZYEtGWivK5O30/RGWHAz2Q6t56Td0r3FuVlYw+ejOU v7Ff/z2e6SbaTQkq5A7PU5C2QE9qnevpMWosM= Received: by 10.90.80.18 with SMTP id d18mr1652190agb.43.1243567430686; Thu, 28 May 2009 20:23:50 -0700 (PDT) Received: from ?192.168.10.6? (c-68-47-169-86.hsd1.tn.comcast.net [68.47.169.86]) by mx.google.com with ESMTPS id 34sm1351031agc.39.2009.05.28.20.23.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 28 May 2009 20:23:50 -0700 (PDT) Message-ID: <4A1F552E.3030605@gmail.com> Date: Thu, 28 May 2009 23:23:26 -0400 From: Valmor de Almeida User-Agent: Thunderbird 2.0.0.21 (X11/20090505) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] get fences failed: -1 and [drm:i915_getparam] *ERROR* References: <4A1E24DA.7020500@gmail.com> <20090528095226.2d54d988@krikkit.digimed.co.uk> <4A1EA15C.4060504@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: c29b419f-ddd7-4124-bd06-62833168e604 X-Archives-Hash: d1c3b13c86e10619caa93f3cf7f6d0db AJ Spagnoletti wrote: >> -> glxgears >> get fences failed: -1 >> param: 6, val: 0 >> >> 300 frames in 5.0 seconds = 59.565 FPS >> 298 frames in 5.0 seconds = 59.524 FPS >> 299 frames in 5.0 seconds = 59.737 FPS >> 300 frames in 5.0 seconds = 59.884 FPS >> >> > > I have run into this same problem following an xorg-server upgrade, > The problem started with the upgrade to xorg-server-1.5.x, using intel > graphics driver version 2.7.1 and mesa version 7.4.2, my thread ran > dead and as of writing this email I still have yet to find a solution > to the problem. To the best of my knowledge there are known issues > with new versions of the intel video drivers, however I cannot > personally confirm this nor do I know of any plans or time line for > the fixes to be made. > > AJ > > Same here the upgrade to xorg-server-1.5.x introduced lots of surprises. There were too many changes for me: upgrade of gcc to 4.3.2, and configuration of hal (a difficult thing to do on a laptop at the moment). What really slowed me down was that for some unknown reason my windowmaker was completely messed up and took me almost a day to get it fixed. Back to the glxgears problem. This is critical for me since my ooimpress presentations have embedded animated gifs and they play really really slow under slideshow after the xorg upgrade. A random run of glxgears gave me this clue (go figure; I must have ran glxgears a hundred times before I saw this message) -> glxgears get fences failed: -1 param: 6, val: 0 298 frames in 5.0 seconds = 59.518 FPS 297 frames in 5.0 seconds = 59.293 FPS 297 frames in 5.0 seconds = 59.281 FPS do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly. Try adjusting the vblank_mode configuration parameter. Googling vblank_mode on the web I came across this web site http://en.gentoo-wiki.com/wiki/Intel_GMA which is pertinent to my hardware and kernel/drivers. Therefore if I do -> vblank_mode=0 glxgears ATTENTION: default value of option vblank_mode overridden by environment. get fences failed: -1 param: 6, val: 0 4418 frames in 5.0 seconds = 883.510 FPS 4490 frames in 5.0 seconds = 897.871 FPS 4491 frames in 5.0 seconds = 898.054 FPS 4481 frames in 5.0 seconds = 896.043 FPS 4382 frames in 5.0 seconds = 876.251 FPS I get much better performance as I used to have before the xorg upgrade. This is where I am now trying to gather information on how to deal with dri and vblank_mode settings. Hope this helps. -- Valmor