Skip to main content
3 of 6
edited tags
Evan Carroll
  • 35.1k
  • 62
  • 213
  • 361

Error i915: drm_WARN_ON(new_crtc_state->do_async_flip && !plane->async_flip)

I'm getting this kernel error now all the time, is there anything that can be done to mitigate it. Seems like it's a i915 driver problem. Not sure what if any actual problems it's causing.

i915 0000:00:02.0: drm_WARN_ON(new_crtc_state->do_async_flip && !plane->async_flip)
WARNING: CPU: 4 PID: 1656 at drivers/gpu/drm/i915/display/intel_display.c:7507 intel_atomic_check+0x30cd/0x3210 [i915]
Modules linked in: snd_usb_audio snd_usbmidi_lib usbhid snd_rawmidi tun hid_logitech_hidpp uhid veth nf_conntrack_netlink xt_nat xt_tcpudp ip_vs_sh ip_vs_wrr ip_vs_rr ip_vs nft_chain_nat xt_MASQUERADE vxlan ip6_udp_tunnel udp_tunnel nft_log nft_limit ipt_REJECT nf_reject_ipv4 xt_limit xt_NFLOG nfnetlink_log xt_physdev xt_conntrack xt_mark xt_multiport xt_addrtype xt_comment nft_compat nf_tables ip_set nfnetlink iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c br_netfilter bridge stp llc ctr ccm cmac algif_hash algif_skcipher af_alg snd_seq_dummy snd_hrtimer snd_seq snd_seq_device overlay qrtr bnep snd_ctl_led binfmt_misc nls_ascii nls_cp437 snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common vfat snd_soc_hdac_hdmi snd_sof_probes fat snd_hda_codec_hdmi snd_soc_dmic snd_hda_codec_realtek mei_hdcp snd_hda_codec_generic intel_rapl_msr snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence
 snd_sof_intel_hda x86_pkg_temp_thermal snd_sof_pci intel_powerclamp snd_sof_xtensa_dsp coretemp snd_sof snd_sof_utils snd_soc_hdac_hda btusb kvm_intel btrtl snd_hda_ext_core btbcm snd_soc_acpi_intel_match snd_soc_acpi btintel snd_soc_core btmtk kvm snd_compress snd_intel_dspcfg irqbypass iwlmvm bluetooth snd_intel_sdw_acpi snd_hda_codec intel_cstate snd_hda_core snd_hwdep mac80211 intel_uncore soundwire_bus pcspkr libarc4 efi_pstore serio_raw snd_pcm wmi_bmof iTCO_wdt intel_pmc_bxt iwlwifi iTCO_vendor_support snd_timer watchdog uvcvideo jitterentropy_rng videobuf2_vmalloc videobuf2_memops sha512_ssse3 videobuf2_v4l2 sha512_generic processor_thermal_device_pci_legacy videobuf2_common processor_thermal_device drbg ucsi_acpi cfg80211 ansi_cprng processor_thermal_rfim typec_ucsi processor_thermal_mbox mei_me processor_thermal_rapl roles ecdh_generic intel_rapl_common mei ecc typec intel_soc_dts_iosf thinkpad_acpi nvram platform_profile ledtrig_audio snd soundcore rfkill
 int3403_thermal soc_button_array ac int340x_thermal_zone evdev intel_hid int3400_thermal sparse_keymap intel_pmc_core acpi_thermal_rel acpi_pad acpi_tad v4l2loopback(OE) videodev mc msr parport_pc ppdev lp parport fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic dm_crypt dm_mod hid_sensor_custom hid_sensor_hub hid_generic intel_ishtp_hid hid i915 drm_buddy crc32_pclmul i2c_algo_bit crc32c_intel drm_dp_helper nvme xhci_pci cec nvme_core ghash_clmulni_intel rc_core xhci_hcd t10_pi crc64_rocksoft_generic ttm usbcore drm_kms_helper crc64_rocksoft crc_t10dif i2c_i801 crct10dif_generic aesni_intel intel_ish_ipc crct10dif_pclmul crc64 crypto_simd cryptd thunderbolt psmouse drm i2c_smbus usb_common intel_ishtp crct10dif_common wmi button battery video
CPU: 4 PID: 1656 Comm: Xorg Tainted: G        W  OE     5.18.0-3-amd64 #1  Debian 5.18.14-1
Hardware name: LENOVO 20XW003GUS/20XW003GUS, BIOS N32ET76W (1.52 ) 04/08/2022
RIP: 0010:intel_atomic_check+0x30cd/0x3210 [i915]
Code: 4c 8b 67 50 4d 85 e4 75 03 4c 8b 27 e8 cc 1b 23 e9 48 c7 c1 a8 60 b8 c0 4c 89 e2 48 c7 c7 3d bb ba c0 48 89 c6 e8 0d ac 4e e9 <0f> 0b c7 45 a0 ea ff ff ff 4c 8b 53 08 e9 e7 d6 ff ff 4c 89 d7 4d
RSP: 0018:ffffa7ce41bcfbb8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff8fabe39ae000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffffaa75c45d RDI: 00000000ffffffff
RBP: ffffa7ce41bcfc60 R08: 0000000000000000 R09: 00000001008d6826
R10: ffffa7ce41bcf9e0 R11: ffffffffaaec58d0 R12: ffff8fab01b4bdc0
R13: ffffffffc0427570 R14: 0100000000000001 R15: 0000000000000000
FS:  00007f84a1ded400(0000) GS:ffff8fae5f500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4d50010750 CR3: 000000012661e004 CR4: 0000000000770ee0
PKRU: 55555554
Call Trace:
 <TASK>
 drm_atomic_check_only+0x5b1/0xa20 [drm]
 drm_atomic_nonblocking_commit+0x13/0x60 [drm]
 drm_atomic_helper_page_flip+0x60/0xd0 [drm_kms_helper]
 drm_mode_page_flip_ioctl+0x573/0x5d0 [drm]
 ? drm_mode_cursor2_ioctl+0x10/0x10 [drm]
 drm_ioctl_kernel+0xb2/0x140 [drm]
 drm_ioctl+0x224/0x3e0 [drm]
 ? drm_mode_cursor2_ioctl+0x10/0x10 [drm]
 __x64_sys_ioctl+0x87/0xc0
 do_syscall_64+0x38/0xc0
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f84a21171e7
Code: 3c 1c e8 1c ff ff ff 85 c0 79 87 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 39 dc 0d 00 f7 d8 64 89 01 48
RSP: 002b:00007ffe14491828 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000055aaeabe82f0 RCX: 00007f84a21171e7
RDX: 00007ffe14491860 RSI: 00000000c01864b0 RDI: 000000000000000d
RBP: 00007ffe14491860 R08: 00000000000fe300 R09: 0000000000000003
R10: 0000000000000013 R11: 0000000000000246 R12: 00000000c01864b0
R13: 000000000000000d R14: 000055aaeabe88f0 R15: 00000000000fe300
 </TASK>
---[ end trace 0000000000000000 ]---

This is from version 20210818-1 of firmware-misc-nonfree from Debian 11 - Bookworm

❯ modinfo i915
filename:       /lib/modules/5.18.0-3-amd64/kernel/drivers/gpu/drm/i915/i915.ko
license:        GPL and additional rights
description:    Intel Graphics
author:         Intel Corporation
author:         Tungsten Graphics, Inc.
...
Evan Carroll
  • 35.1k
  • 62
  • 213
  • 361