Bug 439267 - Frequent freezes since switching to Wayland
Summary: Frequent freezes since switching to Wayland
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-28 15:57 UTC by Lyubomir
Modified: 2021-08-05 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lyubomir 2021-06-28 15:57:19 UTC
SUMMARY
I frequently/daily experience freezes where nothing responds and the clock doesn't count seconds. These freezes are for about 3-4 seconds. Happens maybe 3 times a day. I was using Kubuntu 20.04 LTS before but clean reinstalled to Kubuntu 21.04 and started to use Wayland from day 1.

The last two times the freezes occured were:
1. When i clicked to open the Application Launcher. Freezed for two seconds and only then opened it. From then on it opens instantly
2. When i opened a new tab in Dolphin and then switched to it and tried to open one folder. Whole UI freezed for maybe 5 seconds and only then opened the folder.
When i pressed Win + D to switch to Desktop i think it worked but i'm not sure whether it was while it was freezed or after that. I have a CPU and memory widgets on the desktop and immediately after i switched to desktop they were showing 75% RAM and 46 % CPU.

I use linux-lowlatency and the bfq io scheduler, also zram and btrfs. Before i was on 20.04 with linux-lowlatency and the bfq io scheduler and zram + ext4. That makes me feel it's either a Wayland/KWin issue or a btrfs one. But i doubt btrfs can have such a big impact.

I am open to suggestions how to help you diagnose this.

STEPS TO REPRODUCE
Happens randomly, always after a click from me with the mouse.

OBSERVED RESULT
Freeze

EXPECTED RESULT
No freeze

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.04
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-18-lowlatency (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 1 Lyubomir 2021-06-28 16:00:03 UTC
I should mention that i missed to say that there were no such freezes with my 20.04 X.Org configuration described above.
Comment 2 David Edmundson 2021-06-28 21:12:06 UTC
>I am open to suggestions how to help you diagnose this.


If we're seeing a CPU spike, a record from hotspot would be good.
Comment 3 Alois Wohlschlager 2021-07-06 09:16:38 UTC
Could you check whether you can reproduce the issue on Xorg with your new system configuration? That will tell us at least whether it's a btrfs issue or a KWin/Wayland issue.
Comment 4 Bug Janitor Service 2021-07-21 04:33:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-08-05 04:33:41 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!