[TriLUG] Uni-dual monitor linux display...

William Sutton william at trilug.org
Thu May 5 08:49:30 EDT 2005


See my sample (for a Matrox) xorg.conf at the bottom of this email for how 
to have multiple monitors on a multi-out card.

William

On Wed, 4 May 2005, Randy Barlow wrote:

> I'm sorry, I spoke too soon.  You need to set up another screen, but I 
> actually don't know how to do that part (anyone else give this a stab?) 
> for a video card that has two outputs.  But, once you have that done, do 
> something similar to:
> 
>  Screen "Screen 0"
>  Screen "Screen 1" RightOf "Screen 0"

[snipped]

Now for the xorg.conf:
-----

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Display Merged" 0 0
    InputDevice    "Mouse 1" "CorePointer"
    InputDevice    "Keyboard 1" "CoreKeyboard"
EndSection
################################################################################
#
################################################################################
Section "Files"
    RgbPath      "/usr/X11R6/lib/X11/rgb"
    ModulePath   "/usr/X11R6/lib/modules"
    FontPath     "/usr/share/fonts/misc/"
    FontPath     "/usr/share/fonts/TTF/"
    FontPath     "/usr/share/fonts/Speedo/"
    FontPath     "/usr/share/fonts/Type1/"
    FontPath     "/usr/share/fonts/CID/"
    FontPath     "/usr/share/fonts/75dpi/"
    FontPath     "/usr/share/fonts/100dpi/"
EndSection
################################################################################
#
################################################################################
Section "Module"
    Load  "glx"
    Load  "extmod"
    #Load  "dri"
    Load  "dbe"
    Load  "record"
    Load  "xtrap"
    Load  "freetype"
    Load  "speedo"
    Load  "type1"
EndSection
################################################################################
#
################################################################################
Section "InputDevice"
    Identifier  "Keyboard 1"
    Driver      "keyboard"
EndSection

Section "InputDevice"
    Identifier  "Mouse 1"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option      "Device" "/dev/mouse"
EndSection
################################################################################
#
################################################################################
Section "Monitor"
    #DisplaySize      360   270    # mm
    Identifier   "Display 1"
    VendorName   "VSC"
    ModelName    "E90fb"
    HorizSync    30.0 - 86.0
    VertRefresh  50.0 - 150.0
    Option       "DPMS"
EndSection

Section "Monitor"
    #DisplaySize      360   270    # mm
    Identifier   "Display 2"
    VendorName   "VSC"
    ModelName    "E90fb"
    HorizSync    30.0 - 86.0
    VertRefresh  50.0 - 150.0
    Option       "DPMS"
EndSection

Section "Monitor"
    #DisplaySize      360   270    # mm
    Identifier   "Display Merged"
    VendorName   "VSC"
    ModelName    "E90fb"
    HorizSync    30.0 - 86.0
    VertRefresh  50.0 - 150.0
    Option       "DPMS"
EndSection
################################################################################
#
################################################################################
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option     "SWcursor"               # [<bool>]
#Option     "HWcursor"               # [<bool>]
#Option     "PciRetry"               # [<bool>]
#Option     "SyncOnGreen"            # [<bool>]
#Option     "NoAccel"                # [<bool>]
#Option     "ShowCache"              # [<bool>]
#Option     "Overlay"                # [<str>]
#Option     "MGASDRAM"               # [<bool>]
#Option     "ShadowFB"               # [<bool>]
#Option     "UseFBDev"               # [<bool>]
#Option     "ColorKey"               # <i>
#Option     "SetMclk"                # <freq>
#Option     "OverclockMem"           # [<bool>]
#Option     "VideoKey"               # <i>
#Option     "Rotate"                 # [<str>]
#Option     "TexturedVideo"          # [<bool>]
#Option     "Crtc2Half"              # [<bool>]
#Option     "Crtc2Ram"               # <i>
#Option     "Int10"                  # [<bool>]
#Option     "AGPMode"                # <i>
#Option     "AGPSize"                # <i>
#Option     "DigitalScreen1"         # [<bool>]
#Option     "DigitalScreen2"         # [<bool>]
#Option     "TV"                     # [<bool>]
#Option     "TVStandard"             # [<str>]
#Option     "CableType"              # [<str>]
#Option     "NoHal"                  # [<bool>]
#Option     "SwappedHead"            # [<bool>]
#Option     "DRI"                    # [<bool>]
#Option     "MergedFB"               # [<bool>]
#Option     "Monitor2HSync"          # [<str>]
#Option     "Monitor2VRefresh"       # [<str>]
#Option     "Monitor2Position"       # [<str>]
#Option     "MetaModes"              # [<str>]

Section "Device"
    Identifier  "MATROX CARD 1"
    Driver      "mga"
    VendorName  "Matrox Graphics, Inc."
    VideoRam    32768
    BoardName   "MGA G450 AGP"
    Option      "hw cursor" "off"
    BusID       "PCI:1:0:0"
EndSection

Section "Device"
    Identifier  "MATROX CARD 2"
    Driver      "mga"
    VendorName  "Matrox Graphics, Inc."
    VideoRam    32768
    BoardName   "MGA G450 AGP"
    Option      "hw cursor" "off"
    BusID       "PCI:1:0:0"
    Screen      1
EndSection
################################################################################
#
################################################################################
Section "Screen"
    Identifier "Display 1"
    Device     "MATROX CARD 1"
    Monitor    "Display 1"
    DefaultDepth     24
    SubSection "Display"
        Depth     24
        Modes    "1600x1200"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes    "1600x1200"
    EndSubSection
EndSection

Section "Screen"
    Identifier "Display 2"
    Device     "MATROX CARD 2"
    Monitor    "Display 2"
    DefaultDepth     24
    SubSection "Display"
        Depth     24
        Modes    "1600x1200"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes    "1600x1200"
    EndSubSection
EndSection

Section "Screen"
    Identifier "Display Merged"
    Device     "MATROX CARD 1"
    Monitor    "Display Merged"
    DefaultDepth     24
    Option      "Monitor2Position" "RightOf"
    Option      "MergedFB"
    Option      "MetaModes" "1600x1200-1600x1200"
    Option      "Monitor2HSync" "30.0-86.0 "
    Option      "Monitor2VRefresh" "50.0-150.0 "
    SubSection "Display"
        Virtual   3200 1200
        Depth     24
        Modes    "1600x1200"
    EndSubSection
EndSection
################################################################################
#
################################################################################
#Section "DRI"
#    Mode         0666
#EndSection



More information about the TriLUG mailing list