Automate desired resolution at login

jeb at askur.org jeb at askur.org
Sat Jan 18 12:11:07 PST 2014


When I log into X I seem to have the wrong resolution (My screen: vga
19"LCD envision rated at 1440x900). I am able to get around that by typing
the following:

xrandr --newmode "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903
909 934 -hsync +vsync
xrandr --addmode VGA-0 1440x900_60.00
xrandr --output VGA-0 --mode 1440x900_60.00

I haven't been able to figure out how to make this happen automatically,
i.e. how to save this as the default mode at login.

If you look at the log excerpt which is attached you see that there are
some modes selected there but I don't know how to change that. I don't
know where those modes came from.

Trying Xorg -configure was unsuccessful due to "Number of screens..."

Could you make any recommendations or point me in the right direction?

Thank you, Jon.

[  2142.973] (II) RADEON(0): Output VGA-0 using monitor section Monitor0
[  2142.975] (II) RADEON(0): Output HDMI-0 has no monitor section
[  2143.204] (II) RADEON(0): EDID for output VGA-0
[  2143.204] (II) RADEON(0): Printing probed modes for output VGA-0
[  2143.204] (II) RADEON(0): Modeline "1024x768"x60.0   65.00  1024 1048
1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[  2143.204] (II) RADEON(0): Modeline "800x600"x60.3   40.00  800 840 968
1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[  2143.204] (II) RADEON(0): Modeline "800x600"x56.2   36.00  800 824 896
1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[  2143.204] (II) RADEON(0): Modeline "848x480"x60.0   33.75  848 864 976
1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[  2143.204] (II) RADEON(0): Modeline "640x480"x59.9   25.18  640 656 752
800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[  2143.206] (II) RADEON(0): EDID for output HDMI-0
[  2143.206] (II) RADEON(0): Output VGA-0 connected
[  2143.206] (II) RADEON(0): Output HDMI-0 disconnected
[  2143.206] (II) RADEON(0): Using exact sizes for initial modes
[  2143.206] (II) RADEON(0): Output VGA-0 using initial mode 1024x768
[  2143.206] (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless
otherwise stated.
[  2143.206] (II) RADEON(0): mem size init: gart size :1fdff000 vram size:
s:10000000 visible:fcc0000
[  2143.206] (II) RADEON(0): EXA: Driver will allow EXA pixmaps in VRAM
[  2143.206] (==) RADEON(0): DPI set to (96, 96)




More information about the xorg mailing list