Bug 99840 - WARNING at drivers/gpu/drm/i915/intel_display.c:15451 intel_modeset_setup_hw_state+0x897/0xc5b [i915]() and drivers/gpu/drm/i915/intel_display.c:11719 intel_plane_atomic_calc_changes+0x528/0x679 [i915]()
Summary: WARNING at drivers/gpu/drm/i915/intel_display.c:15451 intel_modeset_setup_hw_...
Status: CLOSED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-16 17:14 UTC by tpereira
Modified: 2017-06-02 12:21 UTC (History)
1 user (show)

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


Attachments
/sys/class/drm/card0/error (703.53 KB, text/plain)
2017-02-16 17:14 UTC, tpereira
no flags Details
messed up image (vlc) (117.42 KB, image/png)
2017-02-16 17:18 UTC, tpereira
no flags Details
output of lshw (18.04 KB, text/plain)
2017-02-17 15:35 UTC, tpereira
no flags Details
output of lspci -v (9.20 KB, text/plain)
2017-02-17 15:36 UTC, tpereira
no flags Details

Description tpereira 2017-02-16 17:14:28 UTC
Created attachment 129676 [details]
/sys/class/drm/card0/error

Decided to stress the motherboard with 2 instances of glx_gears and 1 of vlc.
The following two errors ocurred and image is messed up (see attached png)

