* [Bug 51962] New: Raz's eyes flicker in Psychonauts on nv50
@ 2012-07-11 3:24 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
[not found] ` <bug-51962-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
0 siblings, 1 reply; 5+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-07-11 3:24 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
https://bugs.freedesktop.org/show_bug.cgi?id=51962
Bug #: 51962
Summary: Raz's eyes flicker in Psychonauts on nv50
Classification: Unclassified
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
AssignedTo: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
ReportedBy: bryancain3+fdo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
This bug affects the Gallium nv50 driver, but for some reason there's no
"Drivers/Gallium/nv50" component listed in Bugzilla.
In Psychonauts on the nv50 driver, Raz's eyes (supposed to be red) flicker
between red and white. This behavior first appears in git with the commit that
switches the nv50 driver to use the new nv50/nvc0 shader compiler. The eye
flickering is caused by one vertex shader being miscompiled. In the attached
apitrace, the GL program number used to draw Raz's eyes (which has the vertex
shader in question) is 541. If vertex shader optimizations are disabled in
nv50_program.c, Raz's eyes stay white all the time instead of flickering. If
shader program 541 is disabled entirely, Raz's eyes render correctly.
It is evident that there is a problem with the vertex shader by looking at its
nv50 IR source after it is converted to SSA - there are several "nop"
instructions at the beginning of the program to compensate for undefined source
registers emitted by the TGSI to nv50 IR conversion.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <bug-51962-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>]
* [Bug 51962] Raz's eyes flicker in Psychonauts on nv50 [not found] ` <bug-51962-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/> @ 2012-07-11 3:33 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ 2012-07-18 11:59 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-07-11 3:33 UTC (permalink / raw) To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW https://bugs.freedesktop.org/show_bug.cgi?id=51962 --- Comment #1 from Bryan Cain <bryancain3+fdo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2012-07-10 20:33:39 PDT --- The apitrace is too large for fd.o to accept it as an attachment; it can be downloaded from the following link: http://assortedtools.pbworks.com/f/Psychonauts.3.trace.xz -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 51962] Raz's eyes flicker in Psychonauts on nv50 [not found] ` <bug-51962-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/> 2012-07-11 3:33 ` [Bug 51962] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-07-18 11:59 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ 2012-09-10 12:06 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ 2012-11-01 15:41 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ 3 siblings, 0 replies; 5+ messages in thread From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-07-18 11:59 UTC (permalink / raw) To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW https://bugs.freedesktop.org/show_bug.cgi?id=51962 --- Comment #2 from Bryan Cain <bryancain3+fdo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2012-07-18 04:59:50 PDT --- I did some more investigation into this bug and produced a fix: http://lists.freedesktop.org/archives/mesa-dev/2012-July/024196.html The problem was that in lowering the POW instruction, the lg2/mul/preex2 instructions that go before the ex2 instruction were not being emitted properly, which as a side effect made each of the four ex2 instructions in the shader read from an undefined source register. This in turn made the SSA generator produce 4 of the 5 nop instructions mentioned in the original description. The first of the five nop instructions is not the nv50 shader compiler's fault, but is the result of the GLSL compiler's pass to lower output registers emitting reads to undefined components of gl_TexCoord. It's an unrelated issue that happened to show up in the same shader, and doesn't affect the shader at the driver level post-optimization. I will file a separate bug report about it against glsl-compiler. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 51962] Raz's eyes flicker in Psychonauts on nv50 [not found] ` <bug-51962-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/> 2012-07-11 3:33 ` [Bug 51962] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ 2012-07-18 11:59 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-09-10 12:06 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ 2012-11-01 15:41 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ 3 siblings, 0 replies; 5+ messages in thread From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-09-10 12:06 UTC (permalink / raw) To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW https://bugs.freedesktop.org/show_bug.cgi?id=51962 --- Comment #3 from Fabio Pedretti <fabio.ped-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org> 2012-09-10 12:06:09 UTC --- It should be fixed with 248e6f03313afdfd3c23be269b0da7a1aa31cff2 . -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 51962] Raz's eyes flicker in Psychonauts on nv50 [not found] ` <bug-51962-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/> ` (2 preceding siblings ...) 2012-09-10 12:06 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-11-01 15:41 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ 3 siblings, 0 replies; 5+ messages in thread From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-11-01 15:41 UTC (permalink / raw) To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW [-- Attachment #1.1: Type: text/plain, Size: 574 bytes --] https://bugs.freedesktop.org/show_bug.cgi?id=51962 Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> --- Marking as Resolved/Fixed -- You are receiving this mail because: You are the assignee for the bug. [-- Attachment #1.2: Type: text/html, Size: 1961 bytes --] [-- Attachment #2: Type: text/plain, Size: 181 bytes --] _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-01 15:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-11 3:24 [Bug 51962] New: Raz's eyes flicker in Psychonauts on nv50 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
[not found] ` <bug-51962-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2012-07-11 3:33 ` [Bug 51962] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2012-07-18 11:59 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2012-09-10 12:06 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2012-11-01 15:41 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.