https://bugs.kde.org/show_bug.cgi?id=517712
Bug ID: 517712
Summary: Lag after resume on Wayland when USB-C device is
connected before sleep
Classification: Plasma
Product: kwin
Version First unspecified
Reported In:
Platform: Neon
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 190740
--> https://bugs.kde.org/attachment.cgi?id=190740&action=edit
System logs after experiencing this issue.
SUMMARY
If a USB-C device is connected to my laptop before it goes to sleep, and then
the laptop is resumed from sleep after at least 5 minutes, resuming from sleep
is very laggy for around 30 seconds, and then the system returns to normal.
I've only started experiencing this recently, in the past few weeks I think,
although I can't remember exactly when.
STEPS TO REPRODUCE
1. Connect a USB-C device
2. Put laptop to sleep
3. Wait at least 5 minutes
4. Wake laptop up
OBSERVED RESULT
For about 30 seconds the laptop is really slow, the lockscreen takes a few
seconds to load from black, typing in the password is delayed, and doing
anything after logging in is also very slow.
EXPECTED RESULT
Laptop resumes with normal performance
TESTING
This only happens if a USB-C device (charger or monitor) is connected before
the laptop goes to sleep. Connecting one while it's asleep does not cause this.
Connecting a USB-A device (before or during sleep) does not cause this issue.
I tried to switch to s3 "deep" sleep to test that, but my laptop wouldn't turn
on from sleep after doing this. It's currently using the "s2idle" sleep mode.
This issue doesn't happen in X11, only in Wayland.
I checked my BIOS is up-to-date, as well as my OS.
I tried changing adding some GRUB boot parameters, but they didn't have any
impact:
i915.enable_psr=0, i915.enable_rc6=0, i915.enable_dc=0.
I also tested without any programs open, when RAM usage was 4 GB and swap was
at 0, so I don't think it's a memory issue.
I've uploaded some logs I got after resuming from sleep and experiencing this
issue. They're not all from the same time, but they are from after experiencing
this issue. I've put some of the bits which I think might be related in bold.
SOFTWARE/OS VERSIONS
OS: KDE Neon User edition
Linux Kernel: 6.17.0-19-generic (also reproduced on 6.14 and 6.8)
KDE Plasma Version: 6.6.2
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Graphics Platform: Wayland
ADDITIONAL INFORMATION
Device: Asus Zenbook Flip 14 UP3404VA_UP3404VA
CPU: Intel i7-1360p
--
You are receiving this mail because:
You are watching all bug changes.