The Road to Elysium

February 26, 2008

OpenSuSe and Dual Head

Filed under: Linux — jorge @ 19:29

So! I’m finally back to working, and things seem to be going pretty good. :) I’m working with a really nice guy, who seems to be genuinely interested in what I have to say, so that’s a big plus! Anyway, for my “efforts”, Marte granted me the wish of me having another computer monitor! For those of you reading there, here you go. If you want some new equipment, just nag your better half for 2 years, and eventually he/she will give in! The new monitor I got is this one: http://www.komplett.no/k/ki.aspx?sku=342945.

I’m currently using OpenSuse 10.3 at home, and have a 17″ Eizo L550 from before, and now the new Eizo S2201W (a 22″ monitor). So I want to set up a dual head system, with the widescreen being my main desktop, and the 17″ being my second monitor, having an independent desktop (that means no Xinerama or Twinview).

After having cursed and tried over and over, I finally got it to work. Instead of explaining the whole deal, I’ll just paste my xorg.conf. There is one thing I can mention though. If you have an NVIDIA-card, remember to install the drivers from www.nvidia.com. Once the drivers are installed, start X, and open a terminal. su to root, and type nvidia-settings. There you’ll be able to modify how your monitors should interact with each other. Unfortunately (or fortunately rather), I haven’t tried this with ATI yet, as I’ve yet wounds to heal when it comes to that particular brand of graphics-cards. Anyway, here’s my xorg.conf!

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Wed Sep 12 14:30:30 PDT 2007

# /.../
# SaX generated X11 config file
# Created on: 2008-02-26T17:33:13+0100.
#
# Version: 8.1
# Contact: Marcus Schaefer , 2005
# Contact: SaX-User list 
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

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

Section "Files"
    InputDevices      "/dev/gpmdata"
    InputDevices      "/dev/input/mice"
    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"
EndSection

Section "Module"
    Load           "extmod"
    Load           "type1"
    Load           "glx"
    Load           "freetype"
    Load           "dbe"
EndSection

Section "ServerFlags"
    Option         "AllowMouseOpenFail" "on"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Keyboard[0]"
    Driver         "kbd"
    Option         "Protocol" "Standard"
    Option         "XkbLayout" "no"
    Option         "XkbModel" "microsoftpro"
    Option         "XkbRules" "xfree86"
EndSection

Section "InputDevice"
    Identifier     "Mouse[1]"
    Driver         "mouse"
    Option         "Buttons" "6"
    Option         "Device" "/dev/input/mice"
    Option         "Name" "ImExPS/2 Generic Explorer Mouse"
    Option         "Protocol" "explorerps/2"
    Option         "Vendor" "Sysp"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Modes"
    Identifier         "Modes[0]"
EndSection

Section "Modes"
    Identifier         "Modes[1]"
EndSection

Section "Monitor"

#  HorizSync    30-71
#  Option       "DPMS"
#  VertRefresh  43-75
    Identifier     "Monitor[0]"
    VendorName     "GSM"
    ModelName      "Storskjerm Eizo"
    UseModes       "Modes[0]"
    Option         "CalcAlgorithm" "XServerPool"
#  DisplaySize  376 301
EndSection

Section "Monitor"

#  HorizSync    30-71
#  Option       "DPMS"
#  VertRefresh  50-75
    Identifier     "Monitor[1]"
    VendorName     "GSM"
    ModelName      "Litenskjerm Eizo"
    UseModes       "Modes[1]"
    Option         "CalcAlgorithm" "XServerPool"
#  DisplaySize  714 301
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "EIZO L550"
    HorizSync       31.0 - 80.0
    VertRefresh     56.0 - 76.0
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "EIZO S2201W"
    HorizSync       31.0 - 65.0
    VertRefresh     59.0 - 61.0
EndSection

Section "Device"
    Identifier     "Device[0]"
    Driver         "nvidia"
    VendorName     "NVidia"
    BoardName      "GeForce 8600 GT"
    Option         "RenderAccel" "True"
    Option         "EnablePageFlip" "on"
    BusID          "1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device[1]"
    Driver         "nvidia"
    VendorName     "NVidia"
    BoardName      "GeForce 8600 GT"
    Option         "RenderAccel" "True"
    Option         "EnablePageFlip" "on"
    BusID          "1:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600 GTS"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600 GTS"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen[0]"
    Device         "Device[0]"
    Monitor        "Monitor[0]"
    DefaultDepth    24
    SubSection     "Display"
        Depth       15
        Modes      "1680x1050"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1680x1050"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1680x1050"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen[1]"
    Device         "Device[1]"
    Monitor        "Monitor[1]"
    DefaultDepth    24
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024"
    EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT: nvidia-auto-select +0+0"
    Identifier     "Screen1"
    Device         "Videocard0"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT: 1280x1024 +0+0; CRT: nvidia-auto-select +0+0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard1"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP: 1680x1050 +0+0"
EndSection

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress