Saturday, 22 January 2011

resolution fedora

Annoying when fedora does not pick up the actual resolution your monitor can do...

God bless linux cli though.. let see
gtf 1680 1050 60 -x

# 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync

This is the mode you want to add to your display
xrandr --newmode "1680x1050_60.00" 147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync

Now that it is added we have to assign it to the monitor you want to use it in
xrandr

Screen 0: minimum 320 x 200, current 2304 x 768, maximum 8192 x 8192
LVDS1 connected (normal left inverted right x axis y axis)
1366x768       60.2 +
1024x768       60.0
800x600        60.3     56.2
640x480        59.9
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768       60.0*
800x600        60.3     56.2
848x480        60.0
640x480        59.9
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 1280x720+1024+0 (normal left inverted right x axis y axis) 160mm x 90mm
1280x720       60.0*+   50.0
720x576        50.0
720x480        59.9
640x480        60.0
DP2 disconnected (normal left inverted right x axis y axis)

In this case it is VGA1 so:
xrandr --addmode VGA1 1680x1050_60.00

And done! If you go to System -> Preferences -> Monitors the new mode will be available :D

Have fun :D

No comments:

Post a Comment