Bug 2162175

Summary: [abrt] intel_atomic_commit_tail: WARNING: CPU: 1 PID: 96411 at drivers/gpu/drm/i915/display/intel_modeset_verify.c:219 intel_modeset_verify_crtc+0x374/0x3b0 [i915] [i915]
Product: [Fedora] Fedora Reporter: Tony Breeds <tony>
Component: xorg-x11-drv-intelAssignee: Adam Jackson <ajax>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: ajax, andriyrosa, jcall, jglisse, kernel-maint, ofourdan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ce020814224b1a0332d634f051f502909e0b984d
Whiteboard: abrt_hash:ccabba126dc23b6cd7de258d132af791787089e4;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: dmesg none

Description Tony Breeds 2023-01-19 03:04:57 UTC
Additional info:
reporter:       libreport-2.17.4
WARNING: CPU: 1 PID: 96411 at drivers/gpu/drm/i915/display/intel_modeset_verify.c:219 intel_modeset_verify_crtc+0x374/0x3b0 [i915]
Modules linked in: tun hid_logitech_hidpp snd_usb_audio hid_logitech_dj snd_usbmidi_lib snd_rawmidi r8153_ecm cdc_ether usbnet r8152 mii uinput vsock_loopback vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport vsock vmw_vmci tls rfcomm snd_seq_dummy snd_hrtimer nft_objref nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables nfnetlink qrtr bnep sunrpc dm_crypt 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 soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof vfat fat snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi
 soundwire_bus snd_soc_core intel_tcc_cooling x86_pkg_temp_thermal snd_compress intel_powerclamp iTCO_wdt ac97_bus snd_pcm_dmaengine coretemp intel_pmc_bxt mei_hdcp mei_wdt mei_pxp iTCO_vendor_support snd_hda_intel iwlmvm kvm_intel snd_intel_dspcfg intel_rapl_msr pmt_telemetry snd_intel_sdw_acpi pmt_class snd_hda_codec kvm snd_hda_core mac80211 snd_hwdep snd_seq irqbypass snd_seq_device intel_cstate libarc4 intel_uncore snd_pcm pcspkr think_lmi btusb uvcvideo firmware_attributes_class btrtl i2c_i801 iwlwifi wmi_bmof i2c_smbus snd_timer btbcm mei_me videobuf2_vmalloc videobuf2_memops mei btintel videobuf2_v4l2 idma64 cfg80211 videobuf2_common btmtk joydev videodev bluetooth mc thinkpad_acpi thunderbolt ledtrig_audio platform_profile rfkill snd soundcore int3403_thermal soc_button_array processor_thermal_device_pci_legacy processor_thermal_device processor_thermal_rfim processor_thermal_mbox acpi_pad intel_hid processor_thermal_rapl sparse_keymap int3400_thermal
 intel_rapl_common int340x_thermal_zone acpi_tad acpi_thermal_rel intel_vsec intel_soc_dts_iosf igen6_edac zram dm_thin_pool dm_persistent_data dm_bio_prison i915 nvme drm_buddy drm_display_helper nvme_core cec crct10dif_pclmul hid_multitouch ucsi_acpi crc32_pclmul crc32c_intel polyval_clmulni polyval_generic ghash_clmulni_intel typec_ucsi sha512_ssse3 serio_raw typec ttm nvme_common i2c_hid_acpi i2c_hid video wmi pinctrl_tigerlake ip6_tables ip_tables fuse
