Set your monitor-refresh-rate with xrandr

2009/11/16 at 20:08 | Posted in Linux Hints | Leave a comment
Tags: , , , , ,

Currently I’m using a really old 21” monitor and (using kubuntu 9.10) I got a really shitty refresh rate of 60 Hz

I didn’t know better until a friend told me that this monitor should have at least some more Hz to go. So I tried to figure out what went wrong and why I could not change the frequency in the “System Settings”.

After looking a bit around a bit I found the solution:

1) calculate the needed modelines for the wanted resolution (1152×864) and refresh-rate (75)

me@linux~$ cvt 1152 864 75

2) add new mode for the monitor with xrandr

me@linux~$ xrandr --newmode "1152x864_75.00"  104.00  1152 1224 1344 1536  864 867 871 905
           -hsync +vsync

3) add new mode to the devices’ list

me@linux~$ xrandr --verbose --addmode VGA-0  "1152x864_75.00"

4) activate new mode

me@linux~$ xrandr --output VGA-0 --mode "1152x864_75.00"

That did the trick!

Advertisements

Create a free website or blog at WordPress.com.
Entries and comments feeds.