From: bugzilla-daemon@freedesktop.org Subject: [Bug 36978] Radeon 7500 [rv200] - hardware tcl don't work corretly Date: Mon, 9 May 2011 06:57:18 -0700 (PDT) Message-ID: <20110509135718.8B75A13004E@annarchy.freedesktop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from annarchy.freedesktop.org (annarchy.freedesktop.org [131.252.210.176]) by gabe.freedesktop.org (Postfix) with ESMTP id C011A9E86E for ; Mon, 9 May 2011 06:57:18 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org https://bugs.freedesktop.org/show_bug.cgi?id=36978 --- Comment #8 from Alex Deucher 2011-05-09 06:57:17 PDT --- (In reply to comment #7) > and one moment about "I'd start with r200EnsureEmitSize() in r200_tcl.c" > rv200 is an R100-based chipset, so driver is r100 radeonEnsureEmitSize() in radeon_tcl.c is called from radeon_run_tcl_render(). radeonEnsureEmitSize() walks through the pending state to make sure it will all fit in the current command buffer, but it appears to be missing some additional state that's being emitted. If you run the game from the terminal, it should print out a warning: if (emit_end < rmesa->radeon.cmdbuf.cs->cdw) WARN_ONCE("Rendering was %d commands larger than predicted size." " We might overflow command buffer.\n", rmesa->radeon.cmdbuf.cs->cdw - emit_end); Most likely: radeonEmitArrays() radeonEmitEltPrimitive() radeonEmitPrimitive() is emitting more state than radeonEnsureEmitSize() thinks it should. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.