Bug 87940 - [drm] stuck on render ring
Summary: [drm] stuck on render ring
Status: CLOSED DUPLICATE of bug 87759
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-01 17:44 UTC by Bruno Pagani
Modified: 2017-07-24 22:49 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
/sys/class/drm/card0/error (1.57 MB, text/plain)
2015-01-01 17:44 UTC, Bruno Pagani
no flags Details

Description Bruno Pagani 2015-01-01 17:44:10 UTC
Created attachment 111619 [details]
/sys/class/drm/card0/error

I’m using ArchLinux.

mesa 10.4.1
linux 3.17.6
xf86-video-intel 2.99.917

When I use the session type switch in SDDM (my login manager), after selecting one of the option, the display hangs for some seconds, and then everything is back to the normal. This 100% of time reproducible here.

When looking at dmesg, I see this:

[  940.205802] [drm] stuck on render ring
[  940.206915] [drm] GPU HANG: ecode 0:0xf5dffffe, in sddm-greeter [1439], reason: Ring hung, action: reset
[  940.206919] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[  940.206922] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[  940.206925] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[  940.206928] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[  940.206931] [drm] GPU crash dump saved to /sys/class/drm/card0/error

So, please find the GPU crash dump attached, and tell me if there is anything I can do to help you fixing this. Since there was a file size limit to 3000 KB, I’ve simplified the dump by removing all identical line in an hexdump manner, adding * to signify all lines where identical between the one above and the one below. If you need the original file, I can upload it elsewhere, or upload a compressed version.
Comment 1 Bruno Pagani 2015-01-01 18:01:25 UTC
Note that sometimes, the hangs does just results in this in dmesg:

[  125.447556] [drm] stuck on render ring
[  125.448949] [drm] GPU HANG: ecode 0:0xf5dffffe, in sddm-greeter [699], reason: Ring hung, action: reset

While some others, it results in this:

[   56.401780] [drm] stuck on render ring
[   56.403295] [drm] GPU HANG: ecode 0:0xf5dffffe, in sddm-greeter [606], reason: Ring hung, action: reset
[   58.403887] ------------[ cut here ]------------
[   58.403920] WARNING: CPU: 1 PID: 291 at drivers/gpu/drm/i915/intel_pm.c:3486 gen6_enable_rps_interrupts+0x71/0x80 [i915]()
[   58.403922] Modules linked in: joydev mousedev arc4 nls_iso8859_1 nls_cp437 vfat fat nvram iTCO_wdt iTCO_vendor_support dell_wmi sparse_keymap mxm_wmi iwlmvm mac80211 dell_laptop led_class dcdbas intel_rapl x86_pkg_temp_thermal intel_powerclamp kvm_intel iwlwifi kvm serio_raw psmouse pcspkr i2c_i801 cfg80211 rtsx_pci_ms memstick lpc_ich rfkill thermal fan snd_hda_codec_hdmi int3403_thermal battery snd_hda_codec_realtek dell_smo8800 ac wmi evdev snd_hda_codec_generic mac_hid snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer snd mei_me shpchp soundcore mei ie31200_edac edac_core processor sch_fq_codel coretemp hwmon msr nfs lockd sunrpc fscache algif_skcipher af_alg hid_multitouch usbhid hid dm_crypt dm_mod btrfs xor raid6_pq sd_mod crc_t10dif rtsx_pci_sdmmc mmc_core atkbd
[   58.403971]  libps2 crct10dif_pclmul ahci crct10dif_common crc32_pclmul libahci ghash_clmulni_intel xhci_hcd aesni_intel ehci_pci libata ehci_hcd aes_x86_64 lrw gf128mul glue_helper ablk_helper usbcore scsi_mod cryptd rtsx_pci usb_common i8042 serio i915 button intel_gtt i2c_algo_bit video drm_kms_helper drm i2c_core crc32c_intel
[   58.403994] CPU: 1 PID: 291 Comm: kworker/1:2 Not tainted 3.17.6-1-ARCH #1
[   58.403996] Hardware name: Dell Inc. XPS 15 9530/XPS 15 9530, BIOS A05 04/16/2014
[   58.404006] Workqueue: events intel_gen6_powersave_work [i915]
[   58.404008]  0000000000000000 00000000dd78ecab ffff880417d83d58 ffffffff81537c3e
[   58.404012]  0000000000000000 ffff880417d83d90 ffffffff8107079d ffff880417190000
[   58.404016]  ffff880417197150 0000000000040000 ffff880417197118 ffff880417190000
[   58.404019] Call Trace:
[   58.404026]  [<ffffffff81537c3e>] dump_stack+0x4d/0x6f
[   58.404031]  [<ffffffff8107079d>] warn_slowpath_common+0x7d/0xa0
[   58.404034]  [<ffffffff810708ca>] warn_slowpath_null+0x1a/0x20
[   58.404044]  [<ffffffffa009cd31>] gen6_enable_rps_interrupts+0x71/0x80 [i915]
[   58.404055]  [<ffffffffa00a494f>] intel_gen6_powersave_work+0x63f/0x10f0 [i915]
[   58.404060]  [<ffffffff81088e05>] process_one_work+0x145/0x400
[   58.404063]  [<ffffffff810893cb>] worker_thread+0x6b/0x4a0
[   58.404067]  [<ffffffff81089360>] ? init_pwq.part.22+0x10/0x10
[   58.404070]  [<ffffffff8108e2ea>] kthread+0xea/0x100
[   58.404074]  [<ffffffff811c0000>] ? unpoison_memory+0x110/0x2d0
[   58.404077]  [<ffffffff8108e200>] ? kthread_create_on_node+0x1b0/0x1b0
[   58.404081]  [<ffffffff8153dbbc>] ret_from_fork+0x7c/0xb0
[   58.404084]  [<ffffffff8108e200>] ? kthread_create_on_node+0x1b0/0x1b0
[   58.404086] ---[ end trace 7136c274616ffa5f ]---

After what I have to restart X, since it hangs seemingly forever.
Comment 2 Chris Wilson 2015-01-01 20:50:03 UTC

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


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.