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
Here's a few more information, hoping it could help : From Xorg.0.log : [KMS] Kernel modesetting enabled. 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 From lscpci -v : VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4850] (prog-if 00 [VGA controller]) (PCI-E)
Created attachment 45415 [details] 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
Can you attach the source to your test app?
Or find a simple mesa demo or piglit test that exhibits the same issue?
Created attachment 45424 [details] sample app that reproduces the issue
Both r300g and r600g are affected. I am working on the fix.
Fixed with commit a0d154dc1385d92a31dca8e65e50d958bdf6d532. Closing.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.