Bug 94101

Summary: System hangs for seconds repeatedly and sometimes crashes
Product: DRI Reporter: frans <gegenstand+bugs.freedesktop.org>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED WORKSFORME QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: bugs.freedesktop.org, intel-gfx-bugs, milos.kaurin, mttm724
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: SKL i915 features: GPU hang
Attachments:
Description Flags
GPU crash dump saved to /sys/class/drm/card0/error
none
attachment-26284-0.html none

Description frans 2016-02-11 19:48:01 UTC
Created attachment 121689 [details]
GPU crash dump saved to /sys/class/drm/card0/error

On an Intel NUC6i5SY with Fedora 23 (up to date) and monitor attached via DP the system hangs for 2-10 secs.

Sometimes the system does not recover at all - only reboot helps.

dmesg prints:

[  184.013519] [drm] stuck on render ring
[  184.014589] [drm] GPU HANG: ecode 9:0:0x87f99ff9, in gnome-shell [2466], reason: Ring hung, action: reset
[  184.014596] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[  184.014600] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[  184.014604] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[  184.014608] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[  184.014613] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[  184.016433] drm/i915: Resetting chip after gpu hang
[  186.008063] [drm] RC6 on

(crash dump attached)


Sometimes it only prints:

[ 5747.043340] [drm] stuck on render ring
[ 5747.044505] [drm] GPU HANG: ecode 9:0:0x85df9fff, in gnome-shell [2466], reason: Ring hung, action: reset
[ 5747.046854] drm/i915: Resetting chip after gpu hang
[ 5749.044000] [drm] RC6 on

Don't know if related but dmesg also sometimes prints:
Comment 1 frans 2016-02-11 19:50:33 UTC
Ignore the last line - I wanted to attach something else but decided to first investigate more and forgot to remove it.
Comment 2 frans 2016-02-11 20:47:10 UTC
Some additional information:

* The symptoms are quite different each time:

** sometimes system works for some minutes, sometimes only seconds before the next freeze
** most of the time mouse cursor freezes, too, _sometimes_ it can still be moved
** most times the system only freezes for some seconds, sometimes the gnome-shell crashes and restarts
** sometimes 
** dmesg output has different looks, too (see comments)

* Kernel is 4.3.5-300.fc23.x86_64, BIOS is 0033 (but Bios reports 2.2.22)

* I _believe_ the observed behavior occurred the first time with the last kernel update (I will check with a life system with an older kernel), the kernel version I had installed before was 4.3.3

* interacting with the machine seems to increase probability for freezes. when I don't touch the system, it seems to work fine.
Comment 3 frans 2016-02-11 20:53:21 UTC
I don't know whether this is related - every time I put the machine to sleep (suspend to RAM) and wake it up again dmesg prints crazy stuff:


[ 1181.021853] wlp1s0: deauthenticating from 14:cc:20:b5:00:82 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1181.114706] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 6 not registered
[ 1181.126299] [drm:skl_set_power_well [i915]] *ERROR* CSR firmware not ready (2)
[ 1181.246155] ------------[ cut here ]------------
[ 1181.246212] WARNING: CPU: 0 PID: 2328 at drivers/gpu/drm/i915/intel_csr.c:458 assert_csr_loaded+0x99/0xf0 [i915]()
[ 1181.246218] CSR is not loaded.
[ 1181.246222] Modules linked in: vfat fat rfcomm fuse cmac ccm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun xt_addrtype nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack br_netfilter dm_thin_pool dm_persistent_data dm_bio_prison libcrc32c loop ebtable_broute bridge stp llc ebtable_nat ebtable_filter ebtables ip6table_security ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_filter ip6_tables iptable_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_raw bnep arc4 joydev snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic intel_rapl iosf_mbi iwlmvm snd_hda_intel btusb snd_hda_codec mac80211 btrtl x86_pkg_temp_thermal coretemp
[ 1181.246336]  snd_hda_core kvm_intel snd_hwdep snd_seq kvm snd_seq_device iwlwifi snd_pcm hci_uart btbcm btqca cfg80211 btintel ir_lirc_codec lirc_dev ir_xmp_decoder bluetooth snd_timer ir_mce_kbd_decoder idma64 ir_sharp_decoder virt_dma ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder snd ir_rc6_decoder ir_rc5_decoder ir_nec_decoder i2c_i801 soundcore mmc_block intel_lpss_pci mei_me shpchp mei rc_rc6_mce ite_cir rfkill pinctrl_sunrisepoint intel_lpss_acpi rc_core pinctrl_intel intel_lpss acpi_als kfifo_buf industrialio tpm_tis acpi_pad tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc dm_crypt uas usb_storage i915 crct10dif_pclmul crc32_pclmul crc32c_intel i2c_algo_bit drm_kms_helper e1000e sdhci_pci sdhci drm mmc_core ptp pps_core video i2c_hid fjes
[ 1181.246468] CPU: 0 PID: 2328 Comm: Xorg Tainted: G        W       4.3.5-300.fc23.x86_64 #1
[ 1181.246474] Hardware name:                  /NUC6i5SYB, BIOS SYSKLi35.86A.0033.2016.0107.1707 01/07/2016
[ 1181.246480]  0000000000000000 0000000095897968 ffff880445ddba10 ffffffff813a643f
[ 1181.246490]  ffff880445ddba58 ffff880445ddba48 ffffffff810a07d2 ffff8804481c0000
[ 1181.246499]  ffff8804481c02b0 0000000000000002 0000000030000003 0000000000000000
[ 1181.246507] Call Trace:
[ 1181.246522]  [<ffffffff813a643f>] dump_stack+0x44/0x55
[ 1181.246533]  [<ffffffff810a07d2>] warn_slowpath_common+0x82/0xc0
[ 1181.246541]  [<ffffffff810a086c>] warn_slowpath_fmt+0x5c/0x80
[ 1181.246553]  [<ffffffff8178189e>] ? _raw_spin_unlock_irqrestore+0xe/0x10
[ 1181.246619]  [<ffffffffa01b5327>] ? gen9_read32+0xf7/0x2d0 [i915]
[ 1181.246657]  [<ffffffffa016c7e9>] assert_csr_loaded+0x99/0xf0 [i915]
[ 1181.246700]  [<ffffffffa017b52f>] skl_set_power_well+0x76f/0x9a0 [i915]
[ 1181.246742]  [<ffffffffa017b793>] skl_power_well_enable+0x13/0x20 [i915]
[ 1181.246782]  [<ffffffffa017ba19>] intel_display_power_get+0xa9/0x100 [i915]
[ 1181.246849]  [<ffffffffa01d1069>] modeset_get_crtc_power_domains+0x119/0x180 [i915]
[ 1181.246912]  [<ffffffffa01d1d73>] intel_atomic_commit+0xca3/0x13c0 [i915]
[ 1181.246962]  [<ffffffffa0080405>] ? drm_atomic_check_only+0x215/0x540 [drm]
[ 1181.247006]  [<ffffffffa0080767>] drm_atomic_commit+0x37/0x60 [drm]
[ 1181.247028]  [<ffffffffa01289ef>] drm_atomic_helper_set_config+0x1bf/0x420 [drm_kms_helper]
[ 1181.247067]  [<ffffffffa006ff92>] drm_mode_set_config_internal+0x62/0x100 [drm]
[ 1181.247106]  [<ffffffffa00742c4>] drm_mode_setcrtc+0x3d4/0x4f0 [drm]
[ 1181.247194]  [<ffffffffa0065408>] drm_ioctl+0x138/0x500 [drm]
[ 1181.247236]  [<ffffffffa0073ef0>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
[ 1181.247255]  [<ffffffff8133590c>] ? ioctl_has_perm+0xbc/0xf0
[ 1181.247265]  [<ffffffff81236ca5>] do_vfs_ioctl+0x295/0x470
[ 1181.247274]  [<ffffffff81335990>] ? selinux_file_ioctl+0x50/0xd0
[ 1181.247283]  [<ffffffff81329ac3>] ? security_file_ioctl+0x43/0x60
[ 1181.247296]  [<ffffffff81236ef9>] SyS_ioctl+0x79/0x90
[ 1181.247305]  [<ffffffff81781e2e>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 1181.247312] ---[ end trace 131d3b08bbc8e4eb ]---
[ 1181.247318] ------------[ cut here ]------------
[ 1181.247357] WARNING: CPU: 0 PID: 2328 at drivers/gpu/drm/i915/intel_csr.c:461 assert_csr_loaded+0xcd/0xf0 [i915]()
[ 1181.247364] CSR SSP Base Not fine
[ 1181.247367] Modules linked in: vfat fat rfcomm fuse cmac ccm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun xt_addrtype nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack br_netfilter dm_thin_pool dm_persistent_data dm_bio_prison libcrc32c loop ebtable_broute bridge stp llc ebtable_nat ebtable_filter ebtables ip6table_security ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_filter ip6_tables iptable_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_raw bnep arc4 joydev snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic intel_rapl iosf_mbi iwlmvm snd_hda_intel btusb snd_hda_codec mac80211 btrtl x86_pkg_temp_thermal coretemp
[ 1181.247485]  snd_hda_core kvm_intel snd_hwdep snd_seq kvm snd_seq_device iwlwifi snd_pcm hci_uart btbcm btqca cfg80211 btintel ir_lirc_codec lirc_dev ir_xmp_decoder bluetooth snd_timer ir_mce_kbd_decoder idma64 ir_sharp_decoder virt_dma ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder snd ir_rc6_decoder ir_rc5_decoder ir_nec_decoder i2c_i801 soundcore mmc_block intel_lpss_pci mei_me shpchp mei rc_rc6_mce ite_cir rfkill pinctrl_sunrisepoint intel_lpss_acpi rc_core pinctrl_intel intel_lpss acpi_als kfifo_buf industrialio tpm_tis acpi_pad tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc dm_crypt uas usb_storage i915 crct10dif_pclmul crc32_pclmul crc32c_intel i2c_algo_bit drm_kms_helper e1000e sdhci_pci sdhci drm mmc_core ptp pps_core video i2c_hid fjes
[ 1181.247656] CPU: 0 PID: 2328 Comm: Xorg Tainted: G        W       4.3.5-300.fc23.x86_64 #1
[ 1181.247664] Hardware name:                  /NUC6i5SYB, BIOS SYSKLi35.86A.0033.2016.0107.1707 01/07/2016
[ 1181.247670]  0000000000000000 0000000095897968 ffff880445ddba10 ffffffff813a643f
[ 1181.247684]  ffff880445ddba58 ffff880445ddba48 ffffffff810a07d2 ffff8804481c0000
[ 1181.247698]  ffff8804481c02b0 0000000000000002 0000000030000003 0000000000000000
[ 1181.247710] Call Trace:
[ 1181.247722]  [<ffffffff813a643f>] dump_stack+0x44/0x55
[ 1181.247731]  [<ffffffff810a07d2>] warn_slowpath_common+0x82/0xc0
[ 1181.247761]  [<ffffffff810a086c>] warn_slowpath_fmt+0x5c/0x80
[ 1181.247771]  [<ffffffff8178189e>] ? _raw_spin_unlock_irqrestore+0xe/0x10
[ 1181.247807]  [<ffffffffa016c81d>] assert_csr_loaded+0xcd/0xf0 [i915]
[ 1181.247849]  [<ffffffffa017b52f>] skl_set_power_well+0x76f/0x9a0 [i915]
[ 1181.247890]  [<ffffffffa017b793>] skl_power_well_enable+0x13/0x20 [i915]
[ 1181.247929]  [<ffffffffa017ba19>] intel_display_power_get+0xa9/0x100 [i915]
[ 1181.247994]  [<ffffffffa01d1069>] modeset_get_crtc_power_domains+0x119/0x180 [i915]
[ 1181.248056]  [<ffffffffa01d1d73>] intel_atomic_commit+0xca3/0x13c0 [i915]
[ 1181.248104]  [<ffffffffa0080405>] ? drm_atomic_check_only+0x215/0x540 [drm]
[ 1181.248177]  [<ffffffffa0080767>] drm_atomic_commit+0x37/0x60 [drm]
[ 1181.248200]  [<ffffffffa01289ef>] drm_atomic_helper_set_config+0x1bf/0x420 [drm_kms_helper]
[ 1181.248238]  [<ffffffffa006ff92>] drm_mode_set_config_internal+0x62/0x100 [drm]
[ 1181.248280]  [<ffffffffa00742c4>] drm_mode_setcrtc+0x3d4/0x4f0 [drm]
[ 1181.249373]  [<ffffffff8133590c>] ? ioctl_has_perm+0xbc/0xf0
[ 1181.249382]  [<ffffffff81236ca5>] do_vfs_ioctl+0x295/0x470
[ 1181.249392]  [<ffffffff81335990>] ? selinux_file_ioctl+0x50/0xd0
[ 1181.249407]  [<ffffffff81329ac3>] ? security_file_ioctl+0x43/0x60
[ 1181.249415]  [<ffffffff81236ef9>] SyS_ioctl+0x79/0x90
[ 1181.249424]  [<ffffffff81781e2e>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 1181.249430] ---[ end trace 131d3b08bbc8e4ed ]---
[ 1181.249434] ------------[ cut here ]------------
[ 1181.249478] WARNING: CPU: 0 PID: 2328 at drivers/gpu/drm/i915/intel_runtime_pm.c:551 skl_set_power_well+0x7a6/0x9a0 [i915]()
[ 1181.249485] DC6 already programmed to be disabled.
[ 1181.249493] Modules linked in: vfat fat rfcomm fuse cmac ccm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun xt_addrtype nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack br_netfilter dm_thin_pool dm_persistent_data dm_bio_prison libcrc32c loop ebtable_broute bridge stp llc ebtable_nat ebtable_filter ebtables ip6table_security ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_filter ip6_tables iptable_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_raw bnep arc4 joydev snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic intel_rapl iosf_mbi iwlmvm snd_hda_intel btusb snd_hda_codec mac80211 btrtl x86_pkg_temp_thermal coretemp
[ 1181.249608]  snd_hda_core kvm_intel snd_hwdep snd_seq kvm snd_seq_device iwlwifi snd_pcm hci_uart btbcm btqca cfg80211 btintel ir_lirc_codec lirc_dev ir_xmp_decoder bluetooth snd_timer ir_mce_kbd_decoder idma64 ir_sharp_decoder virt_dma ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder snd ir_rc6_decoder ir_rc5_decoder ir_nec_decoder i2c_i801 soundcore mmc_block intel_lpss_pci mei_me shpchp mei rc_rc6_mce ite_cir rfkill pinctrl_sunrisepoint intel_lpss_acpi rc_core pinctrl_intel intel_lpss acpi_als kfifo_buf industrialio tpm_tis acpi_pad tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc dm_crypt uas usb_storage i915 crct10dif_pclmul crc32_pclmul crc32c_intel i2c_algo_bit drm_kms_helper e1000e sdhci_pci sdhci drm mmc_core ptp pps_core video i2c_hid fjes
[ 1181.249738] CPU: 0 PID: 2328 Comm: Xorg Tainted: G        W       4.3.5-300.fc23.x86_64 #1
[ 1181.249743] Hardware name:                  /NUC6i5SYB, BIOS SYSKLi35.86A.0033.2016.0107.1707 01/07/2016
[ 1181.249752]  0000000000000000 0000000095897968 ffff880445ddba38 ffffffff813a643f
[ 1181.249760]  ffff880445ddba80 ffff880445ddba70 ffffffff810a07d2 ffff8804481c0000
[ 1181.249768]  0000000040000000 ffffffffa024a7d0 0000000030000003 0000000000000000
[ 1181.249777] Call Trace:
[ 1181.249790]  [<ffffffff813a643f>] dump_stack+0x44/0x55
[ 1181.249803]  [<ffffffff810a07d2>] warn_slowpath_common+0x82/0xc0
[ 1181.249811]  [<ffffffff810a086c>] warn_slowpath_fmt+0x5c/0x80
[ 1181.249852]  [<ffffffffa017b566>] skl_set_power_well+0x7a6/0x9a0 [i915]
[ 1181.249896]  [<ffffffffa017b793>] skl_power_well_enable+0x13/0x20 [i915]
[ 1181.249942]  [<ffffffffa017ba19>] intel_display_power_get+0xa9/0x100 [i915]
[ 1181.250009]  [<ffffffffa01d1069>] modeset_get_crtc_power_domains+0x119/0x180 [i915]
[ 1181.250070]  [<ffffffffa01d1d73>] intel_atomic_commit+0xca3/0x13c0 [i915]
[ 1181.250116]  [<ffffffffa0080405>] ? drm_atomic_check_only+0x215/0x540 [drm]
[ 1181.250166]  [<ffffffffa0080767>] drm_atomic_commit+0x37/0x60 [drm]
[ 1181.250186]  [<ffffffffa01289ef>] drm_atomic_helper_set_config+0x1bf/0x420 [drm_kms_helper]
[ 1181.250223]  [<ffffffffa006ff92>] drm_mode_set_config_internal+0x62/0x100 [drm]
[ 1181.250260]  [<ffffffffa00742c4>] drm_mode_setcrtc+0x3d4/0x4f0 [drm]
[ 1181.250300]  [<ffffffffa0065408>] drm_ioctl+0x138/0x500 [drm]
[ 1181.250333]  [<ffffffffa0073ef0>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
[ 1181.250343]  [<ffffffff8133590c>] ? ioctl_has_perm+0xbc/0xf0
[ 1181.250352]  [<ffffffff81236ca5>] do_vfs_ioctl+0x295/0x470
[ 1181.250360]  [<ffffffff81335990>] ? selinux_file_ioctl+0x50/0xd0
[ 1181.250369]  [<ffffffff81329ac3>] ? security_file_ioctl+0x43/0x60
[ 1181.250381]  [<ffffffff81236ef9>] SyS_ioctl+0x79/0x90
[ 1181.250390]  [<ffffffff81781e2e>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 1181.250396] ---[ end trace 131d3b08bbc8e4ee ]---
[ 1181.258550] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 6 not registered
[ 1181.459658] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 6 not registered
[ 1181.469441] PM: Syncing filesystems ... 
[ 1181.477455] [drm:skl_set_power_well [i915]] *ERROR* CSR firmware not ready (2)
[ 1181.488872] done.
[ 1181.488880] PM: Preparing system for sleep (mem)
[ 1181.490725] Freezing user space processes ... (elapsed 0.002 seconds) done.
[ 1181.493276] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 1181.494322] PM: Suspending system (mem)
[ 1181.494350] Suspending console(s) (use no_console_suspend to debug)
[ 1181.599619] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1181.600595] sd 0:0:0:0: [sda] Stopping disk
[ 1181.600661] ite-cir 00:01: disabled
[ 1181.600684] system 00:00: System wakeup disabled by ACPI
[ 1181.600837] e1000e: EEE TX LPI TIMER: 00000011
[ 1181.601685] ------------[ cut here ]------------
[ 1181.601748] WARNING: CPU: 3 PID: 12596 at drivers/gpu/drm/i915/intel_csr.c:458 assert_csr_loaded+0x99/0xf0 [i915]()
[ 1181.601750] CSR is not loaded.
[ 1181.601836] Modules linked in: vfat fat rfcomm fuse cmac ccm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun xt_addrtype nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack br_netfilter dm_thin_pool dm_persistent_data dm_bio_prison libcrc32c loop ebtable_broute bridge stp llc ebtable_nat ebtable_filter ebtables ip6table_security ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_filter ip6_tables iptable_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_raw bnep arc4 joydev snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic intel_rapl iosf_mbi iwlmvm snd_hda_intel btusb snd_hda_codec mac80211 btrtl x86_pkg_temp_thermal coretemp
[ 1181.601931]  snd_hda_core kvm_intel snd_hwdep snd_seq kvm snd_seq_device iwlwifi snd_pcm hci_uart btbcm btqca cfg80211 btintel ir_lirc_codec lirc_dev ir_xmp_decoder bluetooth snd_timer ir_mce_kbd_decoder idma64 ir_sharp_decoder virt_dma ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder snd ir_rc6_decoder ir_rc5_decoder ir_nec_decoder i2c_i801 soundcore mmc_block intel_lpss_pci mei_me shpchp mei rc_rc6_mce ite_cir rfkill pinctrl_sunrisepoint intel_lpss_acpi rc_core pinctrl_intel intel_lpss acpi_als kfifo_buf industrialio tpm_tis acpi_pad tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc dm_crypt uas usb_storage i915 crct10dif_pclmul crc32_pclmul crc32c_intel i2c_algo_bit drm_kms_helper e1000e sdhci_pci sdhci drm mmc_core ptp pps_core video i2c_hid fjes
[ 1181.601939] CPU: 3 PID: 12596 Comm: kworker/u8:20 Tainted: G        W       4.3.5-300.fc23.x86_64 #1
[ 1181.601942] Hardware name:                  /NUC6i5SYB, BIOS SYSKLi35.86A.0033.2016.0107.1707 01/07/2016
[ 1181.601954] Workqueue: events_unbound async_run_entry_fn
[ 1181.601963]  0000000000000000 000000008eb96fad ffff88040caa7b48 ffffffff813a643f
[ 1181.601970]  ffff88040caa7b90 ffff88040caa7b80 ffffffff810a07d2 ffff8804481c0000
[ 1181.601977]  ffff8804481c02b0 0000000000000002 0000000030000003 0000000000000000
[ 1181.601979] Call Trace:
[ 1181.601993]  [<ffffffff813a643f>] dump_stack+0x44/0x55
[ 1181.602003]  [<ffffffff810a07d2>] warn_slowpath_common+0x82/0xc0
[ 1181.602012]  [<ffffffff810a086c>] warn_slowpath_fmt+0x5c/0x80
[ 1181.602025]  [<ffffffff8178189e>] ? _raw_spin_unlock_irqrestore+0xe/0x10
[ 1181.602110]  [<ffffffffa01b5327>] ? gen9_read32+0xf7/0x2d0 [i915]
[ 1181.602163]  [<ffffffffa016c7e9>] assert_csr_loaded+0x99/0xf0 [i915]
[ 1181.602233]  [<ffffffffa017b52f>] skl_set_power_well+0x76f/0x9a0 [i915]
[ 1181.602272]  [<ffffffffa017b793>] skl_power_well_enable+0x13/0x20 [i915]
[ 1181.602310]  [<ffffffffa017ba19>] intel_display_power_get+0xa9/0x100 [i915]
[ 1181.602348]  [<ffffffffa017bcdc>] intel_display_set_init_power+0x3c/0x40 [i915]
[ 1181.602374]  [<ffffffffa0160298>] i915_drm_suspend+0x48/0x190 [i915]
[ 1181.602401]  [<ffffffffa016040f>] i915_pm_suspend+0x2f/0x50 [i915]
[ 1181.602408]  [<ffffffff813f0c06>] pci_pm_suspend+0x76/0x140
[ 1181.602413]  [<ffffffff813f0b90>] ? pci_pm_freeze+0xe0/0xe0
[ 1181.602423]  [<ffffffff814e5a6a>] dpm_run_callback+0x7a/0xf0
[ 1181.602432]  [<ffffffff814e6658>] __device_suspend+0x148/0x370
[ 1181.602440]  [<ffffffff814e69df>] async_suspend+0x1f/0xa0
[ 1181.602447]  [<ffffffff810c172a>] async_run_entry_fn+0x4a/0x140
[ 1181.602454]  [<ffffffff810b8cee>] process_one_work+0x19e/0x3f0
[ 1181.602460]  [<ffffffff810b8f8e>] worker_thread+0x4e/0x450
[ 1181.602467]  [<ffffffff810b8f40>] ? process_one_work+0x3f0/0x3f0
[ 1181.602475]  [<ffffffff810bedf8>] kthread+0xd8/0xf0
[ 1181.602484]  [<ffffffff810bed20>] ? kthread_worker_fn+0x160/0x160
[ 1181.602491]  [<ffffffff8178219f>] ret_from_fork+0x3f/0x70
[ 1181.602499]  [<ffffffff810bed20>] ? kthread_worker_fn+0x160/0x160
[ 1181.602504] ---[ end trace 131d3b08bbc8e4ef ]---
[ 1181.602507] ------------[ cut here ]------------
[ 1181.602544] WARNING: CPU: 3 PID: 12596 at drivers/gpu/drm/i915/intel_csr.c:461 assert_csr_loaded+0xcd/0xf0 [i915]()
[ 1181.602546] CSR SSP Base Not fine
[ 1181.602642] Modules linked in: vfat fat rfcomm fuse cmac ccm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun xt_addrtype nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack br_netfilter dm_thin_pool dm_persistent_data dm_bio_prison libcrc32c loop ebtable_broute bridge stp llc ebtable_nat ebtable_filter ebtables ip6table_security ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_filter ip6_tables iptable_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_raw bnep arc4 joydev snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic intel_rapl iosf_mbi iwlmvm snd_hda_intel btusb snd_hda_codec mac80211 btrtl x86_pkg_temp_thermal coretemp
[ 1181.602722]  snd_hda_core kvm_intel snd_hwdep snd_seq kvm snd_seq_device iwlwifi snd_pcm hci_uart btbcm btqca cfg80211 btintel ir_lirc_codec lirc_dev ir_xmp_decoder bluetooth snd_timer ir_mce_kbd_decoder idma64 ir_sharp_decoder virt_dma ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder snd ir_rc6_decoder ir_rc5_decoder ir_nec_decoder i2c_i801 soundcore mmc_block intel_lpss_pci mei_me shpchp mei rc_rc6_mce ite_cir rfkill pinctrl_sunrisepoint intel_lpss_acpi rc_core pinctrl_intel intel_lpss acpi_als kfifo_buf industrialio tpm_tis acpi_pad tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc dm_crypt uas usb_storage i915 crct10dif_pclmul crc32_pclmul crc32c_intel i2c_algo_bit drm_kms_helper e1000e sdhci_pci sdhci drm mmc_core ptp pps_core video i2c_hid fjes
[ 1181.602729] CPU: 3 PID: 12596 Comm: kworker/u8:20 Tainted: G        W       4.3.5-300.fc23.x86_64 #1
[ 1181.602731] Hardware name:                  /NUC6i5SYB, BIOS SYSKLi35.86A.0033.2016.0107.1707 01/07/2016
[ 1181.602741] Workqueue: events_unbound async_run_entry_fn
[ 1181.602748]  0000000000000000 000000008eb96fad ffff88040caa7b48 ffffffff813a643f
[ 1181.602753]  ffff88040caa7b90 ffff88040caa7b80 ffffffff810a07d2 ffff8804481c0000
[ 1181.602759]  ffff8804481c02b0 0000000000000002 0000000030000003 0000000000000000
[ 1181.602760] Call Trace:
[ 1181.602766]  [<ffffffff813a643f>] dump_stack+0x44/0x55
[ 1181.602772]  [<ffffffff810a07d2>] warn_slowpath_common+0x82/0xc0
[ 1181.602778]  [<ffffffff810a086c>] warn_slowpath_fmt+0x5c/0x80
[ 1181.602785]  [<ffffffff8178189e>] ? _raw_spin_unlock_irqrestore+0xe/0x10
[ 1181.602818]  [<ffffffffa016c81d>] assert_csr_loaded+0xcd/0xf0 [i915]
[ 1181.602855]  [<ffffffffa017b52f>] skl_set_power_well+0x76f/0x9a0 [i915]
[ 1181.602890]  [<ffffffffa017b793>] skl_power_well_enable+0x13/0x20 [i915]
[ 1181.602925]  [<ffffffffa017ba19>] intel_display_power_get+0xa9/0x100 [i915]
[ 1181.602961]  [<ffffffffa017bcdc>] intel_display_set_init_power+0x3c/0x40 [i915]
[ 1181.602988]  [<ffffffffa0160298>] i915_drm_suspend+0x48/0x190 [i915]
[ 1181.603015]  [<ffffffffa016040f>] i915_pm_suspend+0x2f/0x50 [i915]
[ 1181.603020]  [<ffffffff813f0c06>] pci_pm_suspend+0x76/0x140
[ 1181.603024]  [<ffffffff813f0b90>] ? pci_pm_freeze+0xe0/0xe0
[ 1181.603033]  [<ffffffff814e5a6a>] dpm_run_callback+0x7a/0xf0
[ 1181.603042]  [<ffffffff814e6658>] __device_suspend+0x148/0x370
[ 1181.603050]  [<ffffffff814e69df>] async_suspend+0x1f/0xa0
[ 1181.603056]  [<ffffffff810c172a>] async_run_entry_fn+0x4a/0x140
[ 1181.603062]  [<ffffffff810b8cee>] process_one_work+0x19e/0x3f0
[ 1181.603068]  [<ffffffff810b8f8e>] worker_thread+0x4e/0x450
[ 1181.603075]  [<ffffffff810b8f40>] ? process_one_work+0x3f0/0x3f0
[ 1181.604204]  [<ffffffff810b8f40>] ? process_one_work+0x3f0/0x3f0
[ 1181.604212]  [<ffffffff810bedf8>] kthread+0xd8/0xf0
[ 1181.604220]  [<ffffffff810bed20>] ? kthread_worker_fn+0x160/0x160
[ 1181.604226]  [<ffffffff8178219f>] ret_from_fork+0x3f/0x70
[ 1181.604234]  [<ffffffff810bed20>] ? kthread_worker_fn+0x160/0x160
[ 1181.604237] ---[ end trace 131d3b08bbc8e4f2 ]---
[ 1181.611237] [drm:skl_set_power_well [i915]] *ERROR* CSR firmware not ready (2)
[ 1182.274688] PM: suspend of devices complete after 678.864 msecs
[ 1182.293604] e1000e 0000:00:1f.6: System wakeup enabled by ACPI
[ 1182.293956] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
[ 1182.315431] PM: noirq suspend of devices complete after 23.797 msecs
[ 1182.316645] ACPI: Preparing to enter system sleep state S3
[ 1182.317808] PM: Saving platform NVS memory
[ 1182.317861] Disabling non-boot CPUs ...
[ 1182.321334] smpboot: CPU 1 is now offline
[ 1182.332731] smpboot: CPU 2 is now offline
[ 1182.341772] smpboot: CPU 3 is now offline
[ 1182.353256] ACPI: Low-level resume complete
[ 1182.353368] PM: Restoring platform NVS memory
[ 1182.354172] Enabling non-boot CPUs ...
[ 1182.362682] x86: Booting SMP configuration:
[ 1182.362683] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 1182.367005]  cache: parent cpu1 should not be sleeping
[ 1182.367071] intel_pstate: HWP enabled
[ 1182.367139] CPU1 is up
[ 1182.375672] smpboot: Booting Node 0 Processor 2 APIC 0x1
[ 1182.379415]  cache: parent cpu2 should not be sleeping
[ 1182.379455] intel_pstate: HWP enabled
[ 1182.379499] CPU2 is up
[ 1182.387725] smpboot: Booting Node 0 Processor 3 APIC 0x3
[ 1182.392440]  cache: parent cpu3 should not be sleeping
[ 1182.392518] intel_pstate: HWP enabled
[ 1182.392606] CPU3 is up
[ 1182.399103] ACPI: Waking up from system sleep state S3
[ 1182.430700] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
[ 1182.430880] PM: noirq resume of devices complete after 24.647 msecs
[ 1182.461115] PM: early resume of devices complete after 30.180 msecs
[ 1182.462950] e1000e 0000:00:1f.6: System wakeup disabled by ACPI
[ 1182.463078] sd 0:0:0:0: [sda] Starting disk
[ 1182.464323] ite-cir 00:01: activated
[ 1182.464373] rtc_cmos 00:03: System wakeup disabled by ACPI
[ 1182.767704] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 1182.768391] ata1.00: configured for UDMA/100
[ 1183.177274] PM: resume of devices complete after 716.020 msecs
[ 1183.177761] PM: Finishing wakeup.
[ 1183.177764] Restarting tasks ... done.
[ 1183.181702] video LNXVIDEO:00: Restoring backlight state
[ 1183.220971] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 6 not registered
[ 1183.298877] e1000e: eno1 NIC Link is Down
[ 1183.301523] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[ 1183.302343] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled
[ 1183.303337] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled
[ 1183.304065] iwlwifi 0000:01:00.0: can't access the RSA semaphore it is write protected
[ 1183.449456] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled
[ 1183.450127] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled
[ 1183.450852] iwlwifi 0000:01:00.0: can't access the RSA semaphore it is write protected
[ 1183.542501] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[ 1183.545886] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
[ 1183.751201] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
[ 1183.804658] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[ 1184.432453] [drm] RC6 on
Comment 4 frans 2016-02-12 08:35:58 UTC
Maybe another hint - I found out that the bug has been introduced @Fedora23 by updating from kernel kernel-4.3.3-300.fc23 to kernel-4.3.3-303.fc23. The notable change is "Backported i915": 
https://bodhi.fedoraproject.org/updates/FEDORA-2016-b59fd603be

