You are not logged in.

#1 2024-04-08 22:32:56

_Griggs
Member
Registered: 2024-04-08
Posts: 1

Flickering black screen w/ Picom on Intel i915

This morning I've started experiencing a frustrating graphical issue when using Picom with the glx back end.

Here's an Imgur link with some pictures.

The entire screen goes black aside from one horizontal bar spanning the full width of the screen. It always happens in firefox but doesn't seem to happen with other applications. It most often happens when typing something into a search bar or URL bar. Youtube videos / previews also seem to trigger it.

The computer does not lock up. Moving the mouse fixes it. It flickers on and off as I continue to type.

I suspected Picom might be to blame so I disabled Picom and the issue went away. Swapping from glx back end to xrender seems to also stop the issue. I'd like to know why this is happening, though. I tried enabling each of my individual Picom settings one-by-one but no specific setting seemed to make a difference. Only the glx back end setting mattered.

dmesg revealed:

[ 1568.813587] ------------[ cut here ]------------
[ 1568.813592] i915 0000:00:02.0: drm_WARN_ON(new_crtc_state->do_async_flip && !plane->async_flip)
[ 1568.813677] WARNING: CPU: 2 PID: 539 at drivers/gpu/drm/i915/display/intel_display.c:6015 intel_atomic_check+0x274e/0x2d40 [i915]
[ 1568.814047] Modules linked in: uinput snd_seq_dummy rfcomm snd_hrtimer snd_seq snd_seq_device ccm cmac algif_hash algif_skcipher af_alg typec_displayport snd_hda_codec_hdmi intel_uncore_frequency intel_uncore_frequency_common snd_sof_pci_intel_tgl snd_sof_intel_hda_common hid_sensor_als hid_sensor_trigger soundwire_intel industrialio_triggered_buffer kfifo_buf hid_sensor_iio_common snd_sof_intel_hda_mlink x86_pkg_temp_thermal soundwire_cadence industrialio intel_powerclamp snd_sof_intel_hda snd_sof_pci coretemp joydev mousedev hid_multitouch snd_sof_xtensa_dsp hid_sensor_hub snd_sof kvm_intel bnep snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core kvm snd_soc_acpi_intel_match snd_soc_acpi soundwire_generic_allocation irqbypass soundwire_bus crct10dif_pclmul btusb crc32_pclmul snd_soc_core snd_ctl_led btrtl polyval_clmulni iwlmvm snd_compress btintel polyval_generic snd_hda_codec_realtek ac97_bus btbcm gf128mul intel_ishtp_hid snd_hda_codec_generic snd_pcm_dmaengine btmtk ghash_clmulni_intel mac80211 sha512_ssse3
[ 1568.814125]  snd_hda_intel sha256_ssse3 snd_intel_dspcfg bluetooth sha1_ssse3 snd_intel_sdw_acpi aesni_intel snd_hda_codec processor_thermal_device_pci_legacy libarc4 iTCO_wdt crypto_simd snd_hda_core ptp dell_laptop intel_pmc_bxt processor_thermal_device cryptd mei_hdcp mei_pxp intel_rapl_msr iTCO_vendor_support pps_core hid_generic ecdh_generic rapl processor_thermal_wt_hint snd_hwdep dell_wmi intel_cstate processor_thermal_rfim iwlwifi snd_pcm dell_smbios intel_uncore processor_thermal_rapl spi_nor pcspkr mei_me dell_wmi_sysman snd_timer intel_rapl_common dcdbas psmouse dell_smm_hwmon ucsi_acpi cfg80211 dell_wmi_ddv firmware_attributes_class mtd ledtrig_audio snd wmi_bmof processor_thermal_wt_req dell_wmi_descriptor typec_ucsi i2c_i801 intel_lpss_pci soundcore mei processor_thermal_power_floor intel_ish_ipc processor_thermal_mbox typec vfat i2c_hid_acpi i2c_smbus intel_lpss intel_skl_int3472_tps68470 idma64 thunderbolt usbhid rfkill intel_ishtp fat roles igen6_edac intel_soc_dts_iosf i2c_hid tps68470_regulator
[ 1568.814208]  intel_pmc_core int3403_thermal clk_tps68470 int340x_thermal_zone intel_skl_int3472_discrete intel_hid intel_vsec int3400_thermal sparse_keymap pmt_telemetry acpi_thermal_rel pmt_class pinctrl_tigerlake acpi_tad acpi_pad mac_hid crypto_user loop dm_mod fuse nfnetlink ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 xe drm_ttm_helper gpu_sched drm_suballoc_helper drm_gpuvm drm_exec i915 rtsx_pci_sdmmc serio_raw mmc_core i2c_algo_bit atkbd drm_buddy libps2 vivaldi_fmap ttm crc32c_intel intel_gtt nvme video spi_intel_pci rtsx_pci drm_display_helper nvme_core xhci_pci spi_intel i8042 xhci_pci_renesas cec nvme_auth wmi serio
[ 1568.814273] CPU: 2 PID: 539 Comm: Xorg Tainted: G        W          6.8.4-arch1-1 #1 7ea0d8fced45b5f098eb034690645970f116c34c
[ 1568.814280] Hardware name: Dell Inc. XPS 13 9310/0M9FFY, BIOS 3.21.0 02/01/2024
[ 1568.814282] RIP: 0010:intel_atomic_check+0x274e/0x2d40 [i915]
[ 1568.814639] Code: 48 8b 5f 50 48 85 db 75 03 48 8b 1f e8 1b b5 8c d7 48 c7 c1 a0 bc aa c0 48 89 da 48 c7 c7 1f 88 ad c0 48 89 c6 e8 52 d7 03 d7 <0f> 0b e9 1f fe ff ff 4d 8b 4c 24 20 45 8b 44 24 60 48 89 fe 48 85
[ 1568.814642] RSP: 0018:ffffaaebc152bb78 EFLAGS: 00010286
[ 1568.814647] RAX: 0000000000000000 RBX: ffff9872424e8400 RCX: 0000000000000027
[ 1568.814650] RDX: ffff9875bf6a19c8 RSI: 0000000000000001 RDI: ffff9875bf6a19c0
[ 1568.814653] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffaaebc152ba08
[ 1568.814655] R10: ffffaaebc152ba00 R11: 0000000000000003 R12: ffff9872414f5000
[ 1568.814657] R13: ffff987253db9000 R14: 0000000000000000 R15: 0000000000000000
[ 1568.814660] FS:  00007de414c739c0(0000) GS:ffff9875bf680000(0000) knlGS:0000000000000000
[ 1568.814664] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1568.814667] CR2: 00006291f885eeb0 CR3: 0000000109282005 CR4: 0000000000f70ef0
[ 1568.814670] PKRU: 55555554
[ 1568.814672] Call Trace:
[ 1568.814676]  <TASK>
[ 1568.814678]  ? intel_atomic_check+0x274e/0x2d40 [i915 6c1d67104ec2a6c321362e14a50690b21283d222]
[ 1568.814984]  ? __warn+0x81/0x130
[ 1568.814994]  ? intel_atomic_check+0x274e/0x2d40 [i915 6c1d67104ec2a6c321362e14a50690b21283d222]
[ 1568.815297]  ? report_bug+0x171/0x1a0
[ 1568.815306]  ? prb_read_valid+0x1b/0x30
[ 1568.815314]  ? handle_bug+0x3c/0x80
[ 1568.815321]  ? exc_invalid_op+0x17/0x70
[ 1568.815327]  ? asm_exc_invalid_op+0x1a/0x20
[ 1568.815334]  ? intel_atomic_check+0x274e/0x2d40 [i915 6c1d67104ec2a6c321362e14a50690b21283d222]
[ 1568.815632]  ? intel_atomic_check+0x274e/0x2d40 [i915 6c1d67104ec2a6c321362e14a50690b21283d222]
[ 1568.815927]  drm_atomic_check_only+0x5c2/0xa40
[ 1568.815936]  drm_atomic_nonblocking_commit+0x17/0x70
[ 1568.815941]  drm_atomic_helper_page_flip+0x63/0xd0
[ 1568.815948]  drm_mode_page_flip_ioctl+0x5bc/0x680
[ 1568.815955]  ? __pfx_drm_mode_page_flip_ioctl+0x10/0x10
[ 1568.815960]  drm_ioctl_kernel+0xb2/0x110
[ 1568.815965]  drm_ioctl+0x26d/0x4b0
[ 1568.815969]  ? __pfx_drm_mode_page_flip_ioctl+0x10/0x10
[ 1568.815976]  __x64_sys_ioctl+0x94/0xd0
[ 1568.815985]  do_syscall_64+0x86/0x170
[ 1568.815990]  ? do_syscall_64+0x96/0x170
[ 1568.815994]  ? do_syscall_64+0x96/0x170
[ 1568.815999]  entry_SYSCALL_64_after_hwframe+0x73/0x7b
[ 1568.816004] RIP: 0033:0x7de4156664ff
[ 1568.816055] 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
[ 1568.816058] RSP: 002b:00007ffde408a3c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1568.816063] RAX: ffffffffffffffda RBX: 00006055fdf384f0 RCX: 00007de4156664ff
[ 1568.816066] RDX: 00007ffde408a450 RSI: 00000000c01864b0 RDI: 000000000000000d
[ 1568.816069] RBP: 00007ffde408a450 R08: 0000000000002f37 R09: 0000000000000003
[ 1568.816071] R10: 00006055fde02010 R11: 0000000000000246 R12: 00000000c01864b0
[ 1568.816073] R13: 000000000000000d R14: 000000000000016b R15: 00006055fde41d20
[ 1568.816078]  </TASK>
[ 1568.816080] ---[ end trace 0000000000000000 ]---

