1920x1200 support to my xorg.conf

I’m new at these forums, so hello :slight_smile:

To even boot up my default OpenSUSE installation I had to use the contents of xorg.conf.install as my xorg.conf.

This works, but only in 1280x1024 res. I wan’t 1920x1200. How can I get this into my xorg.conf?

And while I’m at it, how do I set a Danish keyboard layout?

I’m all new in OpenSUSE.

my xorg.conf:

# generic XFree86 4.x configuration file

Section "Files"
  FontPath		"/usr/share/fonts/truetype/"
  FontPath		"/usr/share/fonts/uni/"
  FontPath		"/usr/share/fonts/misc/"
  ModulePath		"/usr/lib64/xorg/modules"
  InputDevices	"/dev/ttyS0"
  InputDevices	"/dev/ttyS1"
  InputDevices	"/dev/ttyS2"
  InputDevices	"/dev/ttyS3"
  InputDevices	"/dev/ttyS4"
  InputDevices	"/dev/ttyS5"
  InputDevices	"/dev/ttyS6"
  InputDevices	"/dev/ttyS7"
  InputDevices	"/dev/ttyS8"
  InputDevices	"/dev/psaux"
  InputDevices	"/dev/logibm"
  InputDevices	"/dev/sunmouse"
  InputDevices	"/dev/atibm"
  InputDevices	"/dev/amigamouse"
  InputDevices	"/dev/atarimouse"
  InputDevices	"/dev/inportbm"
  InputDevices	"/dev/gpmdata"
  InputDevices	"/dev/usbmouse"
  InputDevices	"/dev/adbmouse"
  InputDevices	"/dev/input/mice"
  InputDevices	"/dev/input/event0"
EndSection

Section "ServerFlags"
  Option	"AllowMouseOpenFail"
  Option	"BlankTime"	"0"
EndSection

Section "Module"
  Load	"dbe"
  Load	"extmod"
EndSection

Section "InputDevice"
  Driver		"kbd"
  Identifier	"Keyboard[0]"
  Option		"Protocol"		"Standard"
  Option		"XkbRules"		"xfree86"
  Option		"XkbKeycodes"	"xfree86"
  Option		"XkbModel"		"pc104"
  Option		"XkbLayout"		"us"
EndSection

Section "InputDevice"
  Driver     "mouse"
  Identifier "Mouse[1]"
  Option     "Protocol" "explorerps/2"
  Option     "Device"   "/dev/input/mice"
EndSection

Section "InputDevice"
  Driver     "mouse"
  Identifier "Mouse[3]"
  Option     "Protocol" "explorerps/2"
  Option     "Device"   "/dev/input/mice"
EndSection

Section "Monitor"
  HorizSync		25-40
  Identifier	"Monitor[0]"
  ModelName		"Initial"
  VendorName	"Initial"
  VertRefresh	47-75
  UseModes		"Modes[0]"
EndSection


Section "Modes"
  Identifier	"Modes[0]"
  Modeline      "800x600" 40.0   800 840 968 1056 600 601 605 628 +hsync +vsync
  Modeline		"640x480" 31.5   640 656 720 840  480 481 484 500 # 6. Try
  Modeline		"640x480" 31.5   640 680 720 864  480 488 491 521 # 5. Try
  Modeline		"640x480" 28     640 664 760 800  480 491 493 525 # 4. Try
  Modeline		"640x480" 28.32  640 664 760 800  480 491 493 525 # 3. Try
  Modeline		"640x480" 25.18  640 664 760 800  480 491 493 525 # 2. Try
  Modeline		"640x480" 25.175 640 664 760 800  480 491 493 525 # 1. Try
EndSection

Section "Monitor"
  HorizSync		28-33
  Identifier	"Monitor[vmware]"
  ModelName		"Initial"
  VendorName	"Initial"
  VertRefresh	43-72
  UseModes		"Modes[vmware]"
EndSection
    
Section "Modes"
  Identifier	"Modes[vmware]"
  Modeline		"800x600" 29.38 800 816 896 992 600 601 604 617
EndSection

