The display becomes frozen with error: [drm] *ERROR* [CRTC:131:pipe B] flip_done timed out on [Iris Xe Graphics]
I have a Dell Inspiron 14 5430 laptop equipped with Intel i7-1360P. If I use the extended HDMI display, the UI will become frozen after use the system awhile.
I can get into the system from another machine via ssh. And, here are the error messages:
kernel: i915 0000:00:02.0: [drm] *ERROR* [CRTC:131:pipe B] flip_done timed out
kernel: i915 0000:00:02.0: [drm] *ERROR* flip_done timed out
kernel: i915 0000:00:02.0: [drm] *ERROR* [CRTC:131:pipe B] commit wait timed out
...
kernel: i915 0000:00:02.0: [drm] *ERROR* flip_done timed out
kernel: i915 0000:00:02.0: [drm] *ERROR* [PLANE:82:plane 1B] commit wait timed out
...
kernel: ------------[ cut here ]------------
kernel: i915 0000:00:02.0: vblank wait timed out on crtc 1
kernel: WARNING: CPU: 6 PID: 463 at drivers/gpu/drm/drm_vblank.c:1269 drm_wait_one_vblank+0x1f7/0x210
kernel: Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device ccm snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_sof_probes snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_dmic snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation hid_sensor_custom soundwire_cadence snd_sof_intel_hda hid_sensor_hub snd_sof_pci intel_ishtp_hid snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match joydev snd_soc_acpi soundwire_bus iwlmvm snd_soc_core intel_tcc_cooling snd_compress x86_pkg_temp_thermal ac97_bus intel_powerclamp mac80211 snd_pcm_dmaengine ip6table_filter snd_hda_intel coretemp ip6_tables snd_intel_dspcfg libarc4 kvm_intel snd_intel_sdw_acpi dell_laptop snd_hda_codec kvm xt_tcpudp snd_hda_core irqbypass xt_conntrack uvcvideo nf_conntrack crct10dif_pclmul crc32_pclmul polyval_clmulni snd_hwdep polyval_generic btusb nf_defrag_ipv6 iTCO_wdt gf128mul hid_multitouch
kernel: videobuf2_vmalloc btrtl nf_defrag_ipv4 r8153_ecm snd_pcm iwlwifi intel_pmc_bxt processor_thermal_device_pci dell_wmi ghash_clmulni_intel uvc cdc_ether btbcm iTCO_vendor_support mei_pxp mei_hdcp intel_rapl_msr libcrc32c processor_thermal_device dell_smbios usbnet videobuf2_memops btintel processor_thermal_rfim dcdbas sha512_ssse3 aesni_intel crypto_simd cryptd rapl dell_wmi_sysman intel_cstate btmtk snd_timer spi_nor iptable_filter processor_thermal_mbox videobuf2_v4l2 intel_uncore ledtrig_audio ucsi_acpi dell_wmi_descriptor psmouse pcspkr dell_wmi_ddv firmware_attributes_class wmi_bmof bluetooth cfg80211 typec_ucsi snd processor_thermal_rapl i2c_i801 ecdh_generic intel_lpss_pci videodev typec r8152 intel_rapl_common intel_lpss int3403_thermal mei_me videobuf2_common intel_ish_ipc intel_hid int3400_thermal i2c_hid_acpi mtd mc thunderbolt mei idma64 soundcore mii intel_ishtp roles i2c_smbus rfkill int340x_thermal_zone i2c_hid mousedev sparse_keymap acpi_tad acpi_thermal_rel acpi_pad vfat fat mac_hid
kernel: crypto_user fuse dm_mod loop bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid nvme nvme_core nvme_common i915 serio_raw atkbd libps2 i2c_algo_bit vivaldi_fmap drm_buddy intel_gtt drm_display_helper crc32c_intel video cec spi_intel_pci xhci_pci i8042 spi_intel ttm xhci_pci_renesas vmd serio wmi
kernel: CPU: 6 PID: 463 Comm: Xorg Not tainted 6.3.8-arch1-1 #1 a1d299e746aebdb27c523dd3bd94aba6f54915c7
kernel: Hardware name: Dell Inc. Inspiron 14 5430/065RWX, BIOS 1.1.0 01/05/2023
kernel: RIP: 0010:drm_wait_one_vblank+0x1f7/0x210
kernel: Code: 9d fe ff ff 48 8b 7b 08 4c 8b 67 50 4d 85 e4 74 25 e8 2d 2f 02 00 89 e9 4c 89 e2 48 c7 c7 d8 1e a9 a7 48 89 c6 e8 59 91 7e ff <0f> 0b e9 70 fe ff ff 48 8b 1f eb 9a 4c 8b 27 eb d6 e8 03 93 48 00
kernel: RSP: 0018:ffffb5818111b7f8 EFLAGS: 00010282
kernel: RAX: 0000000000000000 RBX: ffff9e4e8b6e8000 RCX: 0000000000000027
kernel: RDX: ffff9e51fe3a1688 RSI: 0000000000000001 RDI: ffff9e51fe3a1680
kernel: RBP: 0000000000000001 R08: ffffffffa8c9d9e0 R09: 0000000000ffff0a
kernel: R10: 0000000000000000 R11: ffff9e520f365c38 R12: ffff9e4e82c50420
kernel: R13: 00000000000199a0 R14: ffff9e4e82b41160 R15: 0000000010000000
kernel: FS: 00007fe8dd8b8480(0000) GS:ffff9e51fe380000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 000027300e978200 CR3: 0000000121010000 CR4: 0000000000f50ee0
kernel: PKRU: 55555554
kernel: Call Trace:
kernel: <TASK>
kernel: ? drm_wait_one_vblank+0x1f7/0x210
kernel: ? __warn+0x81/0x130
kernel: ? drm_wait_one_vblank+0x1f7/0x210
kernel: ? report_bug+0x171/0x1a0
kernel: ? handle_bug+0x3c/0x80
kernel: ? exc_invalid_op+0x17/0x70
kernel: ? asm_exc_invalid_op+0x1a/0x20
kernel: ? drm_wait_one_vblank+0x1f7/0x210
kernel: ? drm_wait_one_vblank+0x1f7/0x210
kernel: ? __pfx_autoremove_wake_function+0x10/0x10
kernel: hsw_audio_codec_disable+0xe5/0x150 [i915 00d77f09579f10aa0c84571741affad2d4dacb42]
kernel: intel_audio_codec_disable+0xa8/0x170 [i915 00d77f09579f10aa0c84571741affad2d4dacb42]
kernel: intel_disable_ddi+0x59/0x1e0 [i915 00d77f09579f10aa0c84571741affad2d4dacb42]
kernel: ? drm_mm_remove_node+0x206/0x370
kernel: intel_encoders_disable+0x8a/0xb0 [i915 00d77f09579f10aa0c84571741affad2d4dacb42]
kernel: hsw_crtc_disable+0x129/0x140 [i915 00d77f09579f10aa0c84571741affad2d4dacb42]
kernel: intel_atomic_commit_tail+0x3f8/0xfa0 [i915 00d77f09579f10aa0c84571741affad2d4dacb42]
kernel: intel_atomic_commit+0x340/0x380 [i915 00d77f09579f10aa0c84571741affad2d4dacb42]
kernel: drm_atomic_commit+0x97/0xd0
kernel: ? __pfx___drm_printfn_info+0x10/0x10
kernel: drm_client_modeset_commit_atomic+0x203/0x250
kernel: drm_client_modeset_commit_locked+0x5a/0x160
kernel: drm_fb_helper_pan_display+0xc9/0x1f0
kernel: intel_fbdev_pan_display+0x1a/0x60 [i915 00d77f09579f10aa0c84571741affad2d4dacb42]
kernel: fb_pan_display+0x83/0x140
kernel: bit_update_start+0x1e/0x40
kernel: fbcon_switch+0x386/0x560
kernel: redraw_screen+0xfb/0x280
kernel: ? balance_dirty_pages_ratelimited_flags+0x133/0x390
kernel: complete_change_console+0x3a/0x120
kernel: vt_ioctl+0xd8b/0x13f0
kernel: ? drm_dropmaster_ioctl+0xd9/0x130
kernel: ? __pfx_drm_dropmaster_ioctl+0x10/0x10
kernel: ? drm_ioctl_kernel+0xca/0x170
kernel: ? do_epoll_ctl+0x1c1/0xf60
kernel: ? _copy_to_user+0x25/0x30
kernel: tty_ioctl+0x4d8/0x8a0
kernel: __x64_sys_ioctl+0x91/0xd0
kernel: do_syscall_64+0x5d/0x90
kernel: ? syscall_exit_to_user_mode+0x1b/0x40
kernel: ? do_syscall_64+0x6c/0x90
kernel: ? do_syscall_64+0x6c/0x90
kernel: ? do_syscall_64+0x6c/0x90
kernel: entry_SYSCALL_64_after_hwframe+0x72/0xdc
kernel: RIP: 0033:0x7fe8de29476f
kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
kernel: RSP: 002b:00007ffdaaa4cf60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
kernel: RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe8de29476f
kernel: RDX: 0000000000000001 RSI: 0000000000005605 RDI: 000000000000000e
kernel: RBP: 000055b35f36ce40 R08: 0000000000000001 R09: 0000000000000000
kernel: R10: 00007fe8de3b30c0 R11: 0000000000000246 R12: ffffffffffffffe0
kernel: R13: 0000000000000008 R14: 0000000000000000 R15: 0000000000000000
kernel: </TASK>
kernel: ---[ end trace 0000000000000000 ]---
Here is the full log with drm.debug=0xe log_buf_len=4M
in boot command.
journal.log
The Linux kernel is 6.3.8.
$ uname -a
Linux starnight 6.3.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 14 Jun 2023 20:10:31 +0000 x86_64 GNU/Linux
This issue cannot be reproduced by only using laptop's built-in display.
Edited by Jian-Hong Pan