Just running the old kernel-4.3.3-300.fc23 works for me!
Comment 5 yann 2016-05-18 15:30:02 UTC
*** Bug 95068 has been marked as a duplicate of this bug. ***
Comment 6 frans 2016-05-19 07:41:46 UTC
As one might guess from the logs (it took me weeks to discover) you can easily workaround the bug by just adding deactivating RC6 by adding "i915.i915_enable_rc6=0" to your kernel line (e.g. in grub.conf etc.). This way you can use a recent kernel, too.
Comment 7 Jani Nikula 2016-05-23 10:39:17 UTC
(In reply to frans from comment #6)
> As one might guess from the logs (it took me weeks to discover) you can
> easily workaround the bug by just adding deactivating RC6 by adding
> "i915.i915_enable_rc6=0" to your kernel line (e.g. in grub.conf etc.). This
> way you can use a recent kernel, too.

If that helps with kernel v3.15 or later, it's a placebo effect. (The param has been i915.enable_rc6 for a couple of years now.)
Comment 8 Milos Kaurin 2016-05-29 12:14:51 UTC
I have exactly the same hardware:
[  +0.000006] Hardware name:                  /NUC6i5SYB, BIOS SYSKLi35.86A.0044.2016.0512.1734 05/12/2016

I can reproduce the mini-hangs/complete system freezes as frans described on kernels 4.3.3-303.fc23+. Issues are always reported in dmesg.

Kernel 4.3.3-300 gives me various i915 related stack traces, but with no impact to usability. (no hangs/freezes)

The best method of reproducing mini hangs in kernels 4.3.3-303.fc23+ that I've found so far is: Run Kodi (requires RPMfusion repos), then start Firefox. The issues start appearing almost immediately.

I also confirm what Jani Nikula said: Setting "i915.i915_enable_rc6=0" has no impact on the kernels pertaining to this issue. You can look into dmesg where it will be clearly stated that this particular kernel parameter is unknown.
Comment 9 Daniel Rowe 2016-05-30 08:47:23 UTC
I am also seeing this on Fedora 23 on same hardware. I am seeing this on kernel 4.4.9 and testing kernel 4.5.5.

Also using DP and have a 4K monitor attached.

drm] stuck on render ring
[  174.864441] [drm] GPU HANG: ecode 9:0:0x87f99ff9, in gnome-shell [1856], reason: Ring hung, action: reset
[  174.864445] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[  174.864447] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[  174.864449] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[  174.864451] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[  174.864453] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[  174.864503] ------------[ cut here ]------------
[  174.864587] WARNING: CPU: 2 PID: 1092 at drivers/gpu/drm/i915/intel_display.c:11440 intel_mmio_flip_work_func+0x456/0x460 [i915]()
[  174.864593] WARN_ON(__i915_wait_request(mmio_flip->req, mmio_flip->crtc->reset_counter, false, NULL, &mmio_flip->i915->rps.mmioflips))
[  174.864599] Modules linked in:
[  174.864603]  rfcomm fuse cmac xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_broute bridge ebtable_nat ebtable_filter ebtables ip6table_mangle ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_mangle iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_security iptable_raw bnep snd_hda_codec_hdmi arc4 snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_hda_codec_realtek snd_soc_sst_match snd_hda_codec_generic snd_soc_core intel_rapl snd_compress x86_pkg_temp_thermal coretemp snd_pcm_dmaengine
[  174.864672]  ac97_bus kvm_intel snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep kvm snd_seq iwlmvm irqbypass crct10dif_pclmul crc32_pclmul snd_seq_device snd_pcm mac80211 ghash_clmulni_intel vfat fat iwlwifi joydev hci_uart btqca btusb cfg80211 btrtl btbcm btintel bluetooth snd_timer snd soundcore mei_me i2c_i801 idma64 ir_lirc_codec lirc_dev mei intel_lpss_pci shpchp rfkill rc_rc6_mce ite_cir pinctrl_sunrisepoint rc_core intel_lpss_acpi pinctrl_intel intel_lpss acpi_pad acpi_als tpm_tis kfifo_buf industrialio tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc 8021q garp stp llc mrp btrfs xor raid6_pq i915 i2c_algo_bit drm_kms_helper e1000e crc32c_intel drm sdhci_pci sdhci mmc_core ptp nvme pps_core video i2c_hid fjes
[  174.864769] CPU: 2 PID: 1092 Comm: kworker/2:3 Not tainted 4.5.5-201.fc23.x86_64 #1
[  174.864772] Hardware name:                  /NUC6i5SYB, BIOS SYSKLi35.86A.0044.2016.0512.1734 05/12/2016
[  174.864837] Workqueue: events intel_mmio_flip_work_func [i915]
[  174.864842]  0000000000000286 000000000c1634c0 ffff880262993d18 ffffffff813d08de
[  174.864849]  ffff880262993d60 ffffffffa024de60 ffff880262993d50 ffffffff810a5e22
[  174.864856]  ffff880232ac5f40 ffff88027ed165c0 ffff880272cd8480 0000000000000080
[  174.864862] Call Trace:
[  174.864872]  [<ffffffff813d08de>] dump_stack+0x63/0x85
[  174.864881]  [<ffffffff810a5e22>] warn_slowpath_common+0x82/0xc0
[  174.864887]  [<ffffffff810a5ebc>] warn_slowpath_fmt+0x5c/0x80
[  174.864947]  [<ffffffffa01e5706>] intel_mmio_flip_work_func+0x456/0x460 [i915]
[  174.864955]  [<ffffffff810be5ec>] process_one_work+0x15c/0x430
[  174.864962]  [<ffffffff810be90e>] worker_thread+0x4e/0x480
[  174.864969]  [<ffffffff817c488c>] ? __schedule+0x3ac/0xa00
[  174.864975]  [<ffffffff810be8c0>] ? process_one_work+0x430/0x430
[  174.864981]  [<ffffffff810be8c0>] ? process_one_work+0x430/0x430
[  174.864987]  [<ffffffff810c4728>] kthread+0xd8/0xf0
[  174.864993]  [<ffffffff810c4650>] ? kthread_worker_fn+0x170/0x170
[  174.865000]  [<ffffffff817c944f>] ret_from_fork+0x3f/0x70
[  174.865005]  [<ffffffff810c4650>] ? kthread_worker_fn+0x170/0x170
[  174.865021] ---[ end trace 14670e0083b39c47 ]---
[  174.867526] drm/i915: Resetting chip after gpu hang
[  176.868354] [drm] RC6 on
Comment 10 Daniel Rowe 2016-05-30 08:49:58 UTC
Just running Firefox does sit for me.
Comment 11 Daniel Rowe 2016-05-30 09:07:34 UTC
Conform that on kernel 4.2.3 I am not seeing this at least in the first 10 mins or so.

