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.
Created attachment 48521 [details] A white sphere is drawn around a model
Created attachment 48522 [details] Same screen after reverting commit 43bdabd47d98975b56a759954fb5f37d2942c101
It still works to revert that commit.
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.
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.
Already did, but the trace becomes 1.2 gigabyte before I get to somewhere that displays the error. qapitrace crashes while loading the trace.
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.
(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.
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.