[Nouveau] [Bug 51962] New: Raz's eyes flicker in Psychonauts on nv50

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 10 20:24:39 PDT 2012


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 at lists.freedesktop.org
        ReportedBy: bryancain3+fdo at gmail.com


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.


More information about the Nouveau mailing list