Bug 400115 - KScreen refresh rate settings applies after KWin starts
Summary: KScreen refresh rate settings applies after KWin starts
Status: RESOLVED WORKSFORME
Alias: None
Product: KScreen
Classification: Plasma
Component: common (other bugs)
Version First Reported In: 5.14.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-21 15:10 UTC by b8h8vm0lf
Modified: 2022-12-08 05:15 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description b8h8vm0lf 2018-10-21 15:10:18 UTC
I have 75 Hz monitor, only one, but default refresh rate provided by EDID is 60 Hz. If I choose 75 Hz refresh rate in KScreen, apply it and save, then after reboot and starting clean plasma session I have 75 Hz refresh rate due to 
xrandr but 60 FPS in KWin due to qdbus org.kde.KWin /KWin supportInformation. 
As result, animation is choppy and laggy.
If I run kwin --replace KWin restarts at 75 FPS and everything become smooth.

As a workaround, I need to have file in /etc/X11/Xsession.d/ with command "xrandr --output DisplayPort-0 --mode 0x5a;" that sets monitor to 1080p@75Hz. Command in file is executed by SDDM on startup before KWin starts so KWin reads right xrandr options and starts at 75 FPS.

I think, KScreen must set xrandr options on plasma session startup strictly before KWin starts.

SOFTWARE VERSIONS
KDE Plasma Version: 5.14.1
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2
X.org Version: 1.19.6
Comment 1 Nate Graham 2022-11-08 20:27:37 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please see if you can reproduce the issue with Plasma 5.25 or 5.26?

If you can, please change the status to CONFIRMED when replying. Thanks a lot!
Comment 2 Bug Janitor Service 2022-11-23 05:15:29 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 3 Bug Janitor Service 2022-12-08 05:15:03 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!