<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [regression] Rendering glitches in Life Is Strange"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98776">98776</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[regression] Rendering glitches in Life Is Strange
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>daniel@constexpr.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=128065" name="attach_128065" title="Glitched car windows">attachment 128065</a> <a href="attachment.cgi?id=128065&action=edit" title="Glitched car windows">[details]</a></span>
Glitched car windows

The game Life Is Strange has various rendering glitches with current mesa
master.

I have recorded an apitrace of the game:
 <a href="http://constexpr.org/tmp/LifeIsStrange-radeonsi.trace.xz">http://constexpr.org/tmp/LifeIsStrange-radeonsi.trace.xz</a> (124 MiB)

The trace contains garbage geometry that is not there in the game (probably due
to persistent coherent mappings - the game crashes with
MESA_EXTENSION_OVERRIDE=-GL_ARB_buffer_storage), but the glitched car windows
seen in the screenshot are visible. I've tracked the origin of the glitches to
e.g. draw call 4741838.

All of the glitches go away when reverting commit 74e39de "radeonsi: set
IF_THRESHOLD to 3" while <a href="https://patchwork.freedesktop.org/patch/122101/">https://patchwork.freedesktop.org/patch/122101/</a> does
not help, so this is likely related to <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [regression][radeonsi][polaris]"radeonsi: set IF_THRESHOLD to 3" breaks Witcher2's ground"
   href="show_bug.cgi?id=98761">bug #98761</a>.

GPU: R9 380X (tonga)
Kernel: 4.8.7-gentoo
Mesa: git-0c85d2f
LLVM: r287273</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>