Bug 92938

Summary: [i945] GPU Hang ecode 3:0:0x717fffc1, in Xorg [992], reason: Ring hung, action: reset
Product: DRI Reporter: David Henry <tfc.duke>
Component: DRM/IntelAssignee: Chris Wilson <chris>
Status: CLOSED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: major    
Priority: medium CC: intel-gfx-bugs, tfc.duke
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: I945GM i915 features:
Attachments:
Description Flags
copy of /sys/class/drm/card0/error
none
copy of /sys/class/drm/card0/error (gziped)
none
dmesg full log none

Description David Henry 2015-11-13 11:37:29 UTC
This is the second time in less than a week that I get this GPU Hang since I updated to Ubuntu 15.10 with a Linux kernel 4.2.

Fortunately, the GPU reset recovers without any system reboot needed.

This happened while just surfing on the net with firefox.

uname:

Linux 4.2.0-17-generic #21-Ubuntu SMP x86_64

dmesg extract:

[70280.804135] [drm] stuck on render ring
[70280.805158] [drm] GPU HANG: ecode 3:0:0x717fffc1, in Xorg [992], reason: Ring hung, action: reset
[70280.805161] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[70280.805163] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[70280.805165] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[70280.805167] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[70280.805169] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[70280.805227] ------------[ cut here ]------------
[70280.805274] WARNING: CPU: 1 PID: 30216 at /build/linux-d3RvQM/linux-4.2.0/drivers/gpu/drm/i915/intel_display.c:3294 intel_crtc_wait_for_pending_flips+0x192/0x230 [i915]()
[70280.805276] WARN_ON(ret)
[70280.805278] Modules linked in:
[70280.805281]  nls_utf8 btrfs xor raid6_pq ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c cpuid rfcomm thinkpad_acpi nvram msr drbg ansi_cprng ctr ccm bnep btusb btrtl btbcm btintel bluetooth arc4 snd_hda_codec_hdmi snd_hda_codec_analog snd_hda_codec_generic pcmcia coretemp iwlmvm mac80211 joydev input_leds lpc_ich serio_raw iwlwifi cfg80211 yenta_socket snd_hda_intel pcmcia_rsrc pcmcia_core snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd shpchp soundcore mac_hid parport_pc ppdev lp parport autofs4 hid_generic usbhid hid i915 i2c_algo_bit psmouse drm_kms_helper 8139too drm firewire_ohci sdhci_pci pata_acpi sdhci firewire_core 8139cp mii crc_itu_t video
[70280.805364] CPU: 1 PID: 30216 Comm: kworker/u4:1 Not tainted 4.2.0-17-generic #21-Ubuntu
[70280.805367] Hardware name: LENOVO 0768B9G/CAPELL VALLEY(NAPA) CRB, BIOS 61ET37WW 06/04/07
[70280.805393] Workqueue: i915-hangcheck i915_hangcheck_elapsed [i915]
[70280.805397]  0000000000000000 0000000014ee42db ffff880047f7ba78 ffffffff817e8c09
[70280.805401]  0000000000000000 ffff880047f7bad0 ffff880047f7bab8 ffffffff8107b3c6
[70280.805405]  ffff880047f7bab8 ffff880035a80000 0000000000000001 ffff880035794000
[70280.805410] Call Trace:
[70280.805418]  [<ffffffff817e8c09>] dump_stack+0x45/0x57
[70280.805424]  [<ffffffff8107b3c6>] warn_slowpath_common+0x86/0xc0
[70280.805427]  [<ffffffff8107b455>] warn_slowpath_fmt+0x55/0x70
[70280.805451]  [<ffffffffc01a96fd>] ? i915_gem_object_wait_rendering+0x6d/0xc0 [i915]
[70280.805479]  [<ffffffffc01ebb62>] intel_crtc_wait_for_pending_flips+0x192/0x230 [i915]
[70280.805506]  [<ffffffffc0090be0>] ? drm_modeset_lock_all_crtcs+0x90/0xa0 [drm]
[70280.805534]  [<ffffffffc01ecf62>] intel_crtc_disable_planes+0x32/0x100 [i915]
[70280.805561]  [<ffffffffc01ed0f5>] intel_prepare_reset+0x75/0x90 [i915]
[70280.805586]  [<ffffffffc01b93b2>] i915_reset_and_wakeup+0xe2/0x170 [i915]
[70280.805611]  [<ffffffffc01bdf3a>] i915_handle_error+0xca/0x660 [i915]
[70280.805616]  [<ffffffff810d1f5e>] ? vprintk_emit+0x2de/0x530
[70280.805620]  [<ffffffff817e62b6>] ? printk+0x55/0x6b
[70280.805645]  [<ffffffffc01be795>] i915_hangcheck_elapsed+0x275/0x470 [i915]
[70280.805650]  [<ffffffff8109412a>] process_one_work+0x1aa/0x440
[70280.805654]  [<ffffffff8109440b>] worker_thread+0x4b/0x4c0
[70280.805657]  [<ffffffff810943c0>] ? process_one_work+0x440/0x440
[70280.805661]  [<ffffffff810943c0>] ? process_one_work+0x440/0x440
[70280.805665]  [<ffffffff8109a7c8>] kthread+0xd8/0xf0
[70280.805669]  [<ffffffff8109a6f0>] ? kthread_create_on_node+0x1f0/0x1f0
[70280.805672]  [<ffffffff817efe1f>] ret_from_fork+0x3f/0x70
[70280.805676]  [<ffffffff8109a6f0>] ? kthread_create_on_node+0x1f0/0x1f0
[70280.805679] ---[ end trace 8e0362741dbce75b ]---
[70281.071606] drm/i915: Resetting chip after gpu hang
Comment 1 David Henry 2015-11-13 11:38:29 UTC
Created attachment 119631 [details]
copy of /sys/class/drm/card0/error
Comment 2 David Henry 2015-11-13 11:39:33 UTC
Created attachment 119632 [details]
copy of /sys/class/drm/card0/error (gziped)
Comment 3 David Henry 2015-11-13 11:40:32 UTC
Created attachment 119633 [details]
dmesg full log
Comment 4 cprigent 2015-11-24 17:46:23 UTC
Bug scrub:
Assigned to Chris
Comment 5 cprigent 2015-11-24 17:55:27 UTC
Looks similar to https://bugs.freedesktop.org/show_bug.cgi?id=92964
Comment 6 Chris Wilson 2015-12-30 21:43:45 UTC

*** This bug has been marked as a duplicate of bug 90841 ***

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.