After locking session black screen with `Failed to post KMS update: drmModeAtomicCommit: Invalid argument`
On the dual graphics laptop Dell Precision 3540/0M14W7, BIOS 1.15.0, and Debian sid/unstable with Linux 5.16.7 and gnome-shell 41.3-2, suspending and resuming the screen stays black, and gnome-shell fails to post KMS update with Invalid argument
.
[…]
Feb 18 11:58:53 morley systemd-sleep[2965]: Entering sleep state 'suspend'...
Feb 18 11:58:53 morley kernel: PM: suspend entry (s2idle)
Feb 18 11:58:53 morley kernel: Filesystems sync: 0.007 seconds
Feb 18 11:58:53 morley kernel: (NULL device *): firmware: direct-loading firmware i915/kbl_dmc_ver1_04.bin
Feb 18 11:58:53 morley kernel: (NULL device *): firmware: direct-loading firmware regulatory.db.p7s
Feb 18 11:58:53 morley kernel: (NULL device *): firmware: direct-loading firmware regulatory.db
Feb 18 11:58:53 morley kernel: (NULL device *): firmware: direct-loading firmware intel/ibt-17-16-1.ddc
Feb 18 11:58:53 morley kernel: (NULL device *): firmware: direct-loading firmware intel/ibt-17-16-1.sfi
Feb 18 11:58:53 morley kernel: (NULL device *): firmware: direct-loading firmware iwlwifi-9000-pu-b0-jf-b0-46.ucode
Feb 18 11:59:11 morley kernel: Freezing user space processes ... (elapsed 0.003 seconds) done.
Feb 18 11:59:11 morley kernel: OOM killer disabled.
Feb 18 11:59:11 morley kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Feb 18 11:59:11 morley kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Feb 18 11:59:11 morley kernel: e1000e: EEE TX LPI TIMER: 00000011
Feb 18 11:59:11 morley kernel: intel_pch_thermal 0000:00:12.0: CPU-PCH is cool [45C], continue to suspend
Feb 18 11:59:11 morley kernel: amdgpu 0000:3b:00.0: amdgpu: PCI CONFIG reset
Feb 18 11:59:11 morley kernel: ACPI: EC: interrupt blocked
Feb 18 11:59:11 morley kernel: ACPI: EC: interrupt unblocked
Feb 18 11:59:11 morley kernel: [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
Feb 18 11:59:11 morley kernel: [drm] UVD and UVD ENC initialized successfully.
Feb 18 11:59:11 morley kernel: [drm] VCE initialized successfully.
Feb 18 11:59:11 morley kernel: OOM killer enabled.
Feb 18 11:59:11 morley kernel: Restarting tasks ...
Feb 18 11:59:11 morley kernel: mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
Feb 18 11:59:11 morley kernel: done.
Feb 18 11:59:11 morley systemd-sleep[2965]: System returned from sleep state.
Feb 18 11:59:11 morley kernel: PM: suspend exit
Feb 18 11:59:11 morley bluetoothd[643]: Controller resume with wake event 0x0
Feb 18 11:59:11 morley systemd[1]: Starting Atop advanced performance monitor...
Feb 18 11:59:11 morley systemd[1]: Started Atop advanced performance monitor.
Feb 18 11:59:11 morley systemd[1]: systemd-suspend.service: Deactivated successfully.
Feb 18 11:59:11 morley systemd[1]: Finished System Suspend.
Feb 18 11:59:11 morley systemd[1]: Stopped target Sleep.
Feb 18 11:59:11 morley systemd[1]: Reached target Suspend.
Feb 18 11:59:11 morley systemd[1]: Stopped target Suspend.
Feb 18 11:59:11 morley systemd-logind[655]: Operation 'sleep' finished.
Feb 18 11:59:11 morley NetworkManager[650]: <info> [1645181951.7040] manager: sleep: wake requested (sleeping: yes enabled: yes)
Feb 18 11:59:11 morley NetworkManager[650]: <info> [1645181951.7041] device (eno2): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Feb 18 11:59:11 morley gnome-shell[2467]: Failed to post KMS update: drmModeAtomicCommit: Invalid argument
Feb 18 11:59:11 morley gnome-shell[2467]: Page flip discarded: drmModeAtomicCommit: Invalid argument
Feb 18 11:59:11 morley charon[1716]: 14[KNL] interface eno2 deactivated
Feb 18 11:59:11 morley NetworkManager[650]: <info> [1645181951.7861] device (eno2): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Feb 18 11:59:11 morley kernel: e1000e 0000:00:1f.6 eno2: NIC Link is Down
Feb 18 11:59:11 morley charon[1716]: 06[KNL] interface eno2 activated
Some tests:
- Switching to tty1 works, and GDM is shown. Selecting the user there, it switches to the existing session, and it works.
- Switching to tty1 works, and GDM is shown. Switch back to tty2, the mouse cursor moves, but the lock screen is not shown, and only the image from the tty where the user was before.
- Closing the lid quickly, and opening it again, the lock screen is shown.
Attachments
Edited by Paul Menzel