From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephane Marchesin Subject: Re: 3D OpenGL applications eat CPU ressources Date: Sat, 6 Feb 2010 16:45:25 -0800 Message-ID: <6a89f9d51002061645r50d22cdkff95a0c6067d64e@mail.gmail.com> References: <20100131164243.GG29000@localhost.localdomain> <6a89f9d51002011400u2a7ff28aq281be343df5677c4@mail.gmail.com> <6a89f9d51002030253rd39eb7fu8ce850bba0ac2f69@mail.gmail.com> <20100204153511.GA1434@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: =?ISO-8859-1?Q?=C9meric_Maschino?= Cc: dri-devel@lists.sourceforge.net List-Id: dri-devel@lists.freedesktop.org On Sat, Feb 6, 2010 at 11:47, =C9meric Maschino = wrote: > 2010/2/4 Jerome Glisse : >> IIRC old radeon drm doesn't have any thing to dump GPU command stream. >> Look at http://www.x.org/docs/AMD/R5xx_Acceleration_v1.4.pdf to see >> what radeon GPU stream command looks like (packet pm4 stuff). Note that >> dump GPU command stream can quickly eat Gigs of data and finding what >> is causing the lockup is then very cumberstone especialy as in your >> case it sounds like it's a timing issue. You might want to force your >> card into pci mode to see if it's agp related. > > Yep, setting Option "BusType" "PCI" in /etc/X11/xorg.conf prevents > from GPU lockup. > > A a side note, strace glxinfo and strace glxgears still give me read() > errors on /tmp/.X11-unix/X0, so they're probably not related to GPU > lockup. > > Anyway, I don't know whether this is due to PCI mode or not, but > OpenGL performances, although there's no more GPU lockup, are poor. > And serious OpenGL applications, as simulated by the SPECviewperf test > suite, have very irregular frame rates. If I'm not mistaken, the > BusType option is specific to the radeon driver (or maybe other > drivers too)? I mean, it's not a X.org wide configuration option, > isn't it? This would thus narrow my investigation path to the AGP code > of the radeon driver, right? > >>From what I recall, all the ia64 AGP chipsets (well the zx1 and the 460) have to be run: - without side band adressing - without fast writes - at 4x speed otherwise they're unstable. I think by default agpgart puts them at AGP 1x with fast writes... Stephane ---------------------------------------------------------------------------= --- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the busine= ss Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com --