<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 - GPU hang in compute shader"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103228">103228</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>GPU hang in compute shader
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sgunderson@bigfoot.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=134798" name="attach_134798" title="GPU hang log">attachment 134798</a> <a href="attachment.cgi?id=134798&action=edit" title="GPU hang log">[details]</a></span>
GPU hang log

Hi,

I'm developing a compression system through compute shaders. The first shader
now works fine, but after adding a second shader (even if it's got an empty
main()), I've started getting GPU hangs:

[2557115.719316] [drm] GPU HANG: ecode 7:0:0x8fd8ffff, in narabu-encoder
[11429], reason: Hang on rcs0, action: reset
[2557115.719318] [drm] GPU hangs can indicate a bug anywhere in the entire gfx
stack, including userspace.
[2557115.719319] [drm] Please file a _new_ bug report on bugs.freedesktop.org
against DRI -> DRM/Intel
[2557115.719320] [drm] drm/i915 developers can then reassign to the right
component if it's not a kernel issue.
[2557115.719321] [drm] The gpu crash dump is required to analyze gpu hangs, so
please always attach it.
[2557115.719321] [drm] GPU crash dump saved to /sys/class/drm/card0/error

This is a Haswell laptop (Lenovo X240), Mesa 17.2.2, kernel 4.13.0. Attached is
a gzipped crash dump (error.gz). My current code is available at

  <a href="https://storage.sesse.net/haswell-gpu-hang.tar.xz">https://storage.sesse.net/haswell-gpu-hang.tar.xz</a>

Make narabu-encoder and run it; it hangs the GPU nearly every time for me,
adding 125 ms or so to the measured runtime.</pre>
        </div>
      </p>


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

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