Xrandr

From Bitpost wiki
Jump to navigation Jump to search

Adding unfound resolutions

# Determine display requirements
cvt 1920 1080 60
   # 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
   Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

# Hardcode in a new mode that matches
xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

# Add it, then select it.  Ridiculous.
xrandr --addmode Virtual1 "1920x1080_60.00"
xrandr -s 1920x1080