High refresh rate Xorg
Written by on Read time: 3 minMost tutorials I could find for getting high refresh rate to work on Xorg boiled down to “just run xrandr
on login”.
I though, enjoy using actual configuration files instead of watching my screen blink in and out as I start i3
.
And it was surprisingly hard to figure out how to achieve it! The theory was simple though:
Just plomp down a file with the right contents to /etc/X11/xorg.conf.d/
.
In theory I should’ve just been able to get the right modeline with the cvt 2560 1440 144
, but mysteriously it didn’t work.
I even tried with the actual refresh rate of 143.91
, but the modeline it generated was just wrong.
What actually ended up working, was that instead of using cvt, was to run xrandr --verbose
just once to figure out the correct modeline.
An example snippet from it’s output:
|
|
Which could then be translated into the actual Xorg config file, which I saved at /etc/X11/xorg.conf.d/50-monitors.conf
:
|
|
Note that without defining the other monitors, they didn’t seem to show up for some reason.
Additionally you’ll probably want to tweak the identifiers to the same ones that xrandr
gives you if you’re copy-pasting the config.
Additionally you might want to use arandr
to arrange the screens so that the edges line up, and take the position values from that.
I also have the following at /etc/X11/xorg.conf.d/20-amdgpu.conf
for a beter experience;
|
|
And configurations for turning off the monitors on idle at /etc/X11/xorg.conf.d/80-serverflags.conf
|
|