<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [bisected] [SI Scheduler] Graphical corruption in Dota 2"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88978#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [bisected] [SI Scheduler] Graphical corruption in Dota 2"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88978">bug 88978</a>
              from <span class="vcard"><a class="email" href="mailto:daniel@constexpr.org" title="Daniel Scharrer <daniel@constexpr.org>"> <span class="fn">Daniel Scharrer</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=115995" name="attach_115995" title="patch to disable the machine scheduler for SI">attachment 115995</a> <a href="attachment.cgi?id=115995&action=edit" title="patch to disable the machine scheduler for SI">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=88978&attachment=115995'>[review]</a>
patch to disable the machine scheduler for SI

I can confirm that these these glitches are still present on current LLVM +
Mesa git with a 7950 (TAHITI).

Glitches happen in various games with different engines (Source, Unity, …).
Here is a trace of The Talos Principle (first posted in <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [radeonsi][regression,bisected] Depth test/buffer issues in Portal"
   href="show_bug.cgi?id=88561#c9">bug #88561 comment 9</a>),
that still produces more than just occasional glitches (even with Marek's
patch):
 <a href="http://constexpr.org/tmp/Talos-radeonsi.3.trace.xz">http://constexpr.org/tmp/Talos-radeonsi.3.trace.xz</a> (147 MiB)

Like sarnex, I have bisected this to LLVM
51a3c27d6e0c66cc8d2d1da8e9205fec7b74ca5c (r227461).
I had to revert b8797a7 and a99a16a in current Mesa git for it to build against
that LLVM revision.

Some Source engine games (L4D2, Nuclear Dawn, maybe others) don't just produce
graphical glitches but also frequently lock up the GPU since a later change to
the machine scheduler (r233366) - see <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [LLVM][bisected] GPU lockups in Left 4 Dead 2"
   href="show_bug.cgi?id=90378">bug #90378</a>.

Disabling the machine scheduler for SI on current LLVM (see attached patch)
also fixes both the lockups an graphical glitches.

Additionally, using R600_DEBUG=switch_on_eop with unpatched LLVM also works
around both the graphical glitches and and GPU lockups.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>