<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 - [i965] GPU hang freezes the GUI."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98713">98713</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[i965] GPU hang freezes the GUI.
          </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>Bjorn@xn--rombobjrn-67a.se
          </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=127961" name="attach_127961" title="/sys/class/drm/card0/error">attachment 127961</a> <a href="attachment.cgi?id=127961&action=edit" title="/sys/class/drm/card0/error">[details]</a></span>
/sys/class/drm/card0/error

The whole GUI sometimes freezes permanently. The display shows no reactions to
any events until I reboot the computer. Logging in by SSH I can see that the OS
is at least partially working. Network traffic flows and I can read files. When
I kill processes most of them terminate, but the images of their windows remain
unchanged on the display. Some processes linger as zombies. When I run "reboot"
the SSH session ends, and I can't log in again, but the system does not reboot.
Only a hardware reset reboots the computer.

I don't have a reliable way of triggering a freeze, but it happens only when
something is changing in the GUI, often when I resize a window or open a new
window. It has never happened when I wasn't working on the local console. When
opening a new window it looks like it's not quite done drawing the window
decorations when it freezes.

The following appears in the system log:

Nov 13 20:05:36 hactar kernel: [drm] stuck on render ring
Nov 13 20:05:36 hactar kernel: [drm] GPU HANG: ecode 4:0:0x00ba6937, in Xorg
[1264], reason: Engine(s) hung, action: reset
Nov 13 20:05:36 hactar kernel: [drm] GPU hangs can indicate a bug anywhere in
the entire gfx stack, including userspace.
Nov 13 20:05:36 hactar kernel: [drm] Please file a _new_ bug report on
bugs.freedesktop.org against DRI -> DRM/Intel
Nov 13 20:05:36 hactar kernel: [drm] drm/i915 developers can then reassign to
the right component if it's not a kernel issue.
Nov 13 20:05:36 hactar kernel: [drm] The gpu crash dump is required to analyze
gpu hangs, so please always attach it.
Nov 13 20:05:36 hactar kernel: [drm] GPU crash dump saved to
/sys/class/drm/card0/error

architecture: x86-64
chipset: G35
motherboard: Asus P5E-V HDMI 
display connector: HDMI
distribution: Fedora 23

The permanent GUI freezes happen with Linux 4.6 and 4.7. Today it happened with
Fedora's kernel-4.7.9-100.fc23. They do not happen with kernel-4.5.7-202.fc23.

Before Linux 4.6 the GUI would only freeze for a second or so. Then the screen
went black for a moment, and then everything worked normally again except that
the mouse pointer was invisible. To get the pointer back I had to lock and then
unlock the console. This also happened only when something was changing in the
GUI, often when I resized a window. Those symptoms began when I upgraded from
Fedora 21 to Fedora 23, and continued until the first 4.6 kernel.

Other currently installed packages:

xorg-x11-server-Xorg-1.18.3-3.fc23
xorg-x11-drv-intel-2.99.917-19.20151206.fc23
mesa-dri-drivers-11.1.0-4.20151218.fc23
libdrm-2.4.66-1.fc23</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 QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>