There are a bunch just like this. They show up after I've triggered the graphical issue.

My Xorg log is full of these lines:

[  1565.134] (WW) modeset(0): Present-flip: queue async flip during flip on CRTC 0 failed: Invalid argument

My dwm log has this:

(process:8775): GLib-CRITICAL **: 17:59:54.234: g_string_insert_len: assertion 'len == 0 || val != NULL' failed

Stuff I've tried:

As stated, disabling Picom makes the issue go away, as does switching to the xrender back end.

I'm on an up to date kernel: 6.8.4-arch1-1.

I've tried downgrading to the past few 6.8 kernel releases from my cache. I tried each one until I got to 6.7 and still had the problem. I also tried the latest LTS kernel and still had the problem.

I've googled the warning from dmesg and I can find issues that are kind of similar but they're all from multiple years ago and none of them match my issue exactly and I could not find a fix or solution.

Obviously I can just disable Picom for the time being or deal with the xrender back end but I'm curious what could have caused this issue to pop up for me since nothing about my setup has really changed over the past few days. I'd also like to report this as a bug somewhere, assuming it's not something I've screwed up somehow, but I'm not sure if this would fall on Picom or on the Intel i915 CPU driver or my WM or something else entirely.

Any help or links to more information would be greatly appreciated.

Offline

Board footer

Powered by FluxBB