<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 - Texture artifacts with immutable texture storage and mipmaps"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96381">96381</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Texture artifacts with immutable texture storage and mipmaps
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>11.2
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux (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>Other
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dark.shadow4@web.de
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=124320" name="attach_124320" title="Screenshot showing the artifacts">attachment 124320</a> <a href="attachment.cgi?id=124320&action=edit" title="Screenshot showing the artifacts">[details]</a></span>
Screenshot showing the artifacts

Playing a game on wine (NekoPara on steam), and got texture artifacts. I don't
really know what causes it since I can't reproduce it on my own, but I created
an apitrace to help with testing.

Some things I found out, artifacts disappear when:

1) LIBGL_ALWAYS_SOFTWARE=1 is set, or
2) glTexStorage2D is forced use no mipmaps, or
3) glTexImage2D is used instead of glTexStorage2D

Tested on OpenSuse Tumbleweed 64bit with latest mesa (11.2 and git 12.0), with
amdgpu and a Radeon R9 285.
Issue is not present when tested on another system, apitrace works on another
PC.

Screenshot attached.
Apitrace:
<a href="http://www.mediafire.com/download/tk5z5r9ag0898qf/wine-preloader_NekoPara0.7z">http://www.mediafire.com/download/tk5z5r9ag0898qf/wine-preloader_NekoPara0.7z</a>
(35MB, 197MB unpacked)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>