this post was submitted on 17 Oct 2024
23 points (100.0% liked)

Linux

48190 readers
1330 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hello! I am on Fedora 40 KDE Edition (Wayland). I have monitor with two supported refresh rates (60, 50 Hz). How can I set custom refresh rate? I know, on Windows you can use CRU.

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 month ago (2 children)

You want to look into modifying your display EDID.

I don't believe there's a GUI for this on Linux but this post referencing the Archwiki might come in handy

https://foosel.net/til/how-to-override-the-edid-data-of-a-monitor-under-linux/

[–] [email protected] 1 points 4 weeks ago (2 children)

In this guide author dumped edid from disaplay and then loaded it without any modifications. So after reloading edid you can choose any resolution? Or I understood something wrong?

[–] [email protected] 4 points 4 weeks ago

I think you'd have to modify the edid, since you're setting a custom refresh rate, not a hidden one.

I've use wxEDID to force enable VRR before.

[–] [email protected] 1 points 4 weeks ago* (last edited 4 weeks ago)

Archwiki references a [@<refresh>] (presumably denoted as [@144] for something like 144Hz) property, hopefully that's all you should need to define, though I'm not sure if you'll need to manually recalculate vertical and horz timings or something.

Maybe this can help fill in any gaps

https://tomverbeure.github.io/video_timings_calculator

[–] [email protected] 1 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

I added new refresh rate for testing, but after enabling it I just get black screen. How to fix this issue?

[–] [email protected] 1 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

I'm sorry to hear that. Does this system only have access to this single display? If so, are you able to temporarily modify your grub before booting into the OS?

[–] [email protected] 1 points 4 weeks ago (1 children)

I set modified EDID in GRUB. I have only 1 display.

[–] [email protected] 1 points 4 weeks ago

I see. You can temporarily edit your grub before the OS loads. This should afford you the opportunity to boot into the system without EDID modifications, though im not sure if your modified EDID will still load under this scenario. If so, you may need to switch into a CLI session to undo your changes.

[–] [email protected] 1 points 3 weeks ago

in case you have not solved it, it's easy on Sway. man sway-output (kinda) tells you how to do it. Here's an example sway config line:

output HDMI-1 res --custom 1921x1081@61Hz

You can even change CRT timings like front porch, if you want that.