<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 - SSAO doesn't work as expected in Supertuxkart"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95466">95466</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SSAO doesn't work as expected in Supertuxkart
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </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>Drivers/DRI/i965
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>deveee@gmail.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=123851" name="attach_123851" title="intel-wall">attachment 123851</a> <a href="attachment.cgi?id=123851&action=edit" title="intel-wall">[details]</a></span>
intel-wall

I am debugging it on STK side, but without success (at least for now).

You can look at the screenshots. It looks badly, especially when you are near
the walls.

It works fine with other drivers, it's just a problem with intel.

You need STK version from current git to reproduce it, because in older
versions there was a problem with compute shaders, which are needed for
bilinear filtering. Or you can probably disable compute shaders extension and
then use STK 0.9.1.

This is rather old bug, initially reported in 2014:
<a href="https://github.com/supertuxkart/stk-code/issues/1751">https://github.com/supertuxkart/stk-code/issues/1751</a>

Here is the ssao shader that is used:
<a href="https://github.com/supertuxkart/stk-code/blob/master/data/shaders/ssao.frag">https://github.com/supertuxkart/stk-code/blob/master/data/shaders/ssao.frag</a>

It certainly affects intel HD4000. I can't really say if it affects also newer
hardware because I have no possibility to check it.</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>