I’m using a fresh install with KDE on a Lenovo Carbon X1 Gen 9. The system reports s2idle is available. In the bios I also have the option to choose S3 sleep instead but i get the same result either way.
When i select sleep from the application launcher, the screen goes black but displays the mouse for maybe 30 seconds before the system appears to go to sleep. When i try to wake it, the screen turns on, i can see only the mouse again but it never fully wakes and i have to hard reset. The mouse is frozen on a black screen.
My googling has not yet led me to a solution so i am looking for suggestions. Most similar issues seem to be nvidia related which is not applicable here. Thanks!
❯ cat /sys/power/mem_sleep
[s2idle]
Edit - I am using BTRFS and grub for timeshift snapshots if that is relevant otherwise it’s a pretty standard install.
Hi and welcome to the forums.
If you unplug your mouse and plug it back in does it start working again?
How you tried a different kernel like the linux-lts?
If using KDE Wayland try Xorg for a test.
Should post your logs as others will be looking for them and the more info you post, the more help you will get.
I am using the built in touchpad and trackpoint so I cannot unplug them. Both are frozen.
I just installed the LTS kernel and tried that with the same result.
Under X11 when i try to suspend the system just locks. I can see the desktop and move the mouse but cannot click/interact with anything. When suspending from the terminal there was no output.
Any suggestions on logs to post? I was skimming journalctl -b nothing stood out to me but I don’t really know what I’m looking for and it was 2000 lines so I wasn’t sure if it’s appropriate to post.
❯ journalctl -p err --since "1 hour ago"
Feb 16 19:55:41 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 19:55:41 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 19:55:41 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 19:55:41 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 19:55:41 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 19:55:41 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 19:55:41 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 19:55:42 ryan-x1 grub-btrfsd[663]: [!] inotifywait was not found, exiting. Is inotify-tools installed?
Feb 16 20:00:59 ryan-x1 systemd-sleep[2702]: Failed to freeze unit 'user.slice': Connection timed out
-- Boot 823f33d068de4722bab073b9dfd63392 --
Feb 16 20:03:24 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 20:03:24 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 20:03:24 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 20:03:24 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 20:03:24 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 20:03:24 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 20:03:24 ryan-x1 kernel: i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
Feb 16 20:03:25 ryan-x1 grub-btrfsd[635]: [!] inotifywait was not found, exiting. Is inotify-tools installed?
I had installed BTRFS snaphots on grub using this guide. It does enable the service grub-btrfsd which apparently depends on inotify-tools but it isn’t installed as a dependency? Anyways, I installed it and the inotify-tools error is gone.
Feb 16 20:00:59 ryan-x1 systemd-sleep[2702]: Failed to freeze unit 'user.slice': Connection timed out
Edit: So I have tracked down the cause of the problem. I mount NFS network shares using autofs. When i disable that, sleep works fine. So something in that configuration is causing it to hang when sleeping. Time for some more searching, will post a solution if found.
Instead of troubleshooting autofs I chose to mount the nfs shares using systemd instead as it seems to meet my needs and now sleep works as expected! Thanks all for the suggestions to get me to the solution.
for me its also entirely random and sometimes stays away for like 10+ sleeps and other times it happens every time. i dont use NFS and im pretty sure i dont have any inotify errors in my logs
EDIT:
so im assuming it has SOMETHING to do with my cifs networkshares not being able to mount after sleep due to me being on WiFi.
Ich switched to wifi a couple of days ago but the issue definitely didnt occur at first after switching.
im mounting 2 cifs shares using these two adapters
29:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
DeviceName: RTL8111E Giga LAN
Subsystem: Intel Corporation Wi-Fi 6 AX200NGW
Flags: bus master, fast devsel, latency 0, IRQ 34, IOMMU group 15
Memory at fc600000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
2a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7c94
Flags: bus master, fast devsel, latency 0, IRQ 37, IOMMU group 15
I/O ports at f000 [size=256]
Memory at fc500000 (64-bit, non-prefetchable) [size=64K]
Memory at fc510000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169
i’ve switched back to wired yesterday and after 5-6 suspend sessions ive not observed the issue.
What method are you using to mount the shares? Depending on the method there may be various timeout options you can use to help it along. I’m using wifi and after switching to mounting with systemd I haven’t had any issues.
I’m not expert so take my advice with a grain of salt but this is similar to how i mounted the NFS shares now.