[H-GEN] G400 Dual Head

Christopher Biggs listjunkie at pobox.com
Tue Sep 24 02:07:17 EDT 2002


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

Hilton Travis <Hilton at QuarkAV.com> moved upon the face of the 'Net and spake thusly:

> Has anyone here actually been able to get [Matrox G400] dual head
> support working fully in Linux?

Yo.

> It seems that anaconda will detect the card fine, but
> then fails to configure the second head.  

Ah, well there's your problem: stop using automated configuration tools!

If you want Microsoft Windows, you know where to find it.

I rolled my own config, which is both neater and easier to modify with
custom option tweaks.

>
> The display comes up with what appears to be a wider than normal screen,
> but there's nothing on the second monitor.  I cannot seem to get the
> second display to fire up under X - the monitor itself is working fine -
> plugging this monitor into another PC proves this.
>

Get the latest G400 drivers from Matrox.  The ones that ship with
XFree86 are inferior.   Grab the "MGA PowerDesk" utility, too, which
lets you easily fiddle with various configuration options.

My XF86Config file is appended below.  Note that I only have one
monitor section because I have a pair of identical monitors.

I don't use xinerama, I run as two separate displays.  I've tried
xinerama and it works fine, I just prefer to have the virtual desktops
on each monitor individually selectable, so that I can switch desktops
on one monitor while leaving the other monitor where it is; if anyone
knows of a Window Manager that can do that with xinerama, please let
me know.  

The contents of my config file should make it obvious how to turn on
Xinerama if you want it.

--cjb

-- 
 Christopher J Biggs \ chris at stallion.oz.au \ Vice-Pope Torture & Indulgences
 Stallion Technologies\ Brisbane,  Australia \   Holy Church of Givashitology
 nordfordfnrdfnodfnorfnordnordfordfnrdfnodfnorfnordnordfordfnrdfnodfnorfnordn

#-----------------------------------------------------------------------------
# XFree86 4.x config file for Matrox G400 dual head video card
#
Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "unix/:7100"
	FontPath     "/usr/X11R6/lib/X11/fonts/TrueType/"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load	"ddc"
	Load	"GLcore"
	Load  "dbe"
	Load  "extmod"
	Load  "pex5"
	Load  "record"
	Load  "xie"
	Load  "glx"
	Load  "dri"
	Load  "freetype"
	Load  "speedo"
	Load  "type1"
	Load	"vbe"
	Load	"int10"
EndSection

Section "DRI"
	Mode	0666
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option	    "XkbRules"	"xfree86"
	Option	    "XkbModel"	"pc104"
	Option	    "XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option      "Protocol" "MouseManPlusPS/2"
	Option      "Device" "/dev/mouse"
	Option	    "Buttons"		"6"
	Option	    "ZAxisMapping"		"4 5"
EndSection

Section "Monitor"
	Identifier   "Philips 107P"
	VendorName   "PHL"
	ModelName    "Philips 107P"
	HorizSync    30.0 - 96.0
	VertRefresh  50.0 - 160.0
EndSection

Section "Device"
	Identifier  "Matrox 0"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA G400 AGP"
	Option	    "DPMS"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "Matrox 1"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA G400 AGP"
	Option	    "DPMS"
	BusID       "PCI:1:0:0"
	Screen      1
EndSection

Section "Screen"
	Identifier "Screen 0"
	Device     "Matrox 0"
	Monitor    "Philips 107P"
	DefaultDepth     24
	SubSection "Display"
		Depth     16
		#Modes    "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
		Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		#Modes    "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
		#Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
		Modes     "1152x864" "1024x768" "800x600" "640x480"
		#Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen 1"
	Device     "Matrox 1"
	Monitor    "Philips 107P"
	DefaultDepth     24
	SubSection "Display"
		Depth     16
		#Modes    "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
		Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		#Modes    "1600x1200" "1152x864" "1024x768" "800x600" "640x480"
		#Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
		Modes    "1152x864" "1024x768" "800x600" "640x480"
		#Modes     "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier     "Custom Bigot Config"
	Screen         "Screen 0"
	Screen         "Screen 1" RightOf "Screen 0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option	       "Xinerama" "off"
EndSection



--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list