Configuring multiple monitors

Mario Hoerich spambox at MHoerich.de
Sat Sep 17 06:21:13 PDT 2005


# Pat Maddox:
> Anyway I've got a Dell 2001fp and a Viewsonic vp201, hooked up to a
> GeForce4 Ti4600. 

You'll need to run the binary nvidia-driver (~ports/x11/nvidia-driver)
for this to work.  Once that works, the xorg.conf-entries are rather
simple:

 # see /usr/X11R6/share/doc/NVIDIA_GLX-1.0 for nVidia-specific docs
 Section "Device"
   Identifier  "NV AGP"
   Driver      "nvidia"
   BusID       "PCI:1:0:0"
   Option      "TwinView" "on"
   Option      "MetaModes" "1280x1024,1280x1024"   
   Option      "SecondMonitorHorizSync" "28-64"
   Option      "SecondMonitorVertRefresh" "60"
   Option      "TwinViewOrientation" "LeftOf"  # Or RightOf
   Option      "RenderAccel" "true"
 EndSection
 
 Section "Screen"
    Identifier  "Screen 1"
    Device      "NV AGP"
    Monitor     "samsung"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
        Modes       "1280x1024"
    EndSubsection
 EndSection
 
 Section "ServerLayout"
    Identifier "Layout 1"
    Screen     "Screen 1"
    InputDevice "Mouse 1" "CorePointer"
    InputDevice "Keyboard 1" "CoreKeyboard"
 EndSection

The screen-section sets up the primary display, the other is set
up with the SecondMonitorXXXXXXX-options in the Device Section.
ServerLayout sets the screen-section to use.

 HTH
Mario



More information about the freebsd-questions mailing list