Summary: | [SKL] Kicking stuck page flip: queued at 1, now 5 | ||
---|---|---|---|
Product: | DRI | Reporter: | Damien Lespiau <damien.lespiau> |
Component: | DRM/Intel | Assignee: | Damien Lespiau <damien.lespiau> |
Status: | CLOSED WORKSFORME | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | critical | ||
Priority: | high | CC: | arti.zirk, huax.lu, intel-gfx-bugs, joe.konno |
Version: | XOrg git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | SKL | i915 features: | display/Other |
Description
Damien Lespiau
2015-03-10 16:20:27 UTC
It seems like I managed to triger that same bug. I have a Intel i5-3317U with HD4000 grapics. I'm not running stock kernel and I have tainted my kernel by using some i915 options (i915.enable_rc6=7 i915.enable_fbc=1 i915.lvds_downclock=1 i915.fastboot=1) so it probably doesn't help much. ------------[ cut here ]------------ WARNING: CPU: 3 PID: 0 at drivers/gpu/drm/i915/intel_display.c:9756 intel_check_page_flip+0xda/0xf0 [i915]() Kicking stuck page flip: queued at 2708, now 2718 Modules linked in: fuse joydev mousedev nvram msr dm_mod bnep dell_wmi sparse_keymap nls_iso8859_1 nls_cp437 iTCO_wdt vfat fat iTCO_vendor_support intel_rapl iosf_mbi x evdev mac_hid mei_me ac mei processor sch_fq_codel rtsx_usb_sdmmc led_class mmc_core rtsx_usb btrfs xor raid6_pq sd_mod atkbd libps2 ahci libahci libata xhci_pci ehci_ CPU: 3 PID: 0 Comm: BFS/3 Tainted: G U 4.0.4-3-ck #1 Hardware name: Dell Inc. Vostro 3360/07X5MJ, BIOS A18 09/25/2013 0000000000000000 fefd3730175cfa87 ffff8801bf2c3d18 ffffffff8155b561 0000000000000000 ffff8801bf2c3d70 ffff8801bf2c3d58 ffffffff81073b7a ffff8801bf2c3d88 ffff8801b7424000 ffff8800ac9aa000 ffff8800ac9aa1a0 Call Trace: <IRQ> [<ffffffff8155b561>] dump_stack+0x4c/0x6e [<ffffffff81073b7a>] warn_slowpath_common+0x8a/0xc0 [<ffffffff81073c05>] warn_slowpath_fmt+0x55/0x70 [<ffffffffa01466ca>] intel_check_page_flip+0xda/0xf0 [i915] [<ffffffffa011236c>] ironlake_irq_handler+0x2ac/0x1000 [i915] [<ffffffff812b1170>] ? timerqueue_add+0x60/0xb0 [<ffffffff810c42a9>] ? enqueue_hrtimer+0x29/0xa0 [<ffffffff810b313e>] handle_irq_event_percpu+0x3e/0x1f0 [<ffffffff810b3331>] handle_irq_event+0x41/0x70 [<ffffffff810b62fe>] handle_edge_irq+0x9e/0x110 [<ffffffff81017312>] handle_irq+0x22/0x40 [<ffffffff81563f8f>] do_IRQ+0x4f/0xf0 [<ffffffff81561ead>] common_interrupt+0x6d/0x6d <EOI> [<ffffffff8141aafd>] ? cpuidle_enter_state+0x5d/0x1a0 [<ffffffff8141aaed>] ? cpuidle_enter_state+0x4d/0x1a0 [<ffffffff8141ac77>] cpuidle_enter+0x17/0x20 [<ffffffff810a1030>] cpu_startup_entry+0x340/0x470 [<ffffffff8104abfa>] start_secondary+0x1aa/0x1f0 ---[ end trace 9d3e48e39ebe1aea ]--- Bug scrub: Olivier, Could you try to reproduce it using IGT kms flip or eventually a video game. After some tries with kms_flip, I have not found any 'Kicking stuck page flip' error with latest drm-intel-nightly kernel. However, i have a random 'Removing stuck page flip' warning : [ 2224.003089] kms_flip: starting subtest vblank-vs-modeset-rpm-interruptible [ 2225.412948] ------------[ cut here ]------------ [ 2225.413003] WARNING: CPU: 3 PID: 2233 at /home/shared/kernels/drm-intel-nightly/drivers/gpu/drm/drm_irq.c:1268 drm_wait_one_vblank+0x143/0x180 [drm]() [ 2225.413010] vblank wait timed out on crtc 0 [ 2225.413019] Modules linked in: binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic nls_iso8859_1 snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_seq_midi coretemp snd_seq_midi_event kvm_intel kvm snd_rawmidi irqbypass snd_seq crct10dif_pclmul crc32_pclmul snd_seq_device snd_timer aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd processor_thermal_device intel_soc_dts_iosf snd shpchp iosf_mbi soundcore hci_uart serio_raw mei_me btbcm btintel mei bluetooth acpi_als kfifo_buf winbond_cir industrialio rc_core int3403_thermal int3402_thermal int340x_thermal_zone int3400_thermal mac_hid acpi_thermal_rel tpm_crb acpi_pad parport_pc ppdev lp parport autofs4 hid_generic usbhid i915 i2c_algo_bit drm_kms_helper [ 2225.413153] syscopyarea i2c_hid sysfillrect sysimgblt ahci fb_sys_fops e1000e psmouse libahci drm ptp xhci_pci sdhci_pci xhci_hcd sdhci pps_core wmi hid video pinctrl_sunrisepoint pinctrl_intel [ 2225.413195] CPU: 3 PID: 2233 Comm: kms_flip Tainted: G U W 4.4.0-rc4-nightly+ #1 [ 2225.413201] Hardware name: Intel Corporation Skylake Client platform/Skylake Y LPDDR3 RVP3, BIOS SKLSE2R1.R00.B104.B01.1511110114 11/11/2015 [ 2225.413207] ffffffffa011cb00 ffff880164037a98 ffffffff8139182d ffff880164037ae0 [ 2225.413217] ffff880164037ad0 ffffffff810760e6 ffff880035179000 0000000000000000 [ 2225.413226] 000000000000e0cc ffff88016241dc08 0000000000000000 ffff880164037b30 [ 2225.413235] Call Trace: [ 2225.413252] [<ffffffff8139182d>] dump_stack+0x44/0x57 [ 2225.413263] [<ffffffff810760e6>] warn_slowpath_common+0x86/0xc0 [ 2225.413270] [<ffffffff8107616c>] warn_slowpath_fmt+0x4c/0x50 [ 2225.413281] [<ffffffff810b6368>] ? finish_wait+0x58/0x70 [ 2225.413314] [<ffffffffa00ed5e3>] drm_wait_one_vblank+0x143/0x180 [drm] [ 2225.413323] [<ffffffff810b6630>] ? wait_woken+0x80/0x80 [ 2225.413418] [<ffffffffa02f8094>] intel_atomic_commit+0x6b4/0x22d0 [i915] [ 2225.413433] [<ffffffff8176613a>] ? __ww_mutex_lock_slowpath+0x16e/0x184 [ 2225.413507] [<ffffffffa010555c>] ? drm_atomic_check_only+0x15c/0x5a0 [drm] [ 2225.413555] [<ffffffffa0105af0>] ? drm_atomic_set_crtc_for_connector+0x20/0x90 [drm] [ 2225.413600] [<ffffffffa01059d7>] drm_atomic_commit+0x37/0x60 [drm] [ 2225.413626] [<ffffffffa025bb17>] drm_atomic_helper_set_config+0x77/0xb0 [drm_kms_helper] [ 2225.413668] [<ffffffffa00f55d4>] drm_mode_set_config_internal+0x64/0x100 [drm] [ 2225.413713] [<ffffffffa00f984d>] drm_mode_setcrtc+0xdd/0x500 [drm] [ 2225.413743] [<ffffffffa00eb8bb>] drm_ioctl+0x23b/0x4d0 [drm] [ 2225.413784] [<ffffffffa00f9770>] ? drm_mode_setplane+0x1c0/0x1c0 [drm] [ 2225.413795] [<ffffffff810a4e6d>] ? account_user_time+0x5d/0x80 [ 2225.413805] [<ffffffff811f739d>] do_vfs_ioctl+0x2cd/0x4b0 [ 2225.413835] [<ffffffff8116e92d>] ? context_tracking_exit+0x1d/0x30 [ 2225.413851] [<ffffffff8100366f>] ? enter_from_user_mode+0x1f/0x50 [ 2225.413859] [<ffffffff811f75f9>] SyS_ioctl+0x79/0x90 [ 2225.413869] [<ffffffff8116e9bd>] ? context_tracking_enter+0x1d/0x30 [ 2225.413878] [<ffffffff81768536>] entry_SYSCALL_64_fastpath+0x16/0x75 [ 2225.413885] ---[ end trace c62c69a291c8fe6b ]--- [ 2225.997248] [drm] RC6 on [ 2228.522129] kms_flip: exiting, ret=99 [ 2288.524458] ------------[ cut here ]------------ [ 2288.524623] WARNING: CPU: 0 PID: 2233 at /home/shared/kernels/drm-intel-nightly/drivers/gpu/drm/i915/intel_display.c:3930 intel_atomic_commit+0x22c1/0x22d0 [i915]() [ 2288.524630] Removing stuck page flip [ 2288.524635] Modules linked in: binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic nls_iso8859_1 snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_seq_midi coretemp snd_seq_midi_event kvm_intel kvm snd_rawmidi irqbypass snd_seq crct10dif_pclmul crc32_pclmul snd_seq_device snd_timer aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd processor_thermal_device intel_soc_dts_iosf snd shpchp iosf_mbi soundcore hci_uart serio_raw mei_me btbcm btintel mei bluetooth acpi_als kfifo_buf winbond_cir industrialio rc_core int3403_thermal int3402_thermal int340x_thermal_zone int3400_thermal mac_hid acpi_thermal_rel tpm_crb acpi_pad parport_pc ppdev lp parport autofs4 hid_generic usbhid i915 i2c_algo_bit drm_kms_helper [ 2288.524785] syscopyarea i2c_hid sysfillrect sysimgblt ahci fb_sys_fops e1000e psmouse libahci drm ptp xhci_pci sdhci_pci xhci_hcd sdhci pps_core wmi hid video pinctrl_sunrisepoint pinctrl_intel [ 2288.524838] CPU: 0 PID: 2233 Comm: kms_flip Tainted: G U W 4.4.0-rc4-nightly+ #1 [ 2288.524846] Hardware name: Intel Corporation Skylake Client platform/Skylake Y LPDDR3 RVP3, BIOS SKLSE2R1.R00.B104.B01.1511110114 11/11/2015 [ 2288.524853] ffffffffa035e7d0 ffff880164037b28 ffffffff8139182d ffff880164037b70 [ 2288.524866] ffff880164037b60 ffffffff810760e6 ffff880162b3d000 ffff880035189090 [ 2288.524877] 0000000000000000 ffff8800351791a8 ffff880162be2800 ffff880164037bc0 [ 2288.524887] Call Trace: [ 2288.524942] [<ffffffff8139182d>] dump_stack+0x44/0x57 [ 2288.524954] [<ffffffff810760e6>] warn_slowpath_common+0x86/0xc0 [ 2288.524964] [<ffffffff8107616c>] warn_slowpath_fmt+0x4c/0x50 [ 2288.524977] [<ffffffff810b6368>] ? finish_wait+0x58/0x70 [ 2288.525074] [<ffffffffa02f9ca1>] intel_atomic_commit+0x22c1/0x22d0 [i915] [ 2288.525093] [<ffffffff8176613a>] ? __ww_mutex_lock_slowpath+0x16e/0x184 [ 2288.525104] [<ffffffff810b6630>] ? wait_woken+0x80/0x80 [ 2288.525139] [<ffffffffa02595f7>] ? __drm_atomic_helper_crtc_duplicate_state+0x77/0xd0 [drm_kms_helper] [ 2288.525212] [<ffffffffa01059d7>] drm_atomic_commit+0x37/0x60 [drm] [ 2288.525244] [<ffffffffa025adae>] drm_atomic_helper_connector_dpms+0xee/0x190 [drm_kms_helper] [ 2288.525318] [<ffffffffa00fab7c>] drm_mode_obj_set_property_ioctl+0x21c/0x230 [drm] [ 2288.525373] [<ffffffffa00fabc0>] drm_mode_connector_property_set_ioctl+0x30/0x40 [drm] [ 2288.525408] [<ffffffffa00eb8bb>] drm_ioctl+0x23b/0x4d0 [drm] [ 2288.525460] [<ffffffffa00fab90>] ? drm_mode_obj_set_property_ioctl+0x230/0x230 [drm] [ 2288.525475] [<ffffffff8112b0cc>] ? acct_account_cputime+0x1c/0x20 [ 2288.525486] [<ffffffff810a4e6d>] ? account_user_time+0x5d/0x80 [ 2288.525498] [<ffffffff811f739d>] do_vfs_ioctl+0x2cd/0x4b0 [ 2288.525514] [<ffffffff8116e92d>] ? context_tracking_exit+0x1d/0x30 [ 2288.525527] [<ffffffff8100366f>] ? enter_from_user_mode+0x1f/0x50 [ 2288.525536] [<ffffffff811f75f9>] SyS_ioctl+0x79/0x90 [ 2288.525549] [<ffffffff8116e9bd>] ? context_tracking_enter+0x1d/0x30 [ 2288.525560] [<ffffffff81768536>] entry_SYSCALL_64_fastpath+0x16/0x75 [ 2288.525568] ---[ end trace c62c69a291c8fe6c ]--- [ 2292.037049] [drm] stuck on render ring [ 2292.037063] [drm] stuck on bsd ring [ 2292.037069] [drm] stuck on blitter ring [ 2292.037074] [drm] stuck on video enhancement ring [ 2292.037462] [drm] GPU HANG: ecode 9:0:0xfffffffe, reason: Ring hung, action: reset [ 2292.037736] [drm:i915_context_is_banned [i915]] *ERROR* gpu hanging too fast, banning! [ 2292.040162] drm/i915: Resetting chip after gpu hang [ 2292.183784] kms_flip: executing [ 2294.037150] [drm] RC6 on [ 2298.037462] [drm] stuck on render ring [ 2298.037487] [drm] stuck on bsd ring [ 2298.037494] [drm] stuck on blitter ring [ 2298.037499] [drm] stuck on video enhancement ring [ 2298.037982] [drm] GPU HANG: ecode 9:0:0xfffffffe, reason: Ring hung, action: reset [ 2298.038269] [drm:i915_context_is_banned [i915]] *ERROR* gpu hanging too fast, banning! [ 2298.040783] drm/i915: Resetting chip after gpu hang [ 2298.045164] kms_flip: exiting, ret=0 Damien, Do we still need to track this? Not too sure if this still happens. Most of the code has changed since the initial report. I guess we can close it and reopen it if we see it happen in the wild. I might have run into the same problem, this is on an i7-6560U [ 2279.512874] ------------[ cut here ]------------ [ 2279.512970] WARNING: CPU: 2 PID: 0 at /build/linux-lts-vivid-GISjUd/linux-lts-vivid-3.19.0/ubuntu/i915/intel_display.c:11100 intel_check_page_flip+0x10d/0x120 [i915_bpo]() [ 2279.512975] Kicking stuck page flip: queued at 114493, now 114497 [ 2279.512978] Modules linked in: dell_wmi sparse_keymap ctr ccm nvram msr dm_crypt snd_hda_intel(OE) snd_hda_codec(OE) snd_hda_core(OE) snd_hwdep snd_pcm arc4 snd_seq_midi dell_laptop snd_seq_midi_event dcdbas x86_pkg_temp_thermal coretemp kvm_intel snd_rawmidi kvm snd_seq snd_seq_device crct10dif_pclmul snd_timer crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd hid_logitech_hidpp dm_multipath scsi_dh uvcvideo serio_raw videobuf2_vmalloc videobuf2_memops videobuf2_core hid_multitouch v4l2_common iwlmvm(OE) videodev i915_bpo mac80211(OE) media joydev snd rts_cr_host(OE) intel_ips rts_cr_core(OE) soundcore drm_kms_helper iwlwifi(OE) cfg80211(OE) shpchp drm i2c_algo_bit i2c_hid int3403_thermal acpi_pad int3400_thermal intel_hid(OE) acpi_thermal_rel mac_hid cmac parport_pc ppdev lp parport rfcomm(OE) bnep(OE) nls_iso8859_1 btrfs xor raid6_pq dm_mirror dm_region_hash dm_log btusb(OE) btintel(OE) bluetooth(OE) compat(OE) hid_logitech_dj hid_generic usbhid hid psmouse ahci nvme libahci wmi video [ 2279.513112] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G OE 3.19.0-58-generic #64~14.04.1-Ubuntu [ 2279.513116] Hardware name: Dell Inc. XPS 13 9350/09JHRY, BIOS 1.3.3 03/01/2016 [ 2279.513120] 0000000000000000 ffff88047ed03d48 ffffffff817b6c3d ffff88047ed03d98 [ 2279.513128] ffffffffc0ae58f8 ffff88047ed03d88 ffffffff81075f3a 0000000000000096 [ 2279.513134] ffff88046a1ba800 ffff88046abfb000 ffff88046a1ba9a8 0000000000000000 [ 2279.513141] Call Trace: [ 2279.513144] <IRQ> [<ffffffff817b6c3d>] dump_stack+0x63/0x81 [ 2279.513170] [<ffffffff81075f3a>] warn_slowpath_common+0x8a/0xc0 [ 2279.513177] [<ffffffff81075fb6>] warn_slowpath_fmt+0x46/0x50 [ 2279.513240] [<ffffffffc0a8b76d>] intel_check_page_flip+0x10d/0x120 [i915_bpo] [ 2279.513296] [<ffffffffc0a5300e>] gen8_irq_handler+0x38e/0x5a0 [i915_bpo] [ 2279.513307] [<ffffffff810cdbee>] handle_irq_event_percpu+0x4e/0x1f0 [ 2279.513315] [<ffffffff810cddd1>] handle_irq_event+0x41/0x70 [ 2279.513324] [<ffffffff810d0d7f>] handle_edge_irq+0x7f/0x120 [ 2279.513331] [<ffffffff810186c2>] handle_irq+0x22/0x40 [ 2279.513339] [<ffffffff817c1721>] do_IRQ+0x51/0xf0 [ 2279.513349] [<ffffffff817bf52d>] common_interrupt+0x6d/0x6d [ 2279.513351] <EOI> [<ffffffff81656390>] ? cpuidle_enter_state+0x70/0x1b0 [ 2279.513369] [<ffffffff8165637d>] ? cpuidle_enter_state+0x5d/0x1b0 [ 2279.513377] [<ffffffff81656587>] cpuidle_enter+0x17/0x20 [ 2279.513385] [<ffffffff810b6cc4>] cpu_startup_entry+0x364/0x400 [ 2279.513394] [<ffffffff810ebd13>] ? clockevents_register_device+0xe3/0x140 [ 2279.513402] [<ffffffff81049f67>] start_secondary+0x197/0x1c0 [ 2279.513408] ---[ end trace b584ff1afc60e56e ]--- (In reply to Hector Yuen from comment #6) > I might have run into the same problem, this is on an i7-6560U > > [ 2279.512874] ------------[ cut here ]------------ > [ 2279.512970] WARNING: CPU: 2 PID: 0 at > /build/linux-lts-vivid-GISjUd/linux-lts-vivid-3.19.0/ubuntu/i915/ > intel_display.c:11100 intel_check_page_flip+0x10d/0x120 [i915_bpo]() You've run into the problem on a non-upstream driver, and an old one at that. Closing again. Please reopen if the problem persists with recent upstream kernels. |
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.