Bug 96813 - Haswell HD Graphics 4400 GPU Hang
Summary: Haswell HD Graphics 4400 GPU Hang
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-05 02:57 UTC by flying
Modified: 2019-09-25 18:57 UTC (History)
1 user (show)

See Also:
i915 platform: HSW
i915 features: GPU hang


Attachments
error dump from /sys/class/drm/card0/error (3.32 MB, text/plain)
2016-07-05 16:36 UTC, flying
Details

Description flying 2016-07-05 02:57:12 UTC
[63073.321133] [drm] GPU HANG: ecode 7:0:0xbbaff7f8, in Xorg [367], reason: Ring hung, action: reset
[63073.321137] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[63073.321139] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[63073.321142] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[63073.321144] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[63073.321147] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[63073.321310] ------------[ cut here ]------------
[63073.321323] WARNING: CPU: 0 PID: 27678 at drivers/gpu/drm/i915/intel_display.c:11384 intel_mmio_flip_work_func+0x447/0x4c0
[63073.321328] WARN_ON(__i915_wait_request(mmio_flip->req, mmio_flip->crtc->reset_counter, false, ((void *)0), &mmio_flip->i915->rps.mmioflips))
[63073.321332] Modules linked in:
[63073.321336]  sha256_ssse3 sha256_generic hmac drbg ansi_cprng ctr ccm fuse arc4 hp_wmi sparse_keymap ppdev intel_rapl x86_pkg_temp_thermal intel_powerclamp crct10dif_pclmul crc32_pclmul crc32c_intel aesni_intel aes_x86_64 glue_helper lrw gf128mul ablk_helper cryptd iwlmvm joydev input_leds mac80211 serio_raw iwlwifi cfg80211 rtsx_pci_ms memstick rfkill i2c_i801 lpc_ich tpm_infineon shpchp snd_hda_codec_idt snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep snd_hda_core snd_pcm snd_timer thermal wmi battery parport_pc hp_accel lis3lv02d input_polldev led_class hp_wireless evdev tpm_tis ac tpm fjes processor sch_fq_codel vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) coretemp msr sd_mod rtsx_pci_sdmmc ahci libahci atkbd libata ehci_pci ehci_hcd rtsx_pci
[63073.321459] CPU: 0 PID: 27678 Comm: kworker/0:2 Tainted: G     U     O    4.6.0ARCH-def #8
[63073.321463] Hardware name: Hewlett-Packard HP EliteBook Folio 1040 G1/213E, BIOS L83 Ver. 01.21 08/19/2014
[63073.321470] Workqueue: events intel_mmio_flip_work_func
[63073.321475]  0000000000000286 000000008ce3a709 ffff88004e283d18 ffffffff813b072f
[63073.321483]  ffff88004e283d68 0000000000000000 ffff88004e283d58 ffffffff810cc7cb
[63073.321490]  00002c784e283d20 ffff88018ca34600 ffff880233477600 ffff8800a87bf3c0
[63073.321498] Call Trace:
[63073.321511]  [<ffffffff813b072f>] dump_stack+0x63/0x84
[63073.321519]  [<ffffffff810cc7cb>] __warn+0xcb/0xf0
[63073.321526]  [<ffffffff810cc84f>] warn_slowpath_fmt+0x5f/0x80
[63073.321535]  [<ffffffff81083857>] ? __switch_to+0x397/0x430
[63073.321542]  [<ffffffff815805a7>] intel_mmio_flip_work_func+0x447/0x4c0
[63073.321550]  [<ffffffff810e514c>] process_one_work+0x1ec/0x450
[63073.321557]  [<ffffffff810e53fb>] worker_thread+0x4b/0x4f0
[63073.321565]  [<ffffffff810e53b0>] ? process_one_work+0x450/0x450
[63073.321573]  [<ffffffff810eae48>] kthread+0xd8/0xf0
[63073.321583]  [<ffffffff81823282>] ret_from_fork+0x22/0x40
[63073.321591]  [<ffffffff810ead70>] ? kthread_worker_fn+0x180/0x180
[63073.321596] ---[ end trace 87d0a9cbca3bd612 ]---
[63073.322997] drm/i915: Resetting chip after gpu hang
Comment 1 yann 2016-07-05 06:56:24 UTC
Please attached kernel log (ie dmesg) as well as crash dump located at /sys/class/drm/card0/error
Comment 2 flying 2016-07-05 16:36:54 UTC
Created attachment 124912 [details]
error dump from /sys/class/drm/card0/error
Comment 3 flying 2016-07-05 16:42:44 UTC
Attached the error dump, as for syslog, I pasted the whole crashdump from dmesg, (first post) my log files reset on restart so I can't provide you with more, I looked them thruogh however and before this (pasted in first post) message there was nothing interesting.

I had a lot of chromium tabs open the moment it happened, most with pdfs/documents the moment it happened, total maybe 10~ tabs with 5~ pdfs open. After the hang they all like, cleared (the page was empty, rendered page was gone) and I had to scroll for them to re-render the pages. (for each tab individually)

This rarely happens, but when it does most likely due to load.
Comment 4 yann 2016-08-30 17:03:52 UTC
mmio_flip message in kernel log let me point out following bug (see comment #9 & #10): https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1577216/

So can you try to reinstall xserver-xorg-video-intel and then try to see if you still have this issue?

Moreover, assigning to Mesa product (please let me know if I am mistaken with this GPU Hang).

From this error dump, hung is happening in render ring batch with active head at 0x05880224, with 0x44700807 (XY_SETUP_MONO_PATTERN_SL_BLT) as IPEHR.

Batch extract (around 0x05880224):

0x05880204:      0x7b000005: 3DPRIMITIVE:
0x05880208:      0x0000000f:    rect list sequential
0x0588020c:      0x00000003:    vertex count
0x05880210:      0x00000003:    start vertex
0x05880214:      0x00000001:    instance count
0x05880218:      0x00000000:    start instance
0x0588021c:      0x00000000:    index bias
0x05880220:      0x44700807: XY_SETUP_MONO_PATTERN_SL_BLT (rgb enabled, alpha enabled, src tile 0, dst tile 1)
0x05880224:      0x83000780:    format 8888, pitch 1920, rop 0x00, clipping disabled, solid pattern enabled, mono pattern transparency enabled,
0x05880228:      0x00000000:    cliprect (0,0)
0x0588022c:      0x00000000:    cliprect (0,0)
0x05880230:      0x0197b000:    setup dst offset 0x0197b000
0x05880234:      0x00000000:    setup background color
0x05880238:      0x00000000:    setup foreground color
0x0588023c:      0x00000000:    mono pattern dw0
0x05880240:      0x00000000:    mono pattern dw1
0x05880244:      0x49400801: XY_SCANLINES_BLT (pattern seed (0, 8), dst tile 1)
0x05880248:      0x0179015e:    dest (350,377)
Comment 5 GitLab Migration User 2019-09-25 18:57:03 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1526.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.