From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 26043] Graphics corruption in Sauerbraten
Date: Mon, 29 Mar 2010 03:58:26 -0700 (PDT)
Message-ID: <20100329105826.BF83913005D@annarchy.freedesktop.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
In-Reply-To:
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
http://bugs.freedesktop.org/show_bug.cgi?id=26043
Jon Severinsson changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #32638|0 |1
is obsolete| |
--- Comment #2 from Jon Severinsson 2010-03-29 03:58:26 PST ---
Created an attachment (id=34530)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34530)
Somewhat less ugly patch for Mesa 7.8
When upgrading to mesa 7.8 I had to update my patch to get it to apply. I took
the opportunity to see if I could clean up the patch while I was at it.
Essentially I tried to find what current code was the equivalent to the old
code my patch re-introduced, and modify that instead.
The new patch is still no beauty, but much better than the old one and now
weights at a somewhat more modest 372 lines (removing 97 lines and adding 77
lines)
Trying to analyse the changes I find three major ones, as well as some minor
ones following from those, but as I'm no expert on Mesa I don't fully
understand what impact they have, other than what I see on screen (Sauerbraten
starting to work).
1) With the patch applied r700TryDrawPrims is called as a first stage of
r600_pipeline instead of being called through the vbo_context(ctx)->draw_prims
callback from the other stages.
2) In several places the patch replaces use of context->stream_desc with use of
context->radeon.tcl.aos.
3) After doing the other changes, r700RunRenderPrimitiveImmediate have to use
data from vb->Elts when calling R600_OUT_BATCH() or the graphic cards borks and
requires a restart to output anything.
I hope this work will help someone more knowledgeable to figure out how to fix
the problem properly.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--