Skip to contentSkip to conversation

New: r600g regression : vertex buffer alignement

Bug 36065 [email protected] 1 participant 8 messages Apr 7, 2011 – Apr 8, 2011

lore
Share & tools
lore
#0 lore raw

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

Summary: r600g regression : vertex buffer alignement
Product: DRI
Version: XOrg CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

I have a simple app using vbo to render models.
The VBO layout is : position (3 float), normal (3 float), color (3 char)

This app was running perfectly until I updated libdrm/mesa to git version. Now the app still does not have any GL error set (checked with glGetError()), but its rendering is completely wrong.

git-bisect pointed me to this commit :
0ed5bf668db24fb56b5b359399099c89531e2a0a
"r600g: Request DWORD aligned vertex buffers."

OS : Debian unstable (amd64)
Radeon HD 4850

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

[Bug 36065] r600g regression : vertex buffer alignement

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

--- Comment #1 from [email protected] 2011-04-08 05:02:00 PDT --- Here's a few more information, hoping it could help :

Quoted 1 line

From Xorg.0.log :

[KMS] Kernel modesetting enabled.

Quoted 1 line

From glxinfo :

EE r600_pipe.c:430 r600_get_param - r600: unknown param 45 name of display: :0
[...]
direct rendering: Yes
OpenGL renderer string: Gallium 0.4 on AMD RV770

Quoted 1 line

From lscpci -v :

VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4850] (prog-if 00 [VGA controller])
(PCI-E)

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

[Bug 36065] r600g regression : vertex buffer alignement

In reply to [email protected]

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

--- Comment #2 from [email protected] 2011-04-08 05:03:43 PDT --- Created an attachment (id=45415)
--> (https://bugs.freedesktop.org/attachment.cgi?id=45415)
Wrong/Correct rendering

On the left : rendering using mesa including the mention commit On the right : rendering using older mesa OR LIBGL_ALWAYS_SOFTWARE=1

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

[Bug 36065] r600g regression : vertex buffer alignement

In reply to [email protected]

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

--- Comment #3 from Alex Deucher <[email protected]> 2011-04-08 07:42:37 PDT --- Can you attach the source to your test app?

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

[Bug 36065] r600g regression : vertex buffer alignement

In reply to [email protected]

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

--- Comment #4 from Alex Deucher <[email protected]> 2011-04-08 07:43:31 PDT --- Or find a simple mesa demo or piglit test that exhibits the same issue?

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

[Bug 36065] r600g regression : vertex buffer alignement

In reply to [email protected]

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

--- Comment #5 from [email protected] 2011-04-08 08:44:47 PDT --- Created an attachment (id=45424)
--> (https://bugs.freedesktop.org/attachment.cgi?id=45424)
sample app that reproduces the issue

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

[Bug 36065] r600g regression : vertex buffer alignement

In reply to [email protected]

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

Marek Olšák <[email protected]> changed:

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

            Product|DRI                         |Mesa
            Version|XOrg CVS                    |git
          Component|DRM/Radeon                  |Drivers/Gallium/r600

--- Comment #6 from Marek Olšák <[email protected]> 2011-04-08 09:48:55 PDT --- Both r300g and r600g are affected. I am working on the fix.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 36065] r600g regression : vertex buffer alignement

In reply to [email protected]

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

Marek Olšák <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Marek Olšák <[email protected]> 2011-04-08 10:36:01 PDT --- Fixed with commit a0d154dc1385d92a31dca8e65e50d958bdf6d532. Closing.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel