Sample Header Ad - 728x90

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

0 votes
1 answer
742 views
I'm getting this kernel error on 5.19 **and 6.0** **and 6.1** all the time, is there anything that can be done to mitigate it. Seems like it's a i915 driver problem. The screen frequently goes black.
------------[ cut here ]------------
i915 0000:00:02.0: drm_WARN_ON(new_crtc_state->do_async_flip && !plane->async_flip)
WARNING: CPU: 4 PID: 1565 at drivers/gpu/drm/i915/display/intel_display.c:7505 intel_atomic_check+0x2947/0x2fe0 [i915]
Modules linked in: tun snd_usb_audio snd_usbmidi_lib usbhid snd_rawmidi 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 snd_soc_skl_hda_dsp binfmt_misc snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_sof_probes nls_ascii nls_cp437 vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek snd_soc_dmic snd_hda_codec_generic mei_hdcp intel_rapl_msr snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence
 x86_pkg_temp_thermal snd_sof_intel_hda intel_powerclamp snd_sof_pci coretemp snd_sof_xtensa_dsp snd_sof kvm_intel snd_sof_utils snd_soc_hdac_hda btusb snd_hda_ext_core btrtl snd_soc_acpi_intel_match snd_soc_acpi kvm btbcm iwlmvm snd_soc_core btintel btmtk irqbypass snd_compress snd_intel_dspcfg snd_intel_sdw_acpi intel_cstate bluetooth mac80211 snd_hda_codec intel_uncore snd_hda_core iTCO_wdt snd_hwdep intel_pmc_bxt libarc4 serio_raw pcspkr efi_pstore soundwire_bus jitterentropy_rng iTCO_vendor_support mei_me wmi_bmof iwlwifi snd_pcm watchdog sha512_ssse3 mei sha512_generic snd_timer uvcvideo drbg ansi_cprng videobuf2_vmalloc videobuf2_memops ucsi_acpi processor_thermal_device_pci_legacy cfg80211 videobuf2_v4l2 typec_ucsi processor_thermal_device ecdh_generic processor_thermal_rfim videobuf2_common ecc roles processor_thermal_mbox processor_thermal_rapl typec intel_rapl_common intel_soc_dts_iosf thinkpad_acpi nvram platform_profile ledtrig_audio snd soundcore rfkill
 int3403_thermal soc_button_array int340x_thermal_zone ac evdev int3400_thermal intel_pmc_core acpi_tad acpi_thermal_rel intel_hid acpi_pad sparse_keymap 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_display_helper ghash_clmulni_intel cec nvme rc_core nvme_core ttm t10_pi xhci_pci drm_kms_helper crc64_rocksoft_generic crc64_rocksoft crc_t10dif xhci_hcd crct10dif_generic aesni_intel i2c_i801 intel_ish_ipc crct10dif_pclmul crc64 crypto_simd usbcore drm psmouse thunderbolt cryptd i2c_smbus intel_ishtp usb_common crct10dif_common wmi button battery video
CPU: 4 PID: 1565 Comm: Xorg Tainted: G        W  OE     5.19.0-2-amd64 #1  Debian 5.19.11-1
Hardware name: LENOVO 20XW003GUS/20XW003GUS, BIOS N32ET80W (1.56 ) 08/29/2022
RIP: 0010:intel_atomic_check+0x2947/0x2fe0 [i915]
Code: 4c 8b 67 50 4d 85 e4 75 03 4c 8b 27 e8 42 e6 e5 cd 48 c7 c1 80 c1 b4 c0 4c 89 e2 48 c7 c7 0b c6 b6 c0 48 89 c6 e8 5d d4 11 ce  0b c7 45 a0 ea ff ff ff e9 9e de ff ff 49 8b 47 08 48 8b 88 90
RSP: 0018:ffffa8e5c1d6fbb8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff8f36ee29 RDI: 00000000ffffffff
RBP: ffffa8e5c1d6fc60 R08: 0000000000000000 R09: 0000000100bda3eb
R10: ffffa8e5c1d6fa58 R11: ffffffff8fabfd28 R12: ffff9c48c1b433d0
R13: ffffffffc0400ed0 R14: 0000000000000000 R15: ffff9c49a42f1800
FS:  00007fd13281fa80(0000) GS:ffff9c4c0f700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000022a80162a000 CR3: 0000000128634004 CR4: 0000000000770ee0
PKRU: 55555554
Call Trace:
 
 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+0x63/0xcd
RIP: 0033:0x7fd1322ffe9b
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 c0 3d 00 f0 ff ff 77 1b 48 8b 44 24 18 64 48 2b 04 25 28 00
RSP: 002b:00007ffc0b2255b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000559f70456b50 RCX: 00007fd1322ffe9b
RDX: 00007ffc0b225640 RSI: 00000000c01864b0 RDI: 000000000000000d
RBP: 00007ffc0b225640 R08: 000000000019c78d R09: 0000559f7041f010
R10: 0000000000000003 R11: 0000000000000246 R12: 00000000c01864b0
R13: 000000000000000d R14: 0000559f70458630 R15: 000000000019c78d
 
---[ end trace 0000000000000000 ]---
This is from version [20210818-1 of firmware-misc-nonfree from Debian 11 - Bookworm](https://packages.debian.org/bookworm/firmware-misc-nonfree)
❯ modinfo i915
filename:       /lib/modules/5.19.0-2-amd64/kernel/drivers/gpu/drm/i915/i915.ko
license:        GPL and additional rights
description:    Intel Graphics
author:         Intel Corporation
author:         Tungsten Graphics, Inc.
import_ns:      DMA_BUF
Asked by Evan Carroll (34663 rep)
Aug 17, 2022, 06:24 PM
Last activity: Apr 18, 2023, 07:04 PM