[Bug 106433] New: Android: surfaceflinger dies on GPU HANG with latest drm

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 7 20:21:19 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106433

            Bug ID: 106433
           Summary: Android: surfaceflinger dies on GPU HANG with latest
                    drm
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: other
            Status: NEW
          Severity: critical
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: issor.oruam at gmail.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Created attachment 139411
  --> https://bugs.freedesktop.org/attachment.cgi?id=139411&action=edit
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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180507/5aa64193/attachment.html>


More information about the intel-gfx-bugs mailing list