The newer kernels do have much better performance on my 4k display however.
Comment 12 Imre Deak 2016-05-30 09:44:47 UTC
(In reply to Milos Kaurin from comment #8)
> I also confirm what Jani Nikula said: Setting "i915.i915_enable_rc6=0"

Should be i915.enable_rc6=0 .

> has
> no impact on the kernels pertaining to this issue. You can look into dmesg
> where it will be clearly stated that this particular kernel parameter is
> unknown.
Comment 13 Milos Kaurin 2016-05-30 10:47:14 UTC
(In reply to Imre Deak from comment #12)
> (In reply to Milos Kaurin from comment #8)
> > I also confirm what Jani Nikula said: Setting "i915.i915_enable_rc6=0"
> 
> Should be i915.enable_rc6=0 .


Thank you Imre. I stand corrected.

Just tried it - "4.4.9-300.fc23.x86_64" with "i915.enable_rc6=0". No i915 stack traces (or any other) with kodi and firefox running for several minutes now.

The only thing I see in dmesg regarding rc6 is this line close to boot:

[  +0.088745] Setting dangerous option enable_rc6 - tainting kernel


For those having the issue, and if you want to use the latest kernel:

1. As root, edit /etc/default/grub
2. Find the line that starts with GRUB_CMDLINE_LINUX
   * Append i915.enable_rc6=0
   * Example: GRUB_CMDLINE_LINUX="rhgb quiet i915.enable_rc6=0"
3a. If you have a BIOS system, follow this guide[1]
3b. If you have a UEFI syste, follow this guide[2]
4. Reboot
5. Check  "uname -a" and dmesg to check whether you have set this option correctly
7. Test

NOTE: The rc6 option for the i915 appears to control power saving settings[3], so expect higher power consumption.

I hope this helps.


[1] Updating GRUB 2 on BIOS systems: https://fedoraproject.org/wiki/GRUB_2?rd=Grub2#Updating_GRUB_2_configuration_on_BIOS_systems
[2] Updating GRUB 2 on UEFI systems: https://fedoraproject.org/wiki/GRUB_2?rd=Grub2#Updating_GRUB_2_configuration_on_UEFI_systems
[3] http://blog.vivi.eng.br/?p=162
Comment 14 Milos Kaurin 2016-06-03 20:18:35 UTC
No longer occurs with the new 4.5.5-201.fc23 kernel:

$ cat /proc/cmdline 
BOOT_IMAGE=/vmlinuz-4.5.5-201.fc23.x86_64 root=UUID=638709e8-d595-4259-8a1c-4525083174ee ro rhgb quiet
Comment 15 frans 2016-06-11 09:13:10 UTC
For me it does! I'm on 4.5.6-200.fc23.x86_64 now and the machine still hangs for some seconds every couple of minutes when I re-activate RC6.

Error message in dmesg is:

[95618.288809] [drm] stuck on render ring
[95618.289426] [drm] GPU HANG: ecode 9:0:0x85dfbfff, in gnome-shell [2271], reason: Ring hung, action: reset
[95618.289841] ------------[ cut here ]------------
[95618.289890] WARNING: CPU: 1 PID: 32114 at drivers/gpu/drm/i915/intel_display.c:11440 intel_mmio_flip_work_func+0x45f/0x470 [i915]()
...
...
[95618.290176]  [<ffffffff810d7980>] ? kthread_create_on_node+0x250/0x250
[95618.290183]  [<ffffffff818b641f>] ret_from_fork+0x3f/0x70
[95618.290187]  [<ffffffff810d7980>] ? kthread_create_on_node+0x250/0x250
[95618.290192] ---[ end trace 700d22f5ceb77f1b ]---
[95618.291837] drm/i915: Resetting chip after gpu hang
[95620.276896] [drm] RC6 on
Comment 16 Milos Kaurin 2016-06-11 09:15:51 UTC
Created attachment 124472 [details]
attachment-26284-0.html

I'm sorry for causing confusion. It crashes for me as well, just not as
soon as I start Firefox. Replication of crashes is not consistent.
On Jun 11, 2016 10:13 AM, <bugzilla-daemon@freedesktop.org> wrote:

> *Comment # 15 <https://bugs.freedesktop.org/show_bug.cgi?id=94101#c15> on
> bug 94101 <https://bugs.freedesktop.org/show_bug.cgi?id=94101> from frans
> <gegenstand+bugs.freedesktop.org@gmail.com> *
>
> For me it does! I'm on 4.5.6-200.fc23.x86_64 now and the machine still hangs
> for some seconds every couple of minutes when I re-activate RC6.
>
> Error message in dmesg is:
>
> [95618.288809] [drm] stuck on render ring
> [95618.289426] [drm] GPU HANG: ecode 9:0:0x85dfbfff, in gnome-shell [2271],
> reason: Ring hung, action: reset
> [95618.289841] ------------[ cut here ]------------
> [95618.289890] WARNING: CPU: 1 PID: 32114 at
> drivers/gpu/drm/i915/intel_display.c:11440
> intel_mmio_flip_work_func+0x45f/0x470 [i915]()
> ...
> ...
> [95618.290176]  [<ffffffff810d7980>] ? kthread_create_on_node+0x250/0x250
> [95618.290183]  [<ffffffff818b641f>] ret_from_fork+0x3f/0x70
> [95618.290187]  [<ffffffff810d7980>] ? kthread_create_on_node+0x250/0x250
> [95618.290192] ---[ end trace 700d22f5ceb77f1b ]---
> [95618.291837] drm/i915: Resetting chip after gpu hang
> [95620.276896] [drm] RC6 on
>
> ------------------------------
> You are receiving this mail because:
>
>    - You are on the CC list for the bug.
>
>
Comment 17 Roman 2016-08-09 08:08:13 UTC
Same happens here on Ubuntu 16.04,
4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

but only after connecting external monitor.

[57297.949549] WARNING: CPU: 0 PID: 3252 at /build/linux-dcxD3m/linux-4.4.0/ubuntu/i915/intel_display.c:13444 intel_atomic_commit+0xd2b/0xdc0 [i915_bpo]()
[57297.949551] WARN_ON(!lret)
[57297.949552] Modules linked in:
[57297.949554]  vhost_net vhost macvtap macvlan rfcomm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables bnep drbg ansi_cprng dm_crypt nls_iso8859_1 snd_hda_codec_hdmi intel_rapl hid_multitouch x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass i2c_designware_platform crct10dif_pclmul i2c_designware_core dell_led crc32_pclmul dell_wmi snd_hda_codec_realtek snd_hda_codec_generic uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common snd_hda_intel videodev snd_hda_codec btusb media btrtl snd_hda_core aesni_intel snd_hwdep
[57297.949584]  aes_x86_64 lrw input_leds snd_pcm gf128mul dell_laptop snd_seq_midi snd_seq_midi_event snd_rawmidi glue_helper dcdbas snd_seq brcmfmac ablk_helper snd_seq_device joydev snd_timer serio_raw cryptd brcmutil snd cfg80211 rtsx_pci_ms memstick soundcore hci_uart acpi_als btbcm btqca idma64 virt_dma btintel kfifo_buf intel_lpss_acpi intel_lpss_pci mei_me industrialio bluetooth mei intel_lpss int3403_thermal dell_smo8800 processor_thermal_device int3402_thermal mac_hid shpchp intel_hid int3400_thermal acpi_thermal_rel acpi_pad sparse_keymap int340x_thermal_zone intel_soc_dts_iosf parport_pc ppdev lp sunrpc parport autofs4 hid_generic usbhid rtsx_pci_sdmmc i915_bpo nouveau psmouse rtsx_pci mxm_wmi intel_ips ttm i2c_algo_bit ahci drm_kms_helper libahci syscopyarea sysfillrect sysimgblt fb_sys_fops
[57297.949618]  drm i2c_hid hid pinctrl_sunrisepoint wmi pinctrl_intel video fjes
[57297.949624] CPU: 0 PID: 3252 Comm: Xorg Tainted: G        W       4.4.0-31-generic #50-Ubuntu
[57297.949625] Hardware name: Dell Inc. XPS 15 9550/0X2P13, BIOS 01.02.00 04/07/2016
[57297.949627]  0000000000000286 00000000f439f420 ffff88003570bb28 ffffffff813f1143
[57297.949629]  ffff88003570bb70 ffffffffc041e478 ffff88003570bb60 ffffffff81081102
[57297.949631]  ffff8800354b6800 0000000000000000 0000000000000000 ffff8802ad49a000
[57297.949633] Call Trace:
[57297.949639]  [<ffffffff813f1143>] dump_stack+0x63/0x90
[57297.949642]  [<ffffffff81081102>] warn_slowpath_common+0x82/0xc0
[57297.949644]  [<ffffffff8108119c>] warn_slowpath_fmt+0x5c/0x80
[57297.949648]  [<ffffffff810c3805>] ? finish_wait+0x55/0x70
[57297.949669]  [<ffffffffc03b365b>] intel_atomic_commit+0xd2b/0xdc0 [i915_bpo]
[57297.949672]  [<ffffffff810c3ca0>] ? wake_atomic_t_function+0x60/0x60
[57297.949688]  [<ffffffffc00a7c17>] drm_atomic_commit+0x37/0x60 [drm]
[57297.949695]  [<ffffffffc0111b16>] drm_atomic_helper_set_config+0x76/0xb0 [drm_kms_helper]
[57297.949706]  [<ffffffffc0096e42>] drm_mode_set_config_internal+0x62/0x100 [drm]
[57297.949719]  [<ffffffffc009b362>] drm_mode_setcrtc+0x3d2/0x4f0 [drm]
[57297.949727]  [<ffffffffc008c742>] drm_ioctl+0x152/0x540 [drm]
[57297.949737]  [<ffffffffc009af90>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
[57297.949740]  [<ffffffff81220c0f>] do_vfs_ioctl+0x29f/0x490
[57297.949743]  [<ffffffff8108e351>] ? __set_task_blocked+0x41/0xa0
[57297.949745]  [<ffffffff81090ce6>] ? __set_current_blocked+0x36/0x60
[57297.949747]  [<ffffffff81220e79>] SyS_ioctl+0x79/0x90
[57297.949750]  [<ffffffff8182db32>] entry_SYSCALL_64_fastpath+0x16/0x71
[57297.949751] ---[ end trace 13b6d7272bfbae7a ]---
[57302.497760] [drm] stuck on render ring
[57302.498121] [drm] GPU HANG: ecode 9:0:0xfffffffe, reason: Ring hung, action: reset
[57302.500629] drm/i915: Resetting chip after gpu hang
[57304.497798] [drm] RC6 on
[57310.497734] [drm] stuck on render ring
[57310.497890] [drm] GPU HANG: ecode 9:0:0xfffffffe, in compiz [25995], reason: Ring hung, action: reset
[57310.500232] drm/i915: Resetting chip after gpu hang
[57311.517743] [drm] RC6 on
[57318.497995] [drm] stuck on render ring
[57318.498381] [drm] GPU HANG: ecode 9:0:0xfffffffe, reason: Ring hung, action: reset
[57318.500123] drm/i915: Resetting chip after gpu hang
[57319.517916] [drm] RC6 on
Comment 18 Jari Tahvanainen 2017-04-10 12:57:03 UTC
Frans, Milos and Roman. Sorry about neglecting this faaaar too long. Does the problem still persist with the latest kernels (preferable drm-tip from git://anongit.freedesktop.org/git/drm-tip). If yes then set status REOPENED and attach the latest info/logs as attachments (see https://01.org/linuxgraphics/documentation/how-report-bugs). When you run system with drm.debug=0xe on your kernel command line, you might also attach the output from cat /sys/kernel/debug/dri/0/i915_display_info.
Comment 19 Jari Tahvanainen 2017-05-23 14:19:01 UTC
Timetout - marking resolved+worksforme. Please reopen the bug if problem still persist with the latest kernels (preferable from drm-tip).

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.