<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 - Android: surfaceflinger dies on GPU HANG with latest drm"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106433">106433</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Android: surfaceflinger dies on GPU HANG with latest drm
          </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>other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </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>issor.oruam@gmail.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=139411" name="attach_139411" title="logcat of few bootanimation cycles">attachment 139411</a> <a href="attachment.cgi?id=139411&action=edit" title="logcat of few bootanimation cycles">[details]</a></span>
logcat of few bootanimation cycles

Hi,
I'm testing Android 8.1 (oreo-x86 branch of android-x86)
with the following gfx stack:

- drm_hwcomposer of freedesktop.org (hwctwo enabled and also with robherring
branch handle-rework)
- latest gbm_gralloc (robherring branch handle-rework, but also happening with
branches prior to handle-rework)
- latest libdrm, but it happens will all releases from 2.4.89(and before) to
2.4.91
- latest kernel 4.17rc4, but it happens with all kernels

Hardware: Laptop Lenovo T460 with Skylake GT2

Synthomps: Bootanimation completes, but then the Android GUI hangs and
surfaceflinger service is killed, Bootanimations restarts (GUI bootloop)

Very difficult to get debug logs, about what is causing signal 1 (SIGHUP)
killing surfaceflinger, but I could finally trace it.

05-07 21:36:58.689     0     0 I         : [drm] GPU HANG: ecode
9:0:0x00280000, in surfaceflinger [2497], reason: No progress on rcs0, action:
reset
05-07 21:36:58.689     0     0 I         : [drm] GPU hangs can indicate a bug
anywhere in the entire gfx stack, including userspace.
05-07 21:36:58.689     0     0 I         : [drm] Please file a _new_ bug report
on bugs.freedesktop.org against DRI -> DRM/Intel
05-07 21:36:58.689     0     0 I         : [drm] drm/i915 developers can then
reassign to the right component if it's not a kernel issue.
05-07 21:36:58.689     0     0 I         : [drm] The gpu crash dump is required
to analyze gpu hangs, so please always attach it.
05-07 21:36:58.689     0     0 I         : [drm] GPU crash dump saved to
/sys/class/drm/card0/error
05-07 21:36:58.689     0     0 I i915 0000: 00:02.0: Resetting rcs0 after gpu
hang


logcat, dmesg and GPU crash dump /sys/class/drm/card0/error are provided.

Please help to identify the root cause as this is probably the only show
stopper preventing drm_hwcomposer (hwctwo) + gbm_gralloc + libdrm from booting
Android oreo-x86 with full freedesktop stack.

I am available to support further investigations and testing of patches

Mauro Rossi
android-x86 team</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 the assignee for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>