# force a new screen resolution 1920x1080 on radeon vga output (VGA-0)
#
# used when EDID infos are wrong and Xorg cannot set resolution automatically
#
# install this file as /etc/X11/pre-Xorg-settings and make it executable
#
# you need a patched /etc/gdm/Init/Default file that includes this file before
# the initctl command

# the modeline below is obtained using the 'cvt' util:
#
#	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

xrandr --output VGA-0 --newmode "1920x1080"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr --addmode VGA-0 1920x1080
xrandr --output VGA-0 --mode 1920x1080

