<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, reason: Ring hung, action: reset - Often after suspension"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89915">89915</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>GPU HANG, reason: Ring hung, action: reset - Often after suspension
          </td>
        </tr>

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

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

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

        <tr>
          <th>Reporter</th>
          <td>jfrusciante@tiscali.it
          </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=114884" name="attach_114884" title="GPU crash dump">attachment 114884</a> <a href="attachment.cgi?id=114884&action=edit" title="GPU crash dump">[details]</a></span>
GPU crash dump

Hello,

I had Ubuntu 14.04, kernel 3.16, on Asus UX303LN-R4281H (Optimus Intel +
Nvidia, nvidia drivers currently not installed). I updated to 4.0.0rc6 to solve
a few issues not related with graphics (e.g. touchpad). After the update,
resuming after suspend has some problems. System resumes and then freezes for a
few seconds. Then unfreezes and in the kernel log I find:

[   71.845023] [drm] stuck on render ring
[   71.845672] [drm] GPU HANG: ecode 8:0:0xfffffffe, in Xorg [1284], reason:
Ring hung, action: reset
[   71.845674] [drm] GPU hangs can indicate a bug anywhere in the entire gfx
stack, including userspace.
[   71.845674] [drm] Please file a _new_ bug report on bugs.freedesktop.org
against DRI -> DRM/Intel
[   71.845675] [drm] drm/i915 developers can then reassign to the right
component if it's not a kernel issue.
[   71.845676] [drm] The gpu crash dump is required to analyze gpu hangs, so
please always attach it.
[   71.845676] [drm] GPU crash dump saved to /sys/class/drm/card0/error

After a couple minutes, kernel log is full of:

drm:hsw_unclaimed_reg_detect.isra.10 [i915]] *ERROR* Unclaimed register
detected. Please use the i915.mmio_debug=1 to debug this problem.

Note: I was using Chrome in the while, two tabs were probably using
acceleration (e.g. 3d gmaps). I don't know if it is related, but some minutes
after the system froze completely, without even responding to sysreqs. Never
happened before kernel upgrade.

Now I rebooted with mmio.debug=1, suspended and resumed: it freezed again for
some seconds. Part of dmesg | grep i915:

[   39.884700] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus
alignment
...
[   71.852974] drm/i915: Resetting chip after gpu hang
[   77.848497] [drm:i915_set_reset_status.part.38 [i915]] *ERROR* gpu hanging
too fast, banning!
[   77.854831] drm/i915: Resetting chip after gpu hang

Attaching GPU crash dump and dmesg after reboot.</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 on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>