* [Bug 27199] New: Division by Zero error with glDrawRangeElementsEXT()
@ 2010-03-19 14:41 bugzilla-daemon
2010-03-19 14:41 ` [Bug 27199] " bugzilla-daemon
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2010-03-19 14:41 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27199
Summary: Division by Zero error with glDrawRangeElementsEXT()
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: rankincj@googlemail.com
Created an attachment (id=34243)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34243)
Full stack
This error kills World of Warcraft almost immediately on entering Azeroth.
(Login screens seem OK). Full stack trace is attached, but the part relevant to
R300 reads:
=Backtrace:
>0 0x7de37b40 emit_zb_offset+0x50() in r300_dri.so (0x0039f1fc)
1 0x7de4b872 radeonEmitState+0x4b2() in r300_dri.so (0x0039f26c)
2 0x7de32f20 r300DrawPrims+0xc30() in r300_dri.so (0x0039f31c)
3 0x7dee657b vbo_validated_drawrangeelements+0x10b() in r300_dri.so
(0x0039f38c)
4 0x7dee69a4 vbo_exec_DrawRangeElements+0x54() in r300_dri.so (0x0039f3bc)
5 0x7dedafcb neutral_DrawRangeElements+0xab() in r300_dri.so (0x0039f3ec)
6 0x7ed78291 wine_glDrawRangeElementsEXT+0xb1() in opengl32 (0x0039f44c)
This is with Mesa-git, xf86-drv-ati from git, libdrm-2.4.18 from F13, vanilla
kernel 2.6.33.1.
--
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
--
^ permalink raw reply [flat|nested] 6+ messages in thread* [Bug 27199] Division by Zero error with glDrawRangeElementsEXT()
2010-03-19 14:41 [Bug 27199] New: Division by Zero error with glDrawRangeElementsEXT() bugzilla-daemon
@ 2010-03-19 14:41 ` bugzilla-daemon
2010-03-19 14:47 ` bugzilla-daemon
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2010-03-19 14:41 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27199
Chris Rankin <rankincj@googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #34243|Full stack |Full WoW output, including
description| |backtrace.
--
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
--
^ permalink raw reply [flat|nested] 6+ messages in thread* [Bug 27199] Division by Zero error with glDrawRangeElementsEXT()
2010-03-19 14:41 [Bug 27199] New: Division by Zero error with glDrawRangeElementsEXT() bugzilla-daemon
2010-03-19 14:41 ` [Bug 27199] " bugzilla-daemon
@ 2010-03-19 14:47 ` bugzilla-daemon
2010-03-19 15:25 ` bugzilla-daemon
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2010-03-19 14:47 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27199
--- Comment #1 from Chris Rankin <rankincj@googlemail.com> 2010-03-19 07:47:07 PST ---
This bus is also present in F12's Mesa 7.7-4 packages.
--
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
--
^ permalink raw reply [flat|nested] 6+ messages in thread* [Bug 27199] Division by Zero error with glDrawRangeElementsEXT()
2010-03-19 14:41 [Bug 27199] New: Division by Zero error with glDrawRangeElementsEXT() bugzilla-daemon
2010-03-19 14:41 ` [Bug 27199] " bugzilla-daemon
2010-03-19 14:47 ` bugzilla-daemon
@ 2010-03-19 15:25 ` bugzilla-daemon
2010-03-19 15:48 ` bugzilla-daemon
2010-12-24 14:38 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2010-03-19 15:25 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27199
--- Comment #2 from Chris Rankin <rankincj@googlemail.com> 2010-03-19 08:25:16 PST ---
This crash stopped happening after I added the following hack:
--- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c
+++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
@@ -424,7 +424,7 @@ static void emit_zb_offset(GLcontext *ctx, struct
radeon_sta
uint32_t dw = atom->check(ctx, atom);
rrb = radeon_get_depthbuffer(&r300->radeon);
- if (!rrb)
+ if (!rrb || (rrb->cpp == 0))
return;
zbpitch = (rrb->pitch / rrb->cpp);
However, this did result in a couple of "no rrb" messages in my output log.
There were also a lot of artifacts present (see attachment), although that may
be a separate bug.
--
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
--
^ permalink raw reply [flat|nested] 6+ messages in thread* [Bug 27199] Division by Zero error with glDrawRangeElementsEXT()
2010-03-19 14:41 [Bug 27199] New: Division by Zero error with glDrawRangeElementsEXT() bugzilla-daemon
` (2 preceding siblings ...)
2010-03-19 15:25 ` bugzilla-daemon
@ 2010-03-19 15:48 ` bugzilla-daemon
2010-12-24 14:38 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2010-03-19 15:48 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27199
--- Comment #3 from Chris Rankin <rankincj@googlemail.com> 2010-03-19 08:48:58 PST ---
Created an attachment (id=34245)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34245)
WoW screenshot, showing lots of artifacts
These artifacts may be a completely different bug, not just because I hacked
away at emit_zb_offset().
--
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
--
^ permalink raw reply [flat|nested] 6+ messages in thread* [Bug 27199] Division by Zero error with glDrawRangeElementsEXT()
2010-03-19 14:41 [Bug 27199] New: Division by Zero error with glDrawRangeElementsEXT() bugzilla-daemon
` (3 preceding siblings ...)
2010-03-19 15:48 ` bugzilla-daemon
@ 2010-12-24 14:38 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2010-12-24 14:38 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=27199
Chris Rankin <rankincj@googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Chris Rankin <rankincj@googlemail.com> 2010-12-24 06:38:43 PST ---
No longer relevant now that r300g is the default driver. And was probably fixed
anyway.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-12-24 14:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-19 14:41 [Bug 27199] New: Division by Zero error with glDrawRangeElementsEXT() bugzilla-daemon
2010-03-19 14:41 ` [Bug 27199] " bugzilla-daemon
2010-03-19 14:47 ` bugzilla-daemon
2010-03-19 15:25 ` bugzilla-daemon
2010-03-19 15:48 ` bugzilla-daemon
2010-12-24 14:38 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).