Describe the bug
Not sure if the details of my laptop matters but let me explain. I have a HP pavilion 16 laptop with i7-13700H and RTX-3050. I connect it with an external monitor via the thunderbolt port. My OS is CachyOS with Cosmic DE.
To Reproduce
Steps to reproduce the behavior:
- Click suspend
- The black screen shows a cursor on the top-left corner. Blinking for 20s.
- After 20s, the login screen shows up like being waken up.
Expected behavior
Laptop should be suspended.
Screenshots
This is my journalctl output:
Jan 31 10:44:19 cachyos-x8664 kernel: Freezing user space processes
Jan 31 10:44:19 cachyos-x8664 kernel: Freezing user space processes failed after 20.005 seconds (1 tasks refusing to freeze, wq_busy=0):
Jan 31 10:44:19 cachyos-x8664 kernel: task:cosmic-comp state:D stack:0 pid:67419 tgid:67419 ppid:1379 task_flags:0x400000 flags:0x00080003
Jan 31 10:44:19 cachyos-x8664 kernel: Call Trace:
Jan 31 10:44:19 cachyos-x8664 kernel:
Jan 31 10:44:19 cachyos-x8664 kernel: __schedule+0x6ee/0x1e60
Jan 31 10:44:19 cachyos-x8664 kernel: ? dput+0x39/0x4e0
Jan 31 10:44:19 cachyos-x8664 kernel: ? sysvec_reschedule_ipi+0x55/0x70
Jan 31 10:44:19 cachyos-x8664 kernel: schedule+0x2c/0x160
Jan 31 10:44:19 cachyos-x8664 kernel: schedule_preempt_disabled+0x15/0x30
Jan 31 10:44:19 cachyos-x8664 kernel: __mutex_lock+0x1de/0x6c0
Jan 31 10:44:19 cachyos-x8664 kernel: drm_mode_getconnector+0x188/0x450
Jan 31 10:44:19 cachyos-x8664 kernel: drm_ioctl+0x27b/0x560
Jan 31 10:44:19 cachyos-x8664 kernel: ? __pfx_drm_mode_getconnector+0x10/0x10
Jan 31 10:44:19 cachyos-x8664 kernel: __x64_sys_ioctl+0x158/0x180
Jan 31 10:44:19 cachyos-x8664 kernel: do_syscall_64+0x6b/0x210
Jan 31 10:44:19 cachyos-x8664 kernel: ? do_syscall_64+0xa4/0x210
Jan 31 10:44:19 cachyos-x8664 kernel: ? do_syscall_64+0xa4/0x210
Jan 31 10:44:19 cachyos-x8664 kernel: entry_SYSCALL_64_after_hwframe+0x76/0x7e
Jan 31 10:44:19 cachyos-x8664 kernel: RIP: 0033:0x56454935a445
Jan 31 10:44:19 cachyos-x8664 kernel: RSP: 002b:00007fff5b018890 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jan 31 10:44:19 cachyos-x8664 kernel: RAX: ffffffffffffffda RBX: 00007fff5b018ca0 RCX: 000056454935a445
Jan 31 10:44:19 cachyos-x8664 kernel: RDX: 00007fff5b018900 RSI: 00000000c05064a7 RDI: 000000000000004a
Jan 31 10:44:19 cachyos-x8664 kernel: RBP: 0000000000000080 R08: 0000000000000080 R09: 00007fff5b018a70
Jan 31 10:44:19 cachyos-x8664 kernel: R10: 00007fff5b018a58 R11: 0000000000000246 R12: 00007fb1d8aba650
Jan 31 10:44:19 cachyos-x8664 kernel: R13: 8000000000000000 R14: 0000000000000000 R15: 0000000000000000
Jan 31 10:44:19 cachyos-x8664 kernel:
Jan 31 10:44:19 cachyos-x8664 kernel: OOM killer enabled.
Jan 31 10:44:19 cachyos-x8664 kernel: Restarting tasks: Starting
Jan 31 10:44:19 cachyos-x8664 kernel: Restarting tasks: Done
Jan 31 10:44:19 cachyos-x8664 kernel: efivarfs: resyncing variable state
Jan 31 10:44:19 cachyos-x8664 kernel: efivarfs: finished resyncing variable state
Jan 31 10:44:19 cachyos-x8664 kernel: random: crng reseeded on system resumption
Jan 31 10:44:19 cachyos-x8664 systemd-sleep[80843]: Failed to put system to sleep. System resumed again: Device or resource busy
Jan 31 10:44:19 cachyos-x8664 bluetoothd[991]: Controller resume with wake event 0x0
Jan 31 10:44:19 cachyos-x8664 kernel: PM: suspend exit
Jan 31 10:44:20 cachyos-x8664 cosmic-comp[67419]: Error while handling udev event.
Jan 31 10:44:20 cachyos-x8664 cosmic-comp[67419]: Unable to clear state: DRM access error: Failed to commit on clear_state on device Some("/dev/dri/card1") (Permission denied (os error 13))
Jan 31 10:44:20 cachyos-x8664 systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE
Jan 31 10:44:20 cachyos-x8664 systemd[1]: systemd-suspend.service: Failed with result 'exit-code'.
Jan 31 10:44:20 cachyos-x8664 systemd[1]: Failed to start System Suspend.
Jan 31 10:44:20 cachyos-x8664 systemd[1]: Dependency failed for Suspend.
Jan 31 10:44:20 cachyos-x8664 systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
Jan 31 10:44:20 cachyos-x8664 systemd[1]: systemd-suspend.service: Consumed 5.028s CPU time over 41.362s wall clock time, 4.3M memory peak.
Desktop (please complete the following information):
-
OS:
.+=========================. ----------------
:++===++==================- :++- OS: CachyOS x86_64
:*++====+++++=============- .==: Host: HP Pavilion Plus Laptop 16t-ab000
-*+++=====+***++==========: Kernel: Linux 6.18.7-2-cachyos
=++++========------------: Uptime: 1 day, 11 hours, 9 mins
=+++++=====- ... Packages: 1070 (pacman)
.++++++=-===: .=+++=: Shell: fish 4.3.3
:++++=====-==: -+ Display (DELL U2412M): 1920x1200 in 24", 60 Hz [External]
:++========-=. .=++. DE: COSMIC 1.0.0
.+==========-. . WM: cosmic-comp (Wayland)
:+++++++====- .--==-. Cursor: Adwaita
:++==========. :+++++++: Terminal: cosmic-term 1.0.4
.-===========. =**++ Terminal Font: Noto Sans Mono (14px)
.-===========: .++: CPU: 13th Gen Intel(R) Core(TM) i7-13700H (20) @ 5.00 GHz
-=======++++:::::::::::::::::::::::::-: .---: GPU 1: NVIDIA GeForce RTX 3050 6GB Laptop GPU [Discrete]
:======++++====+++***********=. GPU 2: Intel Iris Xe Graphics @ 1.50 GHz [Integrated]
:=====+++==========++++++++++++++- Memory: 2.42 GiB / 15.33 GiB (16%)
.====++==============++++++++++- Swap: 153.00 MiB / 15.33 GiB (1%)
.===+==================+++++++: Disk (/): 16.50 GiB / 1.82 TiB (1%) - btrfs
.-=======================+++: Local IP (wlan0): 192.168.0.68/24
.......................... Battery (WE04068XL): 100% [AC Connected]
Locale: en_US.UTF-8
Additional context
When this issue happens, if I kill the cosmic-comp process and then attempt suspend again, it works. But after a normal wake up, this happens again.
Describe the bug
Not sure if the details of my laptop matters but let me explain. I have a HP pavilion 16 laptop with i7-13700H and RTX-3050. I connect it with an external monitor via the thunderbolt port. My OS is CachyOS with Cosmic DE.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Laptop should be suspended.
Screenshots
This is my journalctl output:
Jan 31 10:44:19 cachyos-x8664 kernel: Freezing user space processes
Jan 31 10:44:19 cachyos-x8664 kernel: Freezing user space processes failed after 20.005 seconds (1 tasks refusing to freeze, wq_busy=0):
Jan 31 10:44:19 cachyos-x8664 kernel: task:cosmic-comp state:D stack:0 pid:67419 tgid:67419 ppid:1379 task_flags:0x400000 flags:0x00080003
Jan 31 10:44:19 cachyos-x8664 kernel: Call Trace:
Jan 31 10:44:19 cachyos-x8664 kernel:
Jan 31 10:44:19 cachyos-x8664 kernel: __schedule+0x6ee/0x1e60
Jan 31 10:44:19 cachyos-x8664 kernel: ? dput+0x39/0x4e0
Jan 31 10:44:19 cachyos-x8664 kernel: ? sysvec_reschedule_ipi+0x55/0x70
Jan 31 10:44:19 cachyos-x8664 kernel: schedule+0x2c/0x160
Jan 31 10:44:19 cachyos-x8664 kernel: schedule_preempt_disabled+0x15/0x30
Jan 31 10:44:19 cachyos-x8664 kernel: __mutex_lock+0x1de/0x6c0
Jan 31 10:44:19 cachyos-x8664 kernel: drm_mode_getconnector+0x188/0x450
Jan 31 10:44:19 cachyos-x8664 kernel: drm_ioctl+0x27b/0x560
Jan 31 10:44:19 cachyos-x8664 kernel: ? __pfx_drm_mode_getconnector+0x10/0x10
Jan 31 10:44:19 cachyos-x8664 kernel: __x64_sys_ioctl+0x158/0x180
Jan 31 10:44:19 cachyos-x8664 kernel: do_syscall_64+0x6b/0x210
Jan 31 10:44:19 cachyos-x8664 kernel: ? do_syscall_64+0xa4/0x210
Jan 31 10:44:19 cachyos-x8664 kernel: ? do_syscall_64+0xa4/0x210
Jan 31 10:44:19 cachyos-x8664 kernel: entry_SYSCALL_64_after_hwframe+0x76/0x7e
Jan 31 10:44:19 cachyos-x8664 kernel: RIP: 0033:0x56454935a445
Jan 31 10:44:19 cachyos-x8664 kernel: RSP: 002b:00007fff5b018890 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jan 31 10:44:19 cachyos-x8664 kernel: RAX: ffffffffffffffda RBX: 00007fff5b018ca0 RCX: 000056454935a445
Jan 31 10:44:19 cachyos-x8664 kernel: RDX: 00007fff5b018900 RSI: 00000000c05064a7 RDI: 000000000000004a
Jan 31 10:44:19 cachyos-x8664 kernel: RBP: 0000000000000080 R08: 0000000000000080 R09: 00007fff5b018a70
Jan 31 10:44:19 cachyos-x8664 kernel: R10: 00007fff5b018a58 R11: 0000000000000246 R12: 00007fb1d8aba650
Jan 31 10:44:19 cachyos-x8664 kernel: R13: 8000000000000000 R14: 0000000000000000 R15: 0000000000000000
Jan 31 10:44:19 cachyos-x8664 kernel:
Jan 31 10:44:19 cachyos-x8664 kernel: OOM killer enabled.
Jan 31 10:44:19 cachyos-x8664 kernel: Restarting tasks: Starting
Jan 31 10:44:19 cachyos-x8664 kernel: Restarting tasks: Done
Jan 31 10:44:19 cachyos-x8664 kernel: efivarfs: resyncing variable state
Jan 31 10:44:19 cachyos-x8664 kernel: efivarfs: finished resyncing variable state
Jan 31 10:44:19 cachyos-x8664 kernel: random: crng reseeded on system resumption
Jan 31 10:44:19 cachyos-x8664 systemd-sleep[80843]: Failed to put system to sleep. System resumed again: Device or resource busy
Jan 31 10:44:19 cachyos-x8664 bluetoothd[991]: Controller resume with wake event 0x0
Jan 31 10:44:19 cachyos-x8664 kernel: PM: suspend exit
Jan 31 10:44:20 cachyos-x8664 cosmic-comp[67419]: Error while handling udev event.
Jan 31 10:44:20 cachyos-x8664 cosmic-comp[67419]: Unable to clear state: DRM access error: Failed to commit on clear_state on device
Some("/dev/dri/card1")(Permission denied (os error 13))Jan 31 10:44:20 cachyos-x8664 systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE
Jan 31 10:44:20 cachyos-x8664 systemd[1]: systemd-suspend.service: Failed with result 'exit-code'.
Jan 31 10:44:20 cachyos-x8664 systemd[1]: Failed to start System Suspend.
Jan 31 10:44:20 cachyos-x8664 systemd[1]: Dependency failed for Suspend.
Jan 31 10:44:20 cachyos-x8664 systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
Jan 31 10:44:20 cachyos-x8664 systemd[1]: systemd-suspend.service: Consumed 5.028s CPU time over 41.362s wall clock time, 4.3M memory peak.
Desktop (please complete the following information):
OS:
=++++========------------: Uptime: 1 day, 11 hours, 9 mins
=+++++=====- ... Packages: 1070 (pacman)
.++++++=-===: .=+++=: Shell: fish 4.3.3
:++++=====-==: -+ Display (DELL U2412M): 1920x1200 in 24", 60 Hz [External]
:++========-=. .=++. DE: COSMIC 1.0.0
.+==========-. . WM: cosmic-comp (Wayland)
:+++++++====- .--==-. Cursor: Adwaita
:++==========. :+++++++: Terminal: cosmic-term 1.0.4
.-===========. =**++ Terminal Font: Noto Sans Mono (14px)
.-===========: .++: CPU: 13th Gen Intel(R) Core(TM) i7-13700H (20) @ 5.00 GHz
-=======++++:::::::::::::::::::::::::-: .---: GPU 1: NVIDIA GeForce RTX 3050 6GB Laptop GPU [Discrete]
:======++++====+++***********=. GPU 2: Intel Iris Xe Graphics @ 1.50 GHz [Integrated]
:=====+++==========++++++++++++++- Memory: 2.42 GiB / 15.33 GiB (16%)
.====++==============++++++++++- Swap: 153.00 MiB / 15.33 GiB (1%)
.===+==================+++++++: Disk (/): 16.50 GiB / 1.82 TiB (1%) - btrfs
.-=======================+++: Local IP (wlan0): 192.168.0.68/24
.......................... Battery (WE04068XL): 100% [AC Connected]
Locale: en_US.UTF-8
Additional context
When this issue happens, if I kill the cosmic-comp process and then attempt suspend again, it works. But after a normal wake up, this happens again.