Bug 490949

Summary: Switching between X11 and Wayland doesn't retain refresh rate.
Product: [Applications] systemsettings Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: kcm_kscreenAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: kwin-bugs-null, nate, plasma-bugs-null, uhhadd
Priority: NOR    
Version First Reported In: 6.1.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of the KCM.

Description Roke Julian Lockhart Beedell 2024-07-28 21:20:00 UTC
Created attachment 172081 [details]
Screenshot of the KCM.

SUMMARY
When switching between display servers, this can be quite frustrating when the default is significantly below the ideal value.

STEPS TO REPRODUCE
1.  Set as 75 Hz in Wayland.
2.  Switch to X.

OBSERVED RESULT
My refresh rate reverts to 60 Hz - the default.

EXPECTED RESULT
My refresh rate should not be modified.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.11-200.fc40.x86_64 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASRock
Product Name: X670E Taichi

ADDITIONAL INFORMATION
If this is because the available rates can differ, then please verify whether the current rate from Wayland is available in X before reverting to the default otherwise.
Comment 1 Nate Graham 2024-07-30 19:18:37 UTC
Screen settings are independent between X11 and Wayland for technical reasons, sorry.
Comment 2 Roke Julian Lockhart Beedell 2024-07-30 19:35:18 UTC
(In reply to Nate Graham from comment #1)
Thanks anyway. That makes sense. Is it that it would be complex enough to implement that it wouldn't be worth the time, or practically infeasible? I could always try my hand at it if it's just a matter of checking whether a value in a file matches a value in another.