<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 - [amdgpu/radeonsi,HAWAII] Hand of Fate 2 leads to GPU lock up (display powered off, SSH works, keyboard dead): "flip_done timed out""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109461">109461</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[amdgpu/radeonsi,HAWAII] Hand of Fate 2 leads to GPU lock up (display powered off, SSH works, keyboard dead): "flip_done timed out"
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>DRI 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>DRM/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kai@dev.carbon-project.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>77449
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=143232" name="attach_143232" title="dmesg excerpt showing the backtraces and other DRM related entries">attachment 143232</a> <a href="attachment.cgi?id=143232&action=edit" title="dmesg excerpt showing the backtraces and other DRM related entries">[details]</a></span>
dmesg excerpt showing the backtraces and other DRM related entries

Playing Hand of Fate 2 leads to reproducible lock ups of my HAWAII Pro GPU.
Sometimes directly on initial load, sometimes after playing for a while. The
system can be reached over SSH, but the attached input devices are dead (not
even num lock changes work). In addition to this the display gets powered off
(display turns black and shows behaviour as if looking for input, ie. the
connector identifier is show.

In dmesg I can see "flip_done timed out" errors and two backtraces (see
attached dmesg excerpt for all the details):
<span class="quote">> [15465.441663] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:44:crtc-0] flip_done timed out
> [15465.451746] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=1164561, emitted seq=1164563
> [15465.451751] [drm] GPU recovery disabled.
> [15467.233739] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, signaled seq=171220, emitted seq=171221
> [15467.233746] [drm] GPU recovery disabled.
> [15475.681643] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:44:crtc-0] flip_done timed out
> [15485.921664] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:42:plane-5] flip_done timed out
> [15485.921779] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* amdgpu_dm_commit_planes: acrtc 0, already busy</span >

If you need data logged with umr, please provide me with the exact command I
should run.

The bug is reproducible with the following stack (Debian testing as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/8e9ad592c3
libdrm: 2.4.97
LLVM: SVN:trunk/r351739 (9.0 devel)
X.Org: 2:1.20.3-1
Linux: 4.20.4
Firmware (firmware-amd-graphics): 20190114-1
libclc: Git:master/428e821c1e
DDX (xserver-xorg-video-amdgpu): 18.1.0-1

Let me know if you need anything else.</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Tracker bug for all bugs related to Steam titles"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77449">Bug 77449</a>] Tracker bug for all bugs related to Steam titles
              </li>
          </ul>
        </div>
        <br>

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

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>