CPU: 1 PID: 96411 Comm: gnome-shell Not tainted 6.1.5-200.fc37.x86_64 #1
Hardware name: LENOVO 20XXS3HC4X/20XXS3HC4X, BIOS N32ET75W (1.51 ) 12/02/2021
RIP: 0010:intel_modeset_verify_crtc+0x374/0x3b0 [i915]
Code: 1c 00 00 0f b6 f0 48 c7 c7 30 ff 87 c0 75 33 e8 12 be 16 f1 e9 71 fd ff ff e8 bc bd 5d f1 0f 0b e9 fb fd ff ff e8 b0 bd 5d f1 <0f> 0b e9 c7 fe ff ff e8 a4 bd 5d f1 0f 0b 0f b6 44 24 17 e9 b1 fd
RSP: 0018:ffffaa87c2ee7b58 EFLAGS: 00010282
RAX: 0000000000000019 RBX: ffff94b28e5002a0 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffffb274a863 RDI: 00000000ffffffff
RBP: ffff94b287d4c000 R08: 0000000000000000 R09: ffffaa87c2ee79f8
R10: 0000000000000003 R11: ffffffffb3146488 R12: ffff94b58154a000
R13: ffff94b28145b800 R14: ffff94b28e5002a8 R15: ffff94b28145b800
FS:  00007f942150d5c0(0000) GS:ffff94b9bf640000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000002140165c000 CR3: 00000001108f2001 CR4: 0000000000770ee0
PKRU: 55555554
Call Trace:
 <TASK>
 intel_atomic_commit_tail+0x926/0xe20 [i915]
 intel_atomic_commit+0x358/0x3a0 [i915]
 drm_atomic_commit+0x64/0xd0
 ? drm_plane_get_damage_clips.cold+0x1c/0x1c
 drm_mode_atomic_ioctl+0x93d/0xb80
 ? drm_atomic_set_property+0xbb0/0xbb0
 drm_ioctl_kernel+0xa6/0x150
 drm_ioctl+0x1e7/0x450
 ? drm_atomic_set_property+0xbb0/0xbb0
 __x64_sys_ioctl+0x8d/0xd0
 do_syscall_64+0x58/0x80
 ? syscall_exit_to_user_mode+0x17/0x40
 ? do_syscall_64+0x67/0x80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f9424f23d6f
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
RSP: 002b:00007fff4c9bb1d0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00005593a43b8fe0 RCX: 00007f9424f23d6f
RDX: 00007fff4c9bb270 RSI: 00000000c03864bc RDI: 000000000000000a
RBP: 00007fff4c9bb270 R08: 000000000000002e R09: 000000000000002e
R10: 00005593a07f9010 R11: 0000000000000246 R12: 00000000c03864bc
R13: 000000000000000a R14: 00005593a21c32f0 R15: 00005593a3060830
 </TASK>

Comment 1 Tony Breeds 2023-01-19 03:05:03 UTC
Created attachment 1939070 [details]
File: dmesg

Comment 2 John Call 2023-01-31 05:51:04 UTC
Description of problem:
This happened while I was rebooting my laptop a few times. I have been trying to troubleshoot why I can't get two 3840x2160 resolution monitors connected vi USB-C DisplayPort MST Dasiychain to work properly.

Version-Release number of selected component:
kernel-core-6.1.8-200.fc37

Additional info:
reporter:       libreport-2.17.4
cmdline:        BOOT_IMAGE=(hd0,gpt5)/vmlinuz-6.1.8-200.fc37.x86_64 root=UUID=747ac861-47cd-47df-8b0d-6076f15b1f1d ro rootflags=subvol=root rd.luks.uuid=luks-6cacd14b-55d4-41fc-ac55-4609ad195a04 rhgb quiet
crash_function: intel_atomic_commit_tail
kernel:         6.1.8-200.fc37.x86_64
runlevel:       N 5
type:           Kerneloops

Truncated backtrace:
#1 [TASK] intel_atomic_commit_tail in i915
#2 [TASK] intel_atomic_commit in i915
#3 [TASK] drm_atomic_commit
#4 [TASK] ? drm_plane_get_damage_clips
#5 [TASK] drm_mode_atomic_ioctl
#6 [TASK] ? drm_atomic_set_property
#7 [TASK] drm_ioctl_kernel
#8 [TASK] drm_ioctl
#9 [TASK] ? drm_atomic_set_property
#10 [TASK] __x64_sys_ioctl

Comment 3 John Call 2023-01-31 05:55:56 UTC
I also posted these comments to this Ask Fedora thread - https://ask.fedoraproject.org/t/problems-with-2-displays-connected-via-displayport-daisychain-mst-on-kernel-6-1/31336/1

I have a Lenovo laptop that connects to two monitors through a single USB-C. The second monitor is connected to the first monitor using a DisplayPort cable, and the first monitor is connected to my laptop using a USB-C cable (aka DaisyChain.)

It seems that I can get it to work if I reduce the resolution of the second monitor. I'd like to close the lid on my laptop and not use that display/screen and just use the two 4k monitors.

Here is the verbose output from `inxi` while using reduced resolution on the second 4k monitor, and the laptop screen is also on. I see different `inxi` output after installing the `wayland-info` RPM. Also, I saw quite a few errors in the user related to gnome-shell

