Bug 480987 - Show FPS increases CPU usage of kwin_wayland by around 20%.
Summary: Show FPS increases CPU usage of kwin_wayland by around 20%.
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-07 06:37 UTC by feature
Modified: 2024-05-14 21:08 UTC (History)
1 user (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 feature 2024-02-07 06:37:43 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Show FPS increases CPU usage of kwin_wayland by around 25%.

STEPS TO REPRODUCE
1. In settings select window management
2. Select Desktop effects
3. Enable Show FPS

OBSERVED RESULT
CPU usage increases by about 20%

EXPECTED RESULT
CPU usage should not noticeably increase.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2024-02-12 09:08:48 UTC
The show fps triggers constant repaints. kwin seems to spend most of its time in the driver code.