From: =?ISO-8859-1?Q?=C9meric_Maschino?= Subject: Re: 3D OpenGL applications eat CPU ressources Date: Thu, 11 Feb 2010 21:25:30 +0100 Message-ID: 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: <20100204153511.GA1434@localhost.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: dri-devel@lists.sourceforge.net List-Id: dri-devel@lists.freedesktop.org 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) Interesting read for the parts I can understand. But a lot of this documentation goes way beyond my knowledge. Looking at the logs I've recorded, I can see R300_CMD_PACKET0, R300_CMD_WAIT, R300_CMD_PACKET3_RAW or R300_CMD_END3 traces. If I'm not mistaken, they come from r300_cmdbuf.c but I don't have the impression that they give sufficient information to isolate which command triggers a GPU lockup, right? As an alternative approach, I was wondering whether simple OpenGL applications, with growing number of different OpenGL instructions, would help diagnose the offending r300 command or not at all? =C9meric ---------------------------------------------------------------------------= --- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --