Bug 488257

Summary: High CPU usage and lag operation when use for a while
Product: [Plasma] kwin Reporter: Celeste Liu <uwu>
Component: performanceAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kde, kdedev
Priority: NOR    
Version First Reported In: git-stable-Plasma/6.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=502769
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: perf data captured when the issue happened
flamegraph

Description Celeste Liu 2024-06-09 15:05:40 UTC
Created attachment 170292 [details]
perf data captured when the issue happened

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

High CPU usage and lag operation  when use for a while.

STEPS TO REPRODUCE
1. Open Plasma
2. Use it for a while

OBSERVED RESULT

You will get lag operation and see high CPU usage in htop.

EXPECTED RESULT

It will run normally.


SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.0.90.1
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION

I will upload perf data captured when the issue happened
Comment 1 Celeste Liu 2024-06-09 15:35:35 UTC
oh no, I forget to set call-graph dwarf

I seems no longer lag after I did perf record
Comment 2 David Edmundson 2024-06-10 06:25:34 UTC
I tried to open the perf data, but perf data is not very transferrable across devices. A screenshot from hotspot your side might be more useful.

Unfortunately this is not actionable in the current state. Putting in needsinfo.
Comment 3 Celeste Liu 2024-06-10 11:03:40 UTC
Created attachment 170320 [details]
flamegraph

This is flamegraph. perf.data is 237M, too large to upload...
Comment 4 Bug Janitor Service 2024-06-25 03:47:34 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 Celeste Liu 2024-06-25 04:13:53 UTC
flamegraph has been uploaded, but perf data is too large to upload.
Comment 6 TraceyC 2025-04-15 16:34:00 UTC
Thanks for the bug report. I'm sorry we weren't able to get to this yet. There have been many fixes and improvements since this was opened, and this issue may have been fixed.

Can you please re-test on your system with Plasma 6.3.4 or later and let us know if you can still reproduce the problem?
If you do still see performance issues, can you attach a new screenshot of the flame graph?
 Thanks!
Comment 7 Bug Janitor Service 2025-04-30 03:47:26 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2025-05-15 03:46:48 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.