Bug 455529 - Show FPS effect - anything over 100 is shown as 100fps
Summary: Show FPS effect - anything over 100 is shown as 100fps
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.24.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-18 06:16 UTC by andy
Modified: 2024-06-10 13:33 UTC (History)
2 users (show)

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


Attachments
fps indicator showing 100 (17.53 KB, image/png)
2022-06-18 06:16 UTC, andy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andy 2022-06-18 06:16:26 UTC
Created attachment 149877 [details]
fps indicator showing 100

SUMMARY
Anything over 100fps is shown as 100fps on the screen.  Also the last "0" in 100 is slightly cut off (see screenshot).

Have 165Hz monitor and using

KWIN_X11_REFRESH_RATE=165000
KWIN_X11_NO_SYNC_TO_VBLANK=1
KWIN_X11_FORCE_SOFTWARE_VSYNC=1

If I run an intense shader I can see the numbers dip below 100 (e.g. down to 60), but when running at high framerate it doesn't show numbers higher than 100.

STEPS TO REPRODUCE
1. Setup a screen with >100Hz refreshrate
2. Enable FPS effect

OBSERVED RESULT
FPS indicator show "100"

EXPECTED RESULT
FPS indicator shows e.g. "165"

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.15.46.1-lts
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
Comment 1 andy 2022-07-18 01:22:30 UTC
Now seeing up to the max "165" I'm expecting in the fps effect, albeit with 3rd number partially cut off, /w KDE Plasma 5.25.3, KDE Frameworks 5.96.0