Section "Monitor"
  HorizSync		31-48
  Identifier	"Monitor[vesa]"
  ModelName		"VESA"
  VendorName	"VESA"
  VertRefresh	50-60
EndSection

# Screen Section for module X support
# -------------------------------------
Section "Screen"
  DefaultDepth 16
  SubSection "Display"
    Depth		16
    Modes		"800x600" 
  EndSubSection
  SubSection "Display"
    Depth		24
    Modes		"800x600" 
  EndSubSection
  SubSection "Display"
    Depth		32
    Modes		"800x600" 
  EndSubSection
  SubSection "Display"
    Depth		8
    Modes		"800x600" 
  EndSubSection
  Device		"Device[0]"
  Identifier	"Screen[0]"
  Monitor		"Monitor[0]"
EndSection

# Screen Section for fbdev support
# vesafb defaults to 16bit
# others default to 8bit, force a higher colordepth
# on Apple onboard controllers, remove the default #207338
# changes for DefaultDepth have to be made in /usr/lib/YaST2/startup/YaST2.call as well
# ----------------------------------
Section "Screen"
#@DefaultDepth@
  SubSection "Display"
    Depth		16
    Modes		"default"            
  EndSubSection
  SubSection "Display"
    Depth		15
    Modes		"default"            
  EndSubSection
  SubSection "Display"
    Depth		24
    Modes		"default"  
  EndSubSection
  SubSection "Display"
    Depth		32
    Modes		"default"  
  EndSubSection
  SubSection "Display"
    Depth		8
    Modes		"default"  
  EndSubSection
  Device		"Device[fbdev]"
  Identifier	"Screen[fbdev]"
  Monitor		"Monitor[0]"
EndSection

# Screen Section for vesa support
# ----------------------------------
Section "Screen"
  SubSection "Display"
    Depth		16
    Modes		"default"            
  EndSubSection
  SubSection "Display"
    Depth		8
    Modes		"default"  
  EndSubSection
  Device		"Device[vesa]"
  Identifier	"Screen[vesa]"
  Monitor       "Monitor[vesa]"
EndSection

# Screen Section for vmware support
# ----------------------------------
Section "Screen"
  SubSection "Display"
    Depth		8
    Modes		"800x600"
  EndSubSection
  SubSection "Display"
    Depth		16
    Modes		"800x600"
  EndSubSection
  SubSection "Display"
    Depth		24
    Modes		"800x600"
  EndSubSection
  Device		"Device[vmware]"
  Identifier	"Screen[vmware]"
  Monitor		"Monitor[vmware]"
EndSection

# Device Sections...
# -------------------
Section "Device"
  #BusID        "1:0:0"
  Driver		"ChangeMe"
  Identifier	"Device[0]"
  # device_options
  Option		"sw_cursor"	"on"
EndSection

Section "Device"
  Driver		"fbdev"
  Identifier	"Device[fbdev]"
  # fbdev_options
EndSection

Section "Device"
  Driver		"vesa"
  #Option        "DefaultRefresh"
  Option        "ModeSetClearScreen" "no"
  Identifier	"Device[vesa]"
EndSection

Section "Device"
  Driver		"vmware"
  Identifier	"Device[vmware]"
EndSection

Section "ServerLayout"
  Identifier	"Layout[all]"
  InputDevice	"Keyboard[0]"	"CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option		"Xinerama"		"off"
  Screen   "Screen[fbdev]"
EndSection


You haven’t posted any information about your system config, but I’m guessing you should run sax2 (either launch SaX2 from the CLI or use Yast to configure your graphics adapter). A generic xorg.conf won’t cut it.

FWIW, I have no problems with 1920x1200 on my laptop. I’m using the nvidia driver.

I’ll post my xorg.conf if it helps, but unless you’re using an nvidia card it may not be of much use. SaX2 will help get your xorg.conf aligned.

Cheers,
KV

Thank you for your reply.

About my system config - what type of info do you need - hardware config?

AMD Phenom 9850 Quad CPU
Radeon HD 3870x2 GPU
4gb RAM @ 800 mhz

This is me trying to launch sax2 from a shell

# sax2
SaX: initializing please wait...
SaX: your current configuration will not be read in

SaX: access to your display has been granted
*** buffer overflow detected ***: /usr/sbin/sysp terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x7fc8c1acd3f7]
/lib64/libc.so.6[0x7fc8c1acb1a0]
/lib64/libc.so.6[0x7fc8c1ac9f8d]
/usr/sbin/sysp[0x433e83]
/usr/sbin/sysp[0x43420a]
/usr/sbin/sysp[0x4240d9]
/usr/sbin/sysp[0x41a2ed]
/usr/sbin/sysp[0x40932f]
/usr/sbin/sysp[0x409ca7]
/lib64/libc.so.6(__libc_start_main+0xe6)[0x7fc8c1a03436]
/usr/sbin/sysp(__gxx_personality_v0+0xf9)[0x404c69]
======= Memory map: ========
00400000-00448000 r-xp 00000000 08:26 409022                             /usr/sbin/sysp
00647000-00648000 r--p 00047000 08:26 409022                             /usr/sbin/sysp
00648000-00649000 rw-p 00048000 08:26 409022                             /usr/sbin/sysp
00649000-00beb000 rw-p 00649000 00:00 0                                  [heap]
7fc8c0961000-7fc8c0963000 r-xp 00000000 08:26 393432                     /usr/lib64/libXau.so.6.0.0
7fc8c0963000-7fc8c0b62000 ---p 00002000 08:26 393432                     /usr/lib64/libXau.so.6.0.0
7fc8c0b62000-7fc8c0b63000 r--p 00001000 08:26 393432                     /usr/lib64/libXau.so.6.0.0
7fc8c0b63000-7fc8c0b64000 rw-p 00002000 08:26 393432                     /usr/lib64/libXau.so.6.0.0
7fc8c0b64000-7fc8c0b68000 r-xp 00000000 08:26 65286                      /lib64/libuuid.so.1.2
7fc8c0b68000-7fc8c0d67000 ---p 00004000 08:26 65286                      /lib64/libuuid.so.1.2
7fc8c0d67000-7fc8c0d68000 r--p 00003000 08:26 65286                      /lib64/libuuid.so.1.2
7fc8c0d68000-7fc8c0d69000 rw-p 00004000 08:26 65286                      /lib64/libuuid.so.1.2
7fc8c0d69000-7fc8c0d72000 r-xp 00000000 08:26 393628                     /usr/lib64/libXrender.so.1.3.0
7fc8c0d72000-7fc8c0f71000 ---p 00009000 08:26 393628                     /usr/lib64/libXrender.so.1.3.0
7fc8c0f71000-7fc8c0f72000 r--p 00008000 08:26 393628                     /usr/lib64/libXrender.so.1.3.0
7fc8c0f72000-7fc8c0f73000 rw-p 00009000 08:26 393628                     /usr/lib64/libXrender.so.1.3.0
7fc8c0f73000-7fc8c0f84000 r-xp 00000000 08:26 393474                     /usr/lib64/libXext.so.6.4.0
7fc8c0f84000-7fc8c1183000 ---p 00011000 08:26 393474                     /usr/lib64/libXext.so.6.4.0
7fc8c1183000-7fc8c1184000 r--p 00010000 08:26 393474                     /usr/lib64/libXext.so.6.4.0
7fc8c1184000-7fc8c1185000 rw-p 00011000 08:26 393474                     /usr/lib64/libXext.so.6.4.0
7fc8c1185000-7fc8c1187000 r-xp 00000000 08:26 65294                      /lib64/libdl-2.8.so
7fc8c1187000-7fc8c1387000 ---p 00002000 08:26 65294                      /lib64/libdl-2.8.so
7fc8c1387000-7fc8c1388000 r--p 00002000 08:26 65294                      /lib64/libdl-2.8.so
7fc8c1388000-7fc8c1389000 rw-p 00003000 08:26 65294                      /lib64/libdl-2.8.so
7fc8c1389000-7fc8c13a4000 r-xp 00000000 08:26 393475                     /usr/lib64/libxcb.so.1.0.0
7fc8c13a4000-7fc8c15a3000 ---p 0001b000 08:26 393475                     /usr/lib64/libxcb.so.1.0.0
7fc8c15a3000-7fc8c15a4000 r--p 0001a000 08:26 393475                     /usr/lib64/libxcb.so.1.0.0
7fc8c15a4000-7fc8c15a5000 rw-p 0001b000 08:26 393475                     /usr/lib64/libxcb.so.1.0.0
7fc8c15a5000-7fc8c15a6000 r-xp 00000000 08:26 393510                     /usr/lib64/libxcb-xlib.so.0.0.0
7fc8c15a6000-7fc8c17a5000 ---p 00001000 08:26 393510                     /usr/lib64/libxcb-xlib.so.0.0.0
7fc8c17a5000-7fc8c17a6000 r--p 00000000 08:26 393510                     /usr/lib64/libxcb-xlib.so.0.0.0
7fc8c17a6000-7fc8c17a7000 rw-p 00001000 08:26 393510                     /usr/lib64/libxcb-xlib.so.0.0.0
7fc8c17a7000-7fc8c17e3000 r-xp 00000000 08:26 65400                      /lib64/libdbus-1.so.3.4.0
7fc8c17e3000-7fc8c19e3000 ---p 0003c000 08:26 65400                      /lib64/libdbus-1.so.3.4.0
7fc8c19e3000-7fc8c19e4000 r--p 0003c000 08:26 65400                      /lib64/libdbus-1.so.3.4.0
7fc8c19e4000-7fc8c19e5000 rw-p 0003d000 08:26 65400                      /lib64/libdbus-1.so.3.4.0
7fc8c19e5000-7fc8c1b34000 r-xp 00000000 08:26 65384                      /lib64/libc-2.8.so
7fc8c1b34000-7fc8c1d34000 ---p 0014f000 08:26 65384                      /lib64/libc-2.8.so
7fc8c1d34000-7fc8c1d38000 r--p 0014f000 08:26 65384                      /lib64/libc-2.8.so
7fc8c1d38000-7fc8c1d39000 rw-p 00153000 08:26 65384                      /lib64/libc-2.8.so
7fc8c1d39000-7fc8c1d3e000 rw-p 7fc8c1d39000 00:00 0
7fc8c1d3e000-7fc8c1d54000 r-xp 00000000 08:26 65309                      /lib64/libgcc_s.so.1
7fc8c1d54000-7fc8c1f53000 ---p 00016000 08:26 65309                      /lib64/libgcc_s.so.1
7fc8c1f53000-7fc8c1f54000 r--p 00015000 08:26 65309                      /lib64/libgcc_s.so.1
7fc8c1f54000-7fc8c1f55000 rw-p 00016000 08:26 65309                      /lib64/libgcc_s.so.1
7fc8c1f55000-7fc8c1faa000 r-xp 00000000 08:26 65383                      /lib64/libm-2.8.so
7fc8c1faa000-7fc8c21a9000 ---p 00055000 08:26 65383                      /lib64/libm-2.8.so
7fc8c21a9000-7fc8c21aa000 r--p 00054000 08:26 65383                      /lib64/libm-2.8.so
7fc8c21aa000-7fc8c21ab000 rw-p 00055000 08:26 65383                      /lib64/libm-2.8.so
7fc8c21ab000-7fc8c21ae000 r-xp 00000000 08:26 393595                     /usr/lib64/libXxf86misc.so.1.1.0
7fc8c21ae000-7fc8c23ad000 ---p 00003000 08:26 393595                     /usr/lib64/libXxf86misc.so.1.1.0
7fc8c23ad000-7fc8c23ae000 r--p 00002000 08:26 393595                     /usr/lib64/libXxf86misc.so.1.1.0
7fc8c23ae000-7fc8c23af000 rw-p 00003000 08:26 393595                     /usr/lib64/libXxf86misc.so.1.1.0
7fc8c23af000-7fc8c23bf000 r-xp 00000000 08:26 393416                     /usr/lib64/libhal.so.1.0.0
7fc8c23bf000-7fc8c25be000 ---p 00010000 08:26 393416                     /usr/lib64/libhal.so.1.0.0
7fc8c25be000-7fc8c25bf000 r--p 0000f000 08:26 393416                     /usr/lib64/libhal.so.1.0.0
7fc8c25bf000-7fc8c25c0000 rw-p 00010000 08:26 393416                     /usr/lib64/libhal.so.1.0.0
7fc8c25c0000-7fc8c25c7000 r-xp 00000000 08:26 393650                     /usr/lib64/libXrandr.so.2.1.0
7fc8c25c7000-7fc8c27c6000 ---p 00007000 08:26 393650                     /usr/lib64/libXrandr.so.2.1.0
7fc8c27c6000-7fc8c27c7000 r--p 00006000 08:26 393650                     /usr/lib64/libXrandr.so.2.1.0
7fc8c27c7000-7fc8c27c8000 rw-p 00007000 08:26 393650                     /usr/lib64/libXrandr.so.2.1.0
7fc8c27c8000-7fc8c28ff000 r-xp 00000000 08:26 393380                     /usr/lib64/libX11.so.6.2.0
7fc8c28ff000-7fc8c2aff000 ---p 00137000 08:26 393380                     /usr/lib64/libX11.so.6.2.0
7fc8c2aff000-7fc8c2b00000 r--p 00137000 08:26 393380                     /usr/lib64/libX11.so.6.2.0
7fc8c2b00000-7fc8c2b05000 rw-p 00138000 08:26 393380                     /usr/lib64/libX11.so.6.2.0
7fc8c2b05000-7fc8c2bf5000 r-xp 00000000 08:26 393430                     /usr/lib64/libstdc++.so.6.0.10
7fc8c2bf5000-7fc8c2df5000 ---p 000f0000 08:26 393430                     /usr/lib64/libstdc++.so.6.0.10
7fc8c2df5000-7fc8c2dfc000 r--p 000f0000 08:26 393430                     /usr/lib64/libstdc++.so.6.0.10
7fc8c2dfc000-7fc8c2dfe000 rw-p 000f7000 08:26 393430                     /usr/lib64/libstdc++.so.6.0.10
7fc8c2dfe000-7fc8c2e11000 rw-p 7fc8c2dfe000 00:00 0
7fc8c2e11000-7fc8c2ece000 r-xp 00000000 08:26 393552                     /usr/lib64/libhd.so.14.19
7fc8c2ece000-7fc8c30cd000 ---p 000bd000 08:26 393552                     /usr/lib64/libhd.so.14.19
7fc8c30cd000-7fc8c30cf000 r--p 000bc000 08:26 393552                     /usr/lib64/libhd.so.14.19
7fc8c30cf000-7fc8c31ce000 rw-p 000be000 08:26 393552                     /usr/lib64/libhd.so.14.19
7fc8c31ce000-7fc8c31d0000 rw-p 7fc8c31ce000 00:00 0
7fc8c31d0000-7fc8c31ed000 r-xp 00000000 08:26 65324                      /lib64/ld-2.8.so
7fc8c322c000-7fc8c3291000 rw-p 7fc8c32b9000 00:00 0
7fc8c32e7000-7fc8c3328000 rw-p 7fc8c32e7000 00:00 0
7fc8c3328000-7fc8c3368000 rw-s 00000000 00:09 458752                     /SYSV00000000 (deleted)
7fc8c3368000-7fc8c33d4000 rw-p 7fc8c3368000 00:00 0
7fc8c33ea000-7fc8c33ed000 rw-p 7fc8c33ea000 00:00 0
7fc8c33ed000-7fc8c33ee000 r--p 0001d000 08:26 65324                      /lib64/ld-2.8.so
7fc8c33ee000-7fc8c33ef000 rw-p 0001e000 08:26 65324                      /lib64/ld-2.8.so
7fffcb3d4000-7fffcb3ef000 rw-p 7ffffffe4000 00:00 0                      [stack]
7fffcb3fe000-7fffcb400000 r-xp 7fffcb3fe000 00:00 0                      [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Died at /usr/share/sax/init.pl line 653.

Going through yast/hardware and trying to acess screen and graphics setting will just do nothing.

I know for a fact that there’s no good (gl supporting) video driver for my card yet, but I am getting 1920x1200 by default in other distros (Fedora and Ubuntu), so I know it’s possible.