From: n0ano@n0ano.com Date: Wed, 5 Mar 2003 16:22:42 -0700 To: [a mailing list] Subject: Re: Dual Head Display Card Question User-Agent: Mutt/1.4i Thereby hangs a tale... The important step is finding the proper PCI number for the two cards and specifying them appropriately in two different `Device' sections. I've attached my XF86Config file for reference. Note that I use 2 Matrox cards, a G400 and a G200. On Wed, Mar 05, 2003 at 02:58:19PM -0800, Robert [zardoz] wrote: > Quick question: for PCI bus, what's the "hot ticket" for doing dual > head display for linux? > > Thanks! > > /robert/ > > -- > > Beware of leaders, heros, oranisers. > Watch that stuff. Beware of structure freaks. > They do not understand. We know the system > doesn't work because we are living in the ruins. > > -- Chester Anderson > _______________________________________________ > Evals mailing list > Evals@tux.org > http://www.tux.org/mailman/listinfo/evals -- Don Dugger "Censeo Toto nos in Kansa esse decisse." - D. Gale n0ano@n0ano.com Ph: 303/447-2201 Section "ServerLayout" Identifier "Dualhead" Screen "Screen 0" Screen "Screen 1" RightOf "Screen 0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "Head 1" Screen "Screen 0" EndSection Section "ServerLayout" Identifier "Head 2" Screen "Screen 1" EndSection Section "Files" # The location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default. RgbPath "/usr/X11R6/lib/X11/rgb" # Multiple FontPath entries are allowed (they are concatenated together) # By default, Red Hat 6.0 and later now use a font server independent of # the X server to render fonts. FontPath "unix/:7100" EndSection Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "dri" Load "glx" Load "record" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" # Option "AutoRepeat" "500 5" # when using XQUEUE, comment out the above line, and uncomment the # following line # Option "Protocol" "Xqueue" # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option "Xleds" "1 2 3" # To disable the XKEYBOARD extension, uncomment XkbDisable. # Option "XkbDisable" # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # Option "XkbModel" "pc102" # If you have a US Microsoft Natural keyboard, you can use: # Option "XkbModel" "microsoft" # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # Option "XkbLayout" "de" # or: # Option "XkbLayout" "de" # Option "XkbVariant" "nodeadkeys" # # If you'd like to switch the positions of your capslock and # control keys, use: # Option "XkbOptions" "ctrl:swapcaps" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "us" #Option "XkbVariant" "" #Option "XkbOptions" "" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "PS/2" Option "Device" "/dev/psaux" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "yes" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 30.0-95.0 VertRefresh 50.0-180.0 Option "dpms" EndSection Section "Monitor" Identifier "Monitor1" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 30.0-95.0 VertRefresh 50.0-180.0 Option "dpms" EndSection Section "Device" # no known options Identifier "Matrox(0)" Driver "mga" VendorName "Matrox Millennium G400" BoardName "Matrox Millennium G400" BusID "PCI:1:0:0" EndSection Section "Device" # no known options Identifier "Matrox(1)" Driver "mga" VendorName "Matrox Millennium G200" BoardName "Matrox Millennium G200" BusID "PCI:0:14:0" EndSection Section "Screen" Identifier "Screen 0" Device "Matrox(0)" Monitor "Monitor0" DefaultDepth 16 Subsection "Display" Depth 16 Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubsection EndSection Section "Screen" Identifier "Screen 1" Device "Matrox(1)" Monitor "Monitor1" DefaultDepth 16 Subsection "Display" Depth 16 Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubsection EndSection Section "DRI" Mode 0666 EndSection