<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 - [SKL] Many Piglit multisample tests fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90422">90422</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[SKL] Many Piglit multisample tests fail
          </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/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>neil@linux.intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=115720" name="attach_115720" title="Screenshot of results from ext_framebuffer_multisample-formats">attachment 115720</a> <a href="attachment.cgi?id=115720&action=edit" title="Screenshot of results from ext_framebuffer_multisample-formats">[details]</a></span>
Screenshot of results from ext_framebuffer_multisample-formats

Lots of Piglit tests for multisampling fail on Skylake. In particular all of
the tests involving ext_framebuffer_multisample-formats and
ext_framebuffer_multisample-accuracy seem to fail.

ext_framebuffer_multisample-formats is interesting because it tests a range of
different formats in a single instance and it's always only the first one that
fails. It doesn't matter what the first format is, ie, if I swap the first two
formats in fbo-formats.h then the new first fails. Even if I duplicate the
first format it still fails on the first one but the second one succeeds.

It sounds like we are missing some cache flush somewhere that maybe just works
itself out after the first format is tested. Indeed if I enable the
always_flush_cache option in .drirc then it is magically fixed.

I think it is related to the MCS buffer because if I force the renderbuffer
format to INTEL_MSAA_LAYOUT_UMS instead of INTEL_MSAA_LAYOUT_CMS then the bug
is also fixed.

The image is the result of the failing test in
ext_framebuffer_multisample-formats. You can see there are artefacts in the
result.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>