All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [Bug 51962] New: Raz's eyes flicker in Psychonauts on nv50
Date: Wed, 11 Jul 2012 03:24:39 +0000	[thread overview]
Message-ID: <bug-51962-8800@http.bugs.freedesktop.org/> (raw)

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.

             reply	other threads:[~2012-07-11  3:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-11  3:24 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ [this message]
     [not found] ` <bug-51962-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2012-07-11  3:33   ` [Bug 51962] Raz's eyes flicker in Psychonauts on nv50 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-51962-8800@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon-cc+yj3umiyqdupfqwhejaq@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.