Feb 16 16:12:21 ghost kernel: [drm] stuck on render ring
Feb 16 16:12:21 ghost kernel: [drm] GPU HANG: ecode 3:0:0x7fcff8c1, in glxgears [5420], reason: Ring hung, action: reset
Feb 16 16:12:21 ghost kernel: [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
Feb 16 16:12:21 ghost kernel: [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
Feb 16 16:12:21 ghost kernel: [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
Feb 16 16:12:21 ghost kernel: [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
Feb 16 16:12:21 ghost kernel: [drm] GPU crash dump saved to /sys/class/drm/card0/error
Feb 16 16:12:21 ghost kernel: [drm:intel_display_suspend [i915]] *ERROR* Suspending crtc's failed with -5
Feb 16 16:12:21 ghost kernel: drm/i915: Resetting chip after gpu hang
Feb 16 16:12:21 ghost kernel: ------------[ cut here ]------------
Feb 16 16:12:21 ghost kernel: WARNING: CPU: 0 PID: 5000 at drivers/gpu/drm/i915/intel_display.c:15451 intel_modeset_setup_hw_state+0x897/0xc5b [i915]()
Feb 16 16:12:21 ghost kernel: WARN_ON(put_domains)
Feb 16 16:12:21 ghost kernel: Modules linked in:
Feb 16 16:12:21 ghost kernel:  snd_usb_audio uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev snd_usbmidi_lib snd_rawmidi snd_seq_device af_packet cfg80211 ipv6 hid_generic usbhid usb_storage snd_hda_codec_realtek snd_hda_codec_generic i915 video fbcon bitblit softcursor font tileblit i2c_algo_bit drm_kms_helper cfbfillrect syscopyarea cfbimgblt sysfillrect sysimgblt fb_sys_fops cfbcopyarea drm snd_hda_intel e1000e snd_hda_codec i2c_i801 snd_hwdep input_leds led_class ata_generic snd_hda_core uhci_hcd snd_pcm ehci_pci ehci_hcd pata_jmicron usbcore i2c_core snd_timer backlight fb fbdev ptp snd usb_common floppy soundcore pps_core 8250 8250_base serial_core vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) it87 hwmon_vid coretemp hwmon
Feb 16 16:12:21 ghost kernel: CPU: 0 PID: 5000 Comm: kworker/u8:1 Tainted: G           O    4.4.39-gentoo #3
Feb 16 16:12:21 ghost kernel: Hardware name: Gigabyte Technology Co., Ltd. Q35M-S2/Q35M-S2, BIOS F5 11/18/2008
Feb 16 16:12:21 ghost kernel: Workqueue: i915-hangcheck i915_hangcheck_elapsed [i915]
Feb 16 16:12:21 ghost kernel:  00000286 00000286 ece4bd38 c11d18bf ece4bd7c 00000000 ece4bd6c c103f5a5
Feb 16 16:12:21 ghost kernel:  f9261f5b ece4bd98 00001388 f926c370 00003c5b f9215561 00003c5b f9215561
Feb 16 16:12:21 ghost kernel:  f1c82000 f302060c f1cf8000 ece4bd84 c103f600 00000009 ece4bd7c f9261f5b
Feb 16 16:12:21 ghost kernel: Call Trace:
Feb 16 16:12:21 ghost kernel:  [<c11d18bf>] dump_stack+0x47/0x68
Feb 16 16:12:21 ghost kernel:  [<c103f5a5>] warn_slowpath_common+0x81/0xae
Feb 16 16:12:21 ghost kernel:  [<f9215561>] ? intel_modeset_setup_hw_state+0x897/0xc5b [i915]
Feb 16 16:12:21 ghost kernel:  [<f9215561>] ? intel_modeset_setup_hw_state+0x897/0xc5b [i915]
Feb 16 16:12:21 ghost kernel:  [<c103f600>] warn_slowpath_fmt+0x2e/0x30
Feb 16 16:12:21 ghost kernel:  [<f9215561>] intel_modeset_setup_hw_state+0x897/0xc5b [i915]
Feb 16 16:12:21 ghost kernel:  [<f91f03a8>] ? gen2_write64+0x36/0x36 [i915]
Feb 16 16:12:21 ghost kernel:  [<f9218304>] intel_display_resume+0xe3/0x127 [i915]
Feb 16 16:12:21 ghost kernel:  [<f9218443>] intel_finish_reset+0xfb/0x119 [i915]
Feb 16 16:12:21 ghost kernel:  [<f91ba9e0>] i915_handle_error+0x125/0x6b3 [i915]
Feb 16 16:12:21 ghost kernel:  [<c107a2d4>] ? vprintk_emit+0x20c/0x47b
Feb 16 16:12:21 ghost kernel:  [<c107a695>] ? vprintk_default+0x32/0x34
Feb 16 16:12:21 ghost kernel:  [<f91bb1aa>] i915_hangcheck_elapsed+0x200/0x3a9 [i915]
Feb 16 16:12:21 ghost kernel:  [<c10503f5>] process_one_work+0xee/0x2a8
Feb 16 16:12:21 ghost kernel:  [<c10505db>] worker_thread+0x2c/0x3db
Feb 16 16:12:21 ghost kernel:  [<c10505af>] ? process_one_work+0x2a8/0x2a8
Feb 16 16:12:21 ghost kernel:  [<c1054a02>] kthread+0x96/0xa9
Feb 16 16:12:21 ghost kernel:  [<c13963c9>] ret_from_kernel_thread+0x21/0x38
Feb 16 16:12:21 ghost kernel:  [<c105496c>] ? kthread_create_on_node+0x102/0x102
Feb 16 16:12:21 ghost kernel: ---[ end trace 6e2b8127ab757956 ]---
Feb 16 16:12:21 ghost kernel: ------------[ cut here ]------------
Feb 16 16:12:21 ghost kernel: ------------[ cut here ]------------
Feb 16 16:12:21 ghost kernel: WARNING: CPU: 0 PID: 5000 at drivers/gpu/drm/i915/intel_display.c:11719 intel_plane_atomic_calc_changes+0x528/0x679 [i915]()
Feb 16 16:12:21 ghost kernel: WARN_ON(was_visible)
Feb 16 16:12:21 ghost kernel: Modules linked in:
Feb 16 16:12:21 ghost kernel:  snd_usb_audio uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev snd_usbmidi_lib snd_rawmidi snd_seq_device af_packet cfg80211 ipv6 hid_generic usbhid usb_storage snd_hda_codec_realtek snd_hda_codec_generic i915 video fbcon bitblit softcursor font tileblit i2c_algo_bit drm_kms_helper cfbfillrect syscopyarea cfbimgblt sysfillrect sysimgblt fb_sys_fops cfbcopyarea drm snd_hda_intel e1000e snd_hda_codec i2c_i801 snd_hwdep input_leds led_class ata_generic snd_hda_core uhci_hcd snd_pcm ehci_pci ehci_hcd pata_jmicron usbcore i2c_core snd_timer backlight fb fbdev ptp snd usb_common floppy soundcore pps_core 8250 8250_base serial_core vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) it87 hwmon_vid coretemp hwmon
Feb 16 16:12:21 ghost kernel: CPU: 0 PID: 5000 Comm: kworker/u8:1 Tainted: G        W  O    4.4.39-gentoo #3
Feb 16 16:12:21 ghost kernel: Hardware name: Gigabyte Technology Co., Ltd. Q35M-S2/Q35M-S2, BIOS F5 11/18/2008
Feb 16 16:12:21 ghost kernel: Workqueue: i915-hangcheck i915_hangcheck_elapsed [i915]
Feb 16 16:12:21 ghost kernel:  00000286 00000286 ece4bbf4 c11d18bf ece4bc38 00000000 ece4bc28 c103f5a5
Feb 16 16:12:21 ghost kernel:  f9261f5b ece4bc54 00001388 f926c370 00002dc7 f9216601 00002dc7 f9216601
Feb 16 16:12:21 ghost kernel:  f1c82000 ece33400 eccefe40 ece4bc40 c103f600 00000009 ece4bc38 f9261f5b
Feb 16 16:12:21 ghost kernel: Call Trace:
Feb 16 16:12:21 ghost kernel:  [<c11d18bf>] dump_stack+0x47/0x68
Feb 16 16:12:21 ghost kernel:  [<c103f5a5>] warn_slowpath_common+0x81/0xae
Feb 16 16:12:21 ghost kernel:  [<f9216601>] ? intel_plane_atomic_calc_changes+0x528/0x679 [i915]
Feb 16 16:12:21 ghost kernel:  [<f9216601>] ? intel_plane_atomic_calc_changes+0x528/0x679 [i915]
Feb 16 16:12:21 ghost kernel:  [<c103f600>] warn_slowpath_fmt+0x2e/0x30
Feb 16 16:12:21 ghost kernel:  [<f9216601>] intel_plane_atomic_calc_changes+0x528/0x679 [i915]
Feb 16 16:12:21 ghost kernel:  [<f900fc8d>] ? drm_plane_helper_check_update+0xb8/0x15b [drm_kms_helper]
Feb 16 16:12:21 ghost kernel:  [<f92010d6>] ? intel_check_cursor_plane+0x70/0x274 [i915]
Feb 16 16:12:21 ghost kernel:  [<f91f8bf2>] intel_plane_atomic_check+0xb0/0x1a8 [i915]
Feb 16 16:12:21 ghost kernel:  [<f9016fbb>] drm_atomic_helper_check_planes+0xa9/0x1b0 [drm_kms_helper]
Feb 16 16:12:21 ghost kernel:  [<f9210a58>] intel_atomic_check+0x2d2/0xffe [i915]
Feb 16 16:12:21 ghost kernel:  [<c10b8211>] ? printk+0x12/0x14
Feb 16 16:12:21 ghost kernel:  [<c1394654>] ? mutex_lock+0xb/0x23
Feb 16 16:12:21 ghost kernel:  [<f8fbc1a1>] drm_atomic_check_only+0x283/0x641 [drm]
Feb 16 16:12:21 ghost kernel:  [<f91f03c1>] ? gen2_write32+0x19/0x23 [i915]
Feb 16 16:12:21 ghost kernel:  [<f91f032a>] ? gen2_read32+0x16/0x1f [i915]
Feb 16 16:12:21 ghost kernel:  [<f8fbc570>] drm_atomic_commit+0x11/0x4e [drm]
Feb 16 16:12:21 ghost kernel:  [<f9218312>] intel_display_resume+0xf1/0x127 [i915]
Feb 16 16:12:21 ghost kernel:  [<f9218443>] intel_finish_reset+0xfb/0x119 [i915]
Feb 16 16:12:21 ghost kernel:  [<f91ba9e0>] i915_handle_error+0x125/0x6b3 [i915]
Feb 16 16:12:21 ghost kernel:  [<c107a2d4>] ? vprintk_emit+0x20c/0x47b
Feb 16 16:12:21 ghost kernel:  [<c107a695>] ? vprintk_default+0x32/0x34
Feb 16 16:12:21 ghost kernel:  [<f91bb1aa>] i915_hangcheck_elapsed+0x200/0x3a9 [i915]
Feb 16 16:12:21 ghost kernel:  [<c10503f5>] process_one_work+0xee/0x2a8
Feb 16 16:12:21 ghost kernel:  [<c10505db>] worker_thread+0x2c/0x3db
Feb 16 16:12:21 ghost kernel:  [<c10505af>] ? process_one_work+0x2a8/0x2a8
Feb 16 16:12:21 ghost kernel:  [<c1054a02>] kthread+0x96/0xa9
Feb 16 16:12:21 ghost kernel:  [<c13963c9>] ret_from_kernel_thread+0x21/0x38
Feb 16 16:12:21 ghost kernel:  [<c105496c>] ? kthread_create_on_node+0x102/0x102
Feb 16 16:12:21 ghost kernel: ---[ end trace 6e2b8127ab757957 ]---
Comment 1 tpereira 2017-02-16 17:18:51 UTC
Created attachment 129677 [details]
messed up image (vlc)
Comment 2 Ricardo 2017-02-17 14:51:59 UTC
Hi can you share your hardware configuration/information
Comment 3 tpereira 2017-02-17 15:35:01 UTC
Hi. I'm attaching output of lspci -v and lshw
Please let me know if that's not enough.
Comment 4 tpereira 2017-02-17 15:35:43 UTC
Created attachment 129694 [details]
output of lshw
Comment 5 tpereira 2017-02-17 15:36:08 UTC
Created attachment 129695 [details]
output of lspci -v
Comment 6 yann 2017-02-21 17:26:34 UTC
tpereira@ipfn.ist.utl.pt  please update your kernel to the latest version (you may consider also our latest drm-tip) and try to reproduce the issue.
If this is still occurring please REOPEN it and attach fresh gpu crash dump as well as kernel log (dmesg), otherwise RESOLVED it.
Comment 7 Ricardo 2017-05-30 17:39:20 UTC
based on the lack of activity and a response from the submitter to update results with latest configuration the bug will be closed


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.