https://bugs.freedesktop.org/show_bug.cgi?id=38753
Summary: Strange drawing around models in r600g in SC2 Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: ace@sannes.org
When playing a game of sc2 under wine, some models have a white sphere around them.
This started happening after commit: commit 43bdabd47d98975b56a759954fb5f37d2942c101 Author: Brian Paul brianp@vmware.com Date: Wed May 18 16:19:06 2011 -0600
mesa: fix vertex array enable checking in check_valid_to_render()
In particular, this fixes the case where a vertex shader only uses generic vertex attributes (non-0th). Before, we were no-op'ing the glDrawArrays/Elements().
This fixes the new piglit pos-array test.
NOTE: This is a candidate for the 7.10 branch.
I will attach two images, one where the commit is reverted.
My hardware is as follows: ATI Technologies Inc RV770 [Radeon HD 4870]
Using r600g on gentoo ~amd64, with a 32bit chroot with r600g also.
https://bugs.freedesktop.org/show_bug.cgi?id=38753
--- Comment #1 from Asbjørn Sannes ace@sannes.org 2011-06-28 10:03:37 PDT --- Created an attachment (id=48521) --> (https://bugs.freedesktop.org/attachment.cgi?id=48521) A white sphere is drawn around a model
https://bugs.freedesktop.org/show_bug.cgi?id=38753
--- Comment #2 from Asbjørn Sannes ace@sannes.org 2011-06-28 10:04:36 PDT --- Created an attachment (id=48522) --> (https://bugs.freedesktop.org/attachment.cgi?id=48522) Same screen after reverting commit 43bdabd47d98975b56a759954fb5f37d2942c101
https://bugs.freedesktop.org/show_bug.cgi?id=38753
--- Comment #3 from Asbjørn Sannes ace@sannes.org 2011-08-17 12:09:04 PDT --- It still works to revert that commit.
https://bugs.freedesktop.org/show_bug.cgi?id=38753
--- Comment #4 from Asbjørn Sannes ace@sannes.org 2011-08-19 11:06:22 PDT --- If I disable UseGLSL in wine it also looks okay, not sure what it means. I guess it could be a problem in wine uncovered by the above commit or that it uncovered a bug elsewhere in mesa.
https://bugs.freedesktop.org/show_bug.cgi?id=38753
--- Comment #5 from Brian Paul brianp@vmware.com 2011-08-19 15:38:28 PDT --- I double-checked the patch in question and I think it's correct.
Do you think you could create a GL API trace of this game? Then I could try to reproduce it here.
See https://github.com/apitrace/apitrace for info.
https://bugs.freedesktop.org/show_bug.cgi?id=38753
--- Comment #6 from Asbjørn Sannes ace@sannes.org 2011-08-20 01:54:03 PDT --- Already did, but the trace becomes 1.2 gigabyte before I get to somewhere that displays the error. qapitrace crashes while loading the trace.
https://bugs.freedesktop.org/show_bug.cgi?id=38753
--- Comment #7 from Asbjørn Sannes ace@sannes.org --- For what it is worth, it seems to be working fine now. Think it was fixed within the last two months. If you like I could bisect to find out where it was fixed. Else we could just close this.
https://bugs.freedesktop.org/show_bug.cgi?id=38753
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Marek Olšák maraeo@gmail.com --- (In reply to comment #7)
For what it is worth, it seems to be working fine now. Think it was fixed within the last two months. If you like I could bisect to find out where it was fixed. Else we could just close this.
Closing.
dri-devel@lists.freedesktop.org