Friday, September 02, 2022

adding display modes in Linux

Following various posts, first we use cvt to find a mode supported by the monitor and get the modeline, and then add it and enable it using xrandr:
cvt 1600 900
# this would return the relevant mode-line, which is copy-pasted below.
xrandr --newmode "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
xrandr 
# use xrandr without arguments to find the display name, which was VGA-1 in this case
xrandr --addmode VGA-1 "1600x900_60.00"

If there is a working mode in Windows, we can use Powerstrip to find it, copy-paste the modeline and use it in Linux.

There are various ways to make this permanent, including xorg.conf editing as mentioned at

No comments:

Post a Comment