Skip to contentSkip to conversation

New: Missing bits of geometry in Unigine tropics

Bug 53519 [email protected] 1 participant 4 messages Aug 15, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Bug #: 53519
Summary: Missing bits of geometry in Unigine tropics
Classification: Unclassified
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: minor
Priority: medium
Component: Drivers/DRI/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]

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.

A message that is not in the archive (sent off-list or not yet received): bug-53519-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 53519] Missing bits of geometry in Unigine tropics

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

--- Comment #1 from [email protected] 2012-08-15 01:03:59 UTC --- To reproduce I set the 'export NV50_PROG_OPTIMIZE=1'
because otherwise bugs in nouveau shader compiler cause severe misrenderings

Then you notice that random bits of the scenery appear and disappear randomly. I bisected this issue to commit
'mesa,vbo: properly detect when vertex arrays need to be recalculated'

However, further commits appear to also break rendering in similar way. To restore the functionality, I had to revert 6 commits:

fb4a34e60eb4c1bdc7b0fdcd98d1bf3038c354e8
'mesa: set _NEW_VARYING_VP_INPUTS flag only if fixed-func VP is enabled & valid'

6fc565a94bc0de7ad617c28db7b8b6dfa4102d49
'"vbo: do FLUSH_CURRENT before validating and updating state'

576c8c592a4be7047a00b0c8fe3851b09f10d8d4
'mesa: add _NEW_VARYING_VP_INPUTS for gl_context::varying_vp_inputs'

b0e048f0b955ef79e2de794172de053d27d7d8fa
'mesa: move gl_array_attrib::NewState to gl_array_object::NewArrays'

81afdd20f3f574ce29559d8ad77df5c77652009e 'vbo: don't check twice whether it's valid to render'

784dd51198433e5c299da4a7742c68d21d68d1c1
'mesa,vbo: properly detect when vertex arrays need to be recalculated'

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 53519] Missing bits of geometry in Unigine tropics

In reply to a message not in the archive

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

--- Comment #2 from [email protected] 2012-08-15 01:42:58 UTC --- Created attachment 65578
--> https://bugs.freedesktop.org/attachment.cgi?id=65578
additional revert

It turns out that clean revert of above isn't enough, and by doing diff between older revert patches and these, I get this patch, and when it applied only then the bug disappers.

Of course I didn't look at all at inner working of this, and I will soon. So most likely these reverts weren't that useful

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 53519] Missing bits of geometry in Unigine tropics

In reply to a message not in the archive

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

[email protected] changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from [email protected] 2012-08-15 02:40:49 UTC --- It turned out this this bug got fixed (accidently or not) recently, I just
forgot to pull mesa.
So closing this till it breaks again :-)

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.