Bug 410178 - Screen framerate doesn't change with refresh rate changes
Summary: Screen framerate doesn't change with refresh rate changes
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: platform-x11-standalone (show other bugs)
Version: 5.23.5
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-25 07:21 UTC by Kailash
Modified: 2024-07-07 03:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
mgraesslin: Wayland-
mgraesslin: X11+


Attachments
Attached screenshot as proof (1.09 MB, image/png)
2019-07-25 07:21 UTC, Kailash
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kailash 2019-07-25 07:21:25 UTC
Created attachment 121710 [details]
Attached screenshot as proof

SUMMARY
I use a custom EDID file to set custom refresh rates for my laptop display. The refresh rates show up correctly on the Display & Monitor (kscreen) settings module but setting the preferred value changes only the refresh rate but not the frame rate. I've even tried setting MaxFPS=100 (matching my refresh rate) in kwinrc but it hasn't helped. But doing the same when the the preferred refresh rate is the first value in the EDID file (priority wise), I am able to use kwin at 100hz with 100 FPS but FPS remains at 100 even on switching to 60hz.

STEPS TO REPRODUCE
1. Open System Settings > Display & Monitor
2. Change Refresh Rate
3. Check Screen FPS on the Show FPS Desktop Effect

OBSERVED RESULT
 Refresh rate has been set to the correct value as evident from running `xrandr -q`. But screen FPS is unchanged (remains at 60).

EXPECTED RESULT
Frame rate is supposed to change along with refresh rate.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux/5.16.3
(available in About System)
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60.0
Qt Version: 5.13.0

ADDITIONAL INFORMATION
Comment 1 Kailash 2019-07-27 15:13:17 UTC
Is there any more information I could provide that would help with fixing this issue? Also, I noticed Painting blocks for vertical retrace is set to no like for the other guy that had this same issue.
Comment 2 galder 2022-01-26 22:48:43 UTC
thanks for reporting this issue.
I can confirm it.

my system:
Kubuntu 21.10
plasma: 5.23.5
x11
nvidia driver: 470.86

Regards
Comment 3 Zamundaaa 2024-06-07 16:25:18 UTC
Compositing scheduling has changed significantly since the last update on this bug report. Is this still happening in Plasma 6?
Comment 4 Bug Janitor Service 2024-06-22 03:47:32 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 2024-07-07 03:47:19 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!