<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:kenneth@whitecape.org" title="Kenneth Graunke <kenneth@whitecape.org>"> <span class="fn">Kenneth Graunke</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [KBL] portal2_linux GPU hang"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104487">bug 104487</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>ASSIGNED
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [KBL] portal2_linux GPU hang"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104487#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [KBL] portal2_linux GPU hang"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104487">bug 104487</a>
              from <span class="vcard"><a class="email" href="mailto:kenneth@whitecape.org" title="Kenneth Graunke <kenneth@whitecape.org>"> <span class="fn">Kenneth Graunke</span></a>
</span></b>
        <pre>Should be fixed by:

commit 3e18c53e59457f585de217208e1745f2683be0b9
Author: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
Date:   Wed Jan 17 14:16:04 2018 -0800

    i965: Bind null render targets for shadow sampling + color.

    Portal 2 appears to bind RGBA8888_UNORM textures to a sampler2DShadow,
    and calls shadow2D() on it.  This causes undefined behavior in OpenGL.

    Unfortunately, our sampler appears to hang in this scenario, which is
    not acceptable.  Just give them a null surface instead, which returns
    all zeroes.

    Fixes GPU hangs in Portal 2 on Kabylake.

    Huge thanks to Jason Ekstrand for noticing this crazy behavior while
    sifting through crash dumps.

    Cc: <a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.freedesktop.org</a>
    Bugzilla: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [KBL] portal2_linux GPU hang"
   href="show_bug.cgi?id=104487">https://bugs.freedesktop.org/show_bug.cgi?id=104487</a>
    Reviewed-by: Topi Pohjolainen <<a href="mailto:topi.pohjolainen@intel.com">topi.pohjolainen@intel.com</a>>
    Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>>

Thanks again for the bug report and testing those patches!</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>