```
[jcall@jcall-laptop ~]$ inxi -Gxxx
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-12.1 ports: active: DP-5,DP-7,eDP-1
    empty: DP-1, DP-2, DP-3, DP-4, DP-6, HDMI-A-1, HDMI-A-2, HDMI-A-3
    bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300
  Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-4:3 chip-ID: 04f2:b6ea class-ID: fe01 serial: 0001
  Device-3: Logitech Webcam C930e type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 3-6.4.2:11 chip-ID: 046d:0843 class-ID: 0102 serial: 9038BE9E
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.7
    compositor: gnome-shell v: 43.2 driver: gpu: i915 display-ID: 0
  Monitor-1: DP-5 model: Dell U3223QE serial: 9LQ06H3 res: 3840x2160
    dpi: 140 size: 698x393mm (27.48x15.47") diag: 801mm (31.5") modes:
    max: 3840x2160 min: 720x400
  Monitor-2: DP-7 model: Dell U3223QE serial: 8PTWDH3 res: 3840x2160
    dpi: 140 size: 698x393mm (27.48x15.47") diag: 801mm (31.5") modes:
    max: 3840x2160 min: 720x400
  Monitor-3: eDP-1 model: BOE Display 0x094c res: 1920x1200 dpi: 161
    size: 302x188mm (11.89x7.4") diag: 356mm (14") modes: 1920x1200
  API: OpenGL v: 4.6 Mesa 22.3.4 renderer: Mesa Intel Xe Graphics (TGL GT2)
    direct render: Yes

[jcall@jcall-laptop ~]$ sudo dnf install wayland-utils
# now inxi reports that my second monitor is reduced to 2560x1440 resolution

[jcall@jcall-laptop ~]$ inxi -Gxxx
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-12.1 ports: active: DP-5,DP-7,eDP-1
    empty: DP-1, DP-2, DP-3, DP-4, DP-6, HDMI-A-1, HDMI-A-2, HDMI-A-3
    bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300
  Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-4:3 chip-ID: 04f2:b6ea class-ID: fe01 serial: 0001
  Device-3: Logitech Webcam C930e type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 3-6.4.2:11 chip-ID: 046d:0843 class-ID: 0102 serial: 9038BE9E
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.7
    compositor: gnome-shell v: 43.2 driver: N/A d-rect: 8320x2160 display-ID: 0
  Monitor-1: DP-5 pos: primary,left res: 3840x2160 size: N/A modes: N/A
  Monitor-2: DP-7 pos: center res: 2560x1440 size: N/A modes: N/A
  Monitor-3: eDP-1 pos: right res: 1920x1200 size: N/A modes: N/A
  API: OpenGL v: 4.6 Mesa 22.3.4 renderer: Mesa Intel Xe Graphics (TGL GT2)
    direct render: Yes
```

```
[jcall@jcall-laptop ~]$ journalctl --no-pager -l -b0  _COMM=gnome-shell
### shows the same as below, but below also shows other processes related to my login###

[jcall@jcall-laptop ~]$ journalctl --no-pager -l -b0  -u user@$(id -u)
...
Jan 30 22:14:49 jcall-laptop gnome-shell[4406]: Failed to post KMS update: drmModeAtomicCommit: Invalid argument
Jan 30 22:14:49 jcall-laptop gnome-shell[4406]: Page flip discarded: drmModeAtomicCommit: Invalid argument
Jan 30 22:14:56 jcall-laptop gnome-shell[4406]: Failed to post KMS update: drmModeAtomicCommit: No space left on device
Jan 30 22:14:56 jcall-laptop gnome-shell[4406]: Page flip discarded: drmModeAtomicCommit: No space left on device
Jan 30 22:14:56 jcall-laptop gnome-shell[4406]: Page flip discarded: drmModeAtomicCommit: No space left on device
Jan 30 22:14:56 jcall-laptop gnome-shell[4406]: Page flip discarded: drmModeAtomicCommit: No space left on device
Jan 30 22:14:56 jcall-laptop gnome-shell[4406]: Failed to post KMS update: drmModeAtomicCommit: Invalid argument
Jan 30 22:14:56 jcall-laptop gnome-shell[4406]: Page flip discarded: drmModeAtomicCommit: Invalid argument
...
```

Comment 4 andriyrosa 2023-02-03 03:58:47 UTC
Happens to me when a USB-C dock is connected / disconnected. External display goes dark and doesn't wake up. Reverted to 5.17.5-300.fc36.x86_64, works fine.