Skip to contentSkip to conversation

New: corrupted rendering with vbo + kms + rv515 (hits Blender 2.50!)

Bug 27521 [email protected] 1 participant 6 messages Apr 7, 2010 – Apr 10, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=27521

Summary: corrupted rendering with vbo + kms + rv515 (hits
Blender 2.50!)
Product: Mesa
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=34773)
--> (https://bugs.freedesktop.org/attachment.cgi?id=34773)
program triggering the bug (compile with -std=c99)

Environment:
- Debian Linux, vanilla kernel 2.6.33,
- mesa 7.7.1-1,
- radeon ddx 1:6.12.192-2 (changelog says: pull from upstream master up to
commit 5c256808)
- libdrm 2.4.18-3
- Radeon x1300 (xorg says: 1002:7142:1043:0162 ATI Technologies Inc RV515 PRO
[Radeon X1300/X1550 Series] rev 0, ...)

When using Blender's 2.50 VBO rendering mode, some mesh faces are not drawn. The rendering is otherwise clean and correct. This occurs iff both VBO and KMS are enabled.

Using BuGLe (http://www.opengl.org/sdk/tools/BuGLe) i have obtained trace of opengl calls made by Blender (attached) and created a minimal program need to reproduce the bug. It should render rotating gray cube with slight orange silhouette. Program's source is attached, see comments there for details.

AFAIR the bug was already sitting there when I first tried KMS, which was around October 18.

In the other news, if VBO is large, I get this on the console:
*********************************WARN_ONCE********************************* File r300_draw.c function r300TryDrawPrims line 671
Rendering was 7 commands larger than predicted size. We might overflow command buffer.
***************************************************************************
This does not depend on KMS being enabled or not. 242406 indices and 40803 vertices are sufficient to reproduce this, but it's not strict lower bound.

Signature · 11 lines
Configure bugmail: https://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
--
#1 lore raw

[Bug 27521] corrupted rendering with vbo + kms + rv515 (hits Blender 2.50!)

https://bugs.freedesktop.org/show_bug.cgi?id=27521

--- Comment #1 from Wiktor Janas <[email protected]> 2010-04-07 12:05:43 PDT --- Created an attachment (id=34774)
--> (https://bugs.freedesktop.org/attachment.cgi?id=34774)
Blender's OpenGL call trace from BuGLe

Signature · 11 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; 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
--
#2 lore raw

[Bug 27521] corrupted rendering with vbo + kms + rv515 (hits Blender 2.50!)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=27521

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/Radeon |Drivers/DRI/r300

--- Comment #2 from Michel Dänzer <[email protected]> 2010-04-08 01:12:28 PDT --- I can confirm the problem with the r300 driver.

The test program works fine with the r300g driver.

Signature · 14 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; 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
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#3 lore raw

[Bug 27521] corrupted rendering with vbo + kms + rv515 (hits Blender 2.50!)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=27521

--- Comment #3 from Wiktor Janas <[email protected]> 2010-04-09 05:07:59 PDT --- Indeed, gallium version works for me too. However, it has some serious texture problems - basically anything Blender draws using textures is garbage. Blender can be used without vbo, but not without textures.

Is the vbo bug going to be fixed in non-gallium version?

Signature · 11 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; 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
--
#4 lore raw

[Bug 27521] corrupted rendering with vbo + kms + rv515 (hits Blender 2.50!)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=27521

Maciej Cencora <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Maciej Cencora <[email protected]> 2010-04-09 12:29:30 PDT --- I've pushed a fix on mesa_7_7_branch (a5489649593427e47b039ad0d4a98cbb4e547f69).
Thanks for the report and testcase!

Signature · 11 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; 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
--
#5 lore raw

[Bug 27521] corrupted rendering with vbo + kms + rv515 (hits Blender 2.50!)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=27521

--- Comment #5 from Rafał Miłecki <[email protected]> 2010-04-09 22:41:12 PDT --- (In reply to comment #4)

Quoted 3 lines

I've pushed a fix on mesa_7_7_branch
(a5489649593427e47b039ad0d4a98cbb4e547f69).
Thanks for the report and testcase!

Thanks for fix! ;)

Signature · 14 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; 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
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel