« classicthesis with figures using full widthSpectral Calculations with OpenMP »

Setting up NVidia TwinView

Well, it was time to discard my old Xinerama xorg.conf in Kubuntu Jaunty. From a few friendly hints I finally managed to establish a simple procedure. I installed the manufacturer driver a while ago.

  1. Start X with an empty configuration or sudo nvidia-xconfig and only one monitor
  2. Connect the second monitor
  3. Start nvidia-settings and add the second monitor. Save the configuration.
  4. If the Resolution is not sufficent, add Monitor sections for all Monitors and set the metamodes to auto

So, my xorg.conf now looks like this:

# twinview, both monitors set via section and nvidia-auto-select

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
  Identifier "Scott"
  Modelname "hr17c"
  VertRefresh 60-100
  HorizSync 42-80
  DisplaySize 325 243
  Modeline "1280x1024@75"  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync
  Option "DPMS"
EndSection

Section "Monitor"
  Identifier "Samsung"
  Modelname "226BW"
  VertRefresh 56-75
  HorizSync 30-80
  Option "DPMS"
  DisplaySize 474 296
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GT"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Samsung"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP: nvidia-auto-select +0+0, CRT: nvidia-auto-select +1680+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Tags: linux, nvidia, x11
by axel
2009-12-02. 03:56:20. 217 words, 2530 views. Categories: linux , Leave a comment »Send a trackback »

Trackback address for this post

Trackback URL (right click and copy shortcut/link location)

Feedback awaiting moderation

This post has 820 feedbacks awaiting moderation...

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)