creating a custom screen resolution

Hello people,

I am trying to create a custom screen resolution - need it for a 3d game which doesnt show good performance with 1280x800. I have widescreen and standard lower-res modes are not good.

960x600 seems to be the one I need, however I can’t even make it possible to try: even though I created a modeline for it (using this link The XFree86 Modeline Generator) and added into xorg.conf, I don’t have the mode selectable in sax2.

There is my xorg.conf:

/…/

SaX generated X11 config file

Created on: 2008-11-02T15:01:48+1200.

Version: 8.1

Contact: Marcus Schaefer <sax@suse.de>, 2005

Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>

Automatically generated by [SaX2] (8.1)

PLEASE DO NOT EDIT THIS FILE!

Section “Files”
FontPath “/usr/share/fonts/misc:unscaled”
FontPath “/usr/share/fonts/local”
FontPath “/usr/share/fonts/75dpi:unscaled”
FontPath “/usr/share/fonts/100dpi:unscaled”
FontPath “/usr/share/fonts/Type1”
FontPath “/usr/share/fonts/URW”
FontPath “/usr/share/fonts/Speedo”
FontPath “/usr/share/fonts/PEX”
FontPath “/usr/share/fonts/cyrillic”
FontPath “/usr/share/fonts/latin2/misc:unscaled”
FontPath “/usr/share/fonts/latin2/75dpi:unscaled”
FontPath “/usr/share/fonts/latin2/100dpi:unscaled”
FontPath “/usr/share/fonts/latin2/Type1”
FontPath “/usr/share/fonts/latin7/75dpi:unscaled”
FontPath “/usr/share/fonts/baekmuk:unscaled”
FontPath “/usr/share/fonts/japanese:unscaled”
FontPath “/usr/share/fonts/kwintv”
FontPath “/usr/share/fonts/truetype”
FontPath “/usr/share/fonts/uni:unscaled”
FontPath “/usr/share/fonts/CID”
FontPath “/usr/share/fonts/ucs/misc:unscaled”
FontPath “/usr/share/fonts/ucs/75dpi:unscaled”
FontPath “/usr/share/fonts/ucs/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/misc:unscaled”
FontPath “/usr/share/fonts/hellas/75dpi:unscaled”
FontPath “/usr/share/fonts/hellas/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/Type1”
FontPath “/usr/share/fonts/misc/sgi:unscaled”
FontPath “/usr/share/fonts/xtest”
FontPath “/opt/kde3/share/fonts”
InputDevices “/dev/gpmdata”
InputDevices “/dev/input/mice”
EndSection

Section “Module”
Load “dbe”
Load “type1”
Load “freetype”
Load “extmod”
Load “glx”
Load “dri”
EndSection

Section “ServerFlags”
Option “AIGLX” “on”
Option “AllowMouseOpenFail” “on”
Option “IgnoreABI” “on”
Option “ZapWarning” “on”
EndSection

Section “InputDevice”
Driver “kbd”
Identifier “Keyboard[0]”
Option “Protocol” “Standard”
Option “XkbLayout” “us,ru”
Option “XkbModel” “microsoftpro”
Option “XkbOptions” “grp:ctrl_shift_toggle,grp_led:scroll”
Option “XkbRules” “xfree86”
Option “XkbVariant” “,winkeys”
EndSection

Section “InputDevice”
Driver “mouse”
Identifier “Mouse[1]”
Option “Buttons” “5”
Option “Device” “/dev/input/mice”
Option “Name” “KYE Optical Mouse”
Option “Protocol” “explorerps/2”
Option “Vendor” “Sysp”
Option “ZAxisMapping” “4 5”
EndSection

Section “Monitor”
Option “CalcAlgorithm” “XServerPool”
DisplaySize 331 207
HorizSync 30-65
Identifier “Monitor[0]”
ModelName “SAMSUNG LCD MONITOR”
Option “DPMS”
Option “PreferredMode” “1280x800”
VendorName “SEC”
VertRefresh 43-60
UseModes “Modes[0]”
EndSection

Section “Modes”
Identifier “Modes[0]”
Modeline “960x600” 45.28 960 992 1160 1192 600 612 618 631
EndSection

Section “Device”
BoardName “Framebuffer Graphics”
Driver “fglrx”
Identifier “Device[0]”
Option “Capabilities” “0x00000000”
Option “VideoOverlay” “on”
Option “OpenGLOverlay” “off”
Option “FSAAEnable” “off”
Option “FSAAScale” “0”
Option “XAANoOffscreenPixmaps” “true”
VendorName “VESA”
EndSection

Section “Screen”
DefaultDepth 24
SubSection “Display”
Depth 15
Modes “1280x800” “960x600”
EndSubSection
SubSection “Display”
Depth 16
Modes “1280x800” “960x600”
EndSubSection
SubSection “Display”
Depth 24
Modes “1280x800” “960x600”
EndSubSection
SubSection “Display”
Depth 8
Modes “1280x800” “960x600”
EndSubSection
Device “Device[0]”
Identifier “Screen[0]”
Monitor “Monitor[0]”
EndSection

Section “ServerLayout”
Identifier “Layout[all]”
InputDevice “Keyboard[0]” “CoreKeyboard”
InputDevice “Mouse[1]” “CorePointer”
Screen “Screen[0]”
EndSection

Section “DRI”
Group “video”
Mode 0660
EndSection

I even tried completely removing all “1280x800” and setting PreferredMode to be 960x600 as well but it would start 1280x800 still. So I’m completely lost at this point.

Any suggestions?