* Darryl L. Pierce ([EMAIL PROTECTED]) wrote: > How do I setup X to use two monitors on one machine? The system has a Matrox > Millenium G400 32MB video card with two video ports on it. > > -- > Darryl L. Pierce <[EMAIL PROTECTED]> > The Infobahn Offramp <http://welcome.to/mcpierce> > I am the painting on the canvas; I am the painter, the one who shares...
You can look at my config file (attached) for the G400. You also have to compile framebuffer into the kernel to be able to use Xinerama. I'll attach two configs: for dualhead and for a triple head with an additional G200. They are easily readable I think. Good luck. Alex.
Section "ServerLayout" Identifier "Matrox PowerDesk configured." Screen "Display 1" 0 0 InputDevice "Generic Keyboard" InputDevice "Generic Mouse" EndSection Section "Files" FontPath "unix/:7100" FontPath "unix/:7110" EndSection Section "Module" Load "ddc" Load "GLcore" Load "dbe" Load "extmod" Load "glx" Load "pex5" Load "record" Load "xie" Load "bitmap" Load "freetype" Load "speedo" Load "type1" Load "vbe" Load "int10" Load "dri" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "Protocol" "Standard" Option "AutoRepeat" "500 30" Option "XkbKeycodes" "xfree86" Option "XkbTypes" "default" Option "XkbCompat" "default" Option "XkbGeometry" "pc" Option "XkbRules" "xfree86" Option "XkbModel" "microsoft" Option "XkbLayout" "rums(basic)" Option "XkbOptions" "grp:toggle" EndSection Section "InputDevice" Identifier "Generic Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/psaux" Option "Protocol" "PS/2" Option "Emulate3Buttons" "yes" Option "Emulate3Timeout" "150" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "Display 1" HorizSync 31.0 - 93.0 VertRefresh 50.0 - 160.0 Option "DPMS" EndSection Section "Monitor" Identifier "Display 2" HorizSync 31.0 - 93.0 VertRefresh 50.0 - 160.0 EndSection Section "Device" Identifier "MATROX CARD 1" Driver "mga" ChipSet "mgag400" BusID "PCI:1:0:0" EndSection Section "Device" Identifier "MATROX CARD 2" Driver "mga" ChipSet "mgag400" Option "TV" "yes" Option "CableType" "YC_COMPOSITE" Option "TVStandard" "NTSC" BusID "PCI:1:0:0" Screen 1 EndSection Section "Screen" Identifier "Display 1" Device "MATROX CARD 1" Monitor "Display 1" DefaultDepth 16 SubSection "Display" Depth 1 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 4 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 8 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 15 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 16 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 24 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 32 Modes "1280x960" "1024x768" "800x600" EndSubSection EndSection Section "Screen" Identifier "Display 2" Device "MATROX CARD 2" Monitor "Display 2" DefaultDepth 16 SubSection "Display" Depth 16 Modes "800x600" EndSubSection SubSection "Display" Depth 8 Modes "800x600" EndSubSection SubSection "Display" Depth 24 Modes "800x600" EndSubSection EndSection Section "DRI" Mode 0666 EndSection
# XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the # Debian X Configuration tool, using values from the debconf database. # # Edit this file with caution, and see the XF86Config manual page. # (Type "man XF86Config" at the shell prompt.) Section "Files" # FontPath "unix/:7100" # local font server # FontPath "unix/:7110" # xfs-xtt true type font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/cyrillic/:unscaled" FontPath "/usr/lib/X11/fonts/koi8-r.100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/koi8-r.75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/koi8-r.misc/:unscaled" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/misc/:unscaled" FontPath "/usr/lib/X11/fonts/cyrillic" # FontPath "/usr/lib/X11/fonts/koi8-r.100dpi" # FontPath "/usr/lib/X11/fonts/koi8-r.75dpi" # FontPath "/usr/lib/X11/fonts/koi8-r.misc" # FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/Speedo" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" EndSection Section "ServerFlags" EndSection Section "Module" Load "ddc" # Load "GLcore" Load "dbe" Load "dri" Load "extmod" # Load "glx" Load "pex5" Load "record" Load "xie" Load "bitmap" Load "freetype" Load "speedo" Load "type1" Load "vbe" Load "int10" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "Protocol" "Standard" Option "AutoRepeat" "500 30" Option "XkbKeycodes" "xfree86" Option "XkbTypes" "default" Option "XkbCompat" "default" Option "XkbGeometry" "pc" Option "XkbRules" "xfree86" Option "XkbModel" "microsoft" Option "XkbLayout" "rums(basic)" Option "XkbOptions" "grp:toggle" EndSection Section "InputDevice" Identifier "Generic Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/psaux" Option "Protocol" "PS/2" Option "Emulate3Buttons" "yes" Option "Emulate3Timeout" "150" Option "ZAxisMapping" "4 5" EndSection Section "Device" Identifier "Matrox G400 Screen 0" Driver "mga" ChipSet "mgag400" Option "MGASDRAM" "on" Screen 0 BusID "PCI:1:0:0" EndSection Section "Device" Identifier "Matrox G400 Screen 1" Driver "mga" ChipSet "mgag400" Option "MGASDRAM" "on" Screen 1 BusID "PCI:1:0:0" EndSection Section "Device" Identifier "Matrox Mystique" Driver "mga" BusID "PCI:0:17:0" EndSection Section "Monitor" Identifier "Hitachi CM 751" HorizSync 31-93 VertRefresh 50-160 Option "DPMS" EndSection Section "Monitor" Identifier "Generic" HorizSync 31-93 VertRefresh 50-160 EndSection Section "Monitor" Identifier "Generic 2" HorizSync 31-93 VertRefresh 50-160 EndSection Section "Screen" Identifier "MGAScreen 0" Device "Matrox G400 Screen 0" Monitor "Hitachi CM 751" DefaultDepth 16 SubSection "Display" Depth 1 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 4 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 8 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 15 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 16 Modes "800x600" EndSubSection SubSection "Display" Depth 24 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 32 Modes "1280x960" "1024x768" "800x600" EndSubSection EndSection Section "Screen" Identifier "MGAScreen 1" Device "Matrox G400 Screen 1" Monitor "Generic" DefaultDepth 16 SubSection "Display" Depth 1 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 4 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 8 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 15 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 16 Modes "800x600" EndSubSection SubSection "Display" Depth 24 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 32 Modes "1280x960" "1024x768" "800x600" EndSubSection EndSection Section "Screen" Identifier "MGAScreen 2" Device "Matrox Mystique" Monitor "Generic 2" DefaultDepth 16 SubSection "Display" Depth 1 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 4 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 8 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 15 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 16 Modes "800x600" EndSubSection SubSection "Display" Depth 24 Modes "1280x960" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 32 Modes "1280x960" "1024x768" "800x600" EndSubSection EndSection #Section "ServerLayout" # Identifier "Default Layout" # Screen "MGAScreen 0" # Screen "MGAScreen 1" Below "MGAScreen 0" # InputDevice "Generic Keyboard" # InputDevice "Generic Mouse" # Option "xinerama" "on" #EndSection Section "ServerLayout" Identifier "Default Layout" Screen "MGAScreen 0" Screen "MGAScreen 1" RightOf "MGAScreen 0" Screen "MGAScreen 2" RightOf "MGAScreen 1" InputDevice "Generic Keyboard" InputDevice "Generic Mouse" Option "xinerama" "on" EndSection Section "DRI" Mode 0666 EndSection # end of XF86Config