Skip to contentSkip to conversation

New: Strange drawing around models in r600g in SC2

Bug 38753 [email protected] 1 participant 9 messages Jun 28, 2011 – Apr 13, 2014

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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 <[email protected]>                                          
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.

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 38753] Strange drawing around models in r600g in SC2

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

--- Comment #1 from Asbjørn Sannes <[email protected]> 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

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
#2 lore raw

[Bug 38753] Strange drawing around models in r600g in SC2

In reply to [email protected]

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

--- Comment #2 from Asbjørn Sannes <[email protected]> 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

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
#3 lore raw

[Bug 38753] Strange drawing around models in r600g in SC2

In reply to [email protected]

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

--- Comment #3 from Asbjørn Sannes <[email protected]> 2011-08-17 12:09:04 PDT --- It still works to revert that commit.

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
#4 lore raw

[Bug 38753] Strange drawing around models in r600g in SC2

In reply to [email protected]

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

--- Comment #4 from Asbjørn Sannes <[email protected]> 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.

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
#5 lore raw

[Bug 38753] Strange drawing around models in r600g in SC2

In reply to [email protected]

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

--- Comment #5 from Brian Paul <[email protected]> 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.

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 38753] Strange drawing around models in r600g in SC2

In reply to [email protected]

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

--- Comment #6 from Asbjørn Sannes <[email protected]> 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.

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 38753] Strange drawing around models in r600g in SC2

In reply to [email protected]

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

--- Comment #7 from Asbjørn Sannes <[email protected]> ---
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.

Signature · 2 lines
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

#8 lore raw

[Bug 38753] Strange drawing around models in r600g in SC2

In reply to [email protected]

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

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

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Marek Olšák <[email protected]> --- (In reply to comment #7)

Quoted 3 lines

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.

Signature · 2 lines
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