Betr: Using Matrox G400 in dual-head mode with XFree86 4.3.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



XFree86 4.3.0 + mga from Matrox

I never noticed a remark for which XFree version it was build but than again.
The source is also available.

Marcel

#
# History:
# E.M. Stegehuis | V1.0 
#
#

Section "ServerLayout"
	Identifier     "XFree86 Configured"

	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	Screen      2  "Screen2" RightOf "Screen1"
	Screen      3  "Screen3" RightOf "Screen2"
	Screen      4  "Screen4" RightOf "Screen3"
	Screen      5  "Screen5" RightOf "Screen4"
# Two more screens are possible
#	Screen      6  "Screen6" RightOf "Screen5"
#	Screen      7  "Screen7" RightOf "Screen6"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
	# Disable control-alt-backspace to kill the XServer.
	Option "DontZap" "yes"		
	# Disable control-alt-Fn to switch to a virtual terminal
	# Option "VTSysReq" "yes"
	# for 4.3.0 Option "DontVTSwitch" "yes"
	# Option "RenderColormapMode"	"mono"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	# We get the fonts from the fontserver.
	FontPath     "unix/:7100"
	# It is also possible to get them from
	# disk directly.
EndSection

Section "Module"
#  What we do not use can not crash...
#	Load  "extmod"
#	Load  "dbe"
#	Load  "dri"
#	Load  "glx"
#	Load  "record"
#	Load  "xtrap"
#	Load  "speedo"
#	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "PS/2"
	Option	    "Device" "/dev/mouse"
EndSection

Section "Monitor"
	Identifier  "Monitor1"
	VendorName  "EIZ"
    	ModelName   "Eizo FlexScan T57S"
    	HorizSync   30.0-92.0
    	VertRefresh 50.0-160.0
EndSection

Section "Monitor"
	Identifier  "Monitor2"
	VendorName  "EIZ"
    	ModelName   "Eizo FlexScan T57S"
    	HorizSync   30.0-92.0
    	VertRefresh 50.0-160.0
EndSection

Section "Monitor"
	Identifier  "Monitor3"
	VendorName  "EIZ"
    	ModelName   "Eizo FlexScan T57S"
    	HorizSync   30.0-92.0
    	VertRefresh 50.0-160.0
EndSection

Section "Monitor"
	Identifier  "Monitor4"
	VendorName  "EIZ"
    	ModelName   "Eizo FlexScan T57S"
    	HorizSync   30.0-92.0
    	VertRefresh 50.0-160.0
EndSection

Section "Monitor"
	Identifier  "Monitor5"
	VendorName  "EIZ"
    	ModelName   "Eizo FlexScan T57S"
    	HorizSync   30.0-92.0
    	VertRefresh 50.0-160.0
EndSection

Section "Monitor"
	Identifier  "Monitor6"
	VendorName  "EIZ"
    	ModelName   "Eizo FlexScan T57S"
    	HorizSync   30.0-92.0
    	VertRefresh 50.0-160.0
EndSection

Section "Monitor"
	Identifier   "Monitor7"
	VendorName   "EIZ"
    	ModelName   "Eizo FlexScan T57S"
    	HorizSync   30.0-92.0
    	VertRefresh 50.0-160.0
EndSection

Section "Monitor"
	Identifier   "Monitor8"
	VendorName   "EIZ"
    	ModelName   "Eizo FlexScan T57S"
    	HorizSync   30.0-92.0
    	VertRefresh 50.0-160.0
EndSection




#==============================
#  The first card
#==============================
#
# HWCursor = no  -- to prevent the cursor having
#                   very odd shapes
#
Section "Device"
        Option     "HWcursor"           	"off"
#        Option     "NoAccel"            	
#        Option     "MGASDRAM"
	Identifier  "Card1_1"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA G200 AGP"
	BusID       "PCI:3:0:0"
EndSection

Section "Device"
        Option     "HWcursor"           	"off"
#        Option     "NoAccel"            	
#        Option     "MGASDRAM"
	Identifier  "Card1_2"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA G200 AGP"
	BusID       "PCI:3:4:0"
EndSection

Section "Device"
        Option     "HWcursor"           	"off"
#        Option     "NoAccel"            	
#        Option     "MGASDRAM"
	Identifier  "Card1_3"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA G200 AGP"
	BusID       "PCI:3:8:0"
EndSection


Section "Device"
        Option     "HWcursor"           	"off"
#        Option     "NoAccel"            	
#        Option     "MGASDRAM"
	Identifier  "Card1_4"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA G200 AGP"
	BusID       "PCI:3:12:0"
EndSection




#==========================
#  The second card
#==========================
#
# NoAccel -- to prevent garbage squares on the screen.
# HWCursor = no  -- to prevent the cursor having
#                   very odd shapes
#

Section "Device"
        Option     "HWcursor"           	"off"
#        Option     "NoAccel"            	
#        Option     "MGASDRAM"
	Identifier  "Card2_1"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA G200 AGP"
	BusID       "PCI:4:0:0"
EndSection

Section "Device"
        Option     "HWcursor"           	"off"
#        Option     "NoAccel"            	
#        Option     "MGASDRAM"           	"yes"
	Identifier  "Card2_2"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA G200 AGP"
	BusID       "PCI:4:4:0"
EndSection

Section "Device"
        Option     "HWcursor"           	"off"
#        Option     "NoAccel"            	
#        Option     "MGASDRAM"           	"yes"
	Identifier  "Card2_3"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA G200 AGP"
	BusID       "PCI:4:8:0"
EndSection


Section "Device"
        Option     "HWcursor"           	"off"
#        Option     "NoAccel"            	
#        Option     "MGASDRAM"           	"yes"
	Identifier  "Card2_4"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA G200 AGP"
	BusID       "PCI:4:12:0"
EndSection


#==============================================
#  Screens
#==============================================

Section "Screen"
	Identifier "Screen0"
	Device     "Card1_1"
	Monitor    "Monitor1"
#	DefaultDepth 8
	SubSection "Display"
		Depth     8
		Modes     "1280x1024"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1_2"
	Monitor    "Monitor2"
#	DefaultDepth 8
	SubSection "Display"
		Depth     8
		Modes     "1280x1024"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen2"
	Device     "Card1_3"
	Monitor    "Monitor3"
#	DefaultDepth 8
	SubSection "Display"
		Depth     8
		Modes     "1600x1200"  "1280x1024"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen3"
	Device     "Card1_4"
	Monitor    "Monitor4"
#	DefaultDepth 8
	SubSection "Display"
		Depth 8
		Modes     "1280x1024"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen4"
	Device     "Card2_1"
	Monitor    "Monitor5"
#	DefaultDepth 8
	SubSection "Display"
		Depth     8
		Modes     "1280x1024" 
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen5"
	Device     "Card2_2"
	Monitor    "Monitor6"
#	DefaultDepth 8
	SubSection "Display"
		Depth     8
		Modes     "1280x1024" 
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen6"
	Device     "Card2_3"
	Monitor    "Monitor7"
#	DefaultDepth 8
	SubSection "Display"
		Depth     8
		Modes     "1280x1024" 
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen7"
	Device     "Card2_4"
	Monitor    "Monitor8"
#	DefaultDepth 8
	SubSection "Display"
		Depth     8
		Modes     "1280x1024" 
	EndSubSection
EndSection


>-- Oorspronkelijk bericht --
>From: Bill Mania <billmania@xxxxxxxxxxxxx>
>To: xfree86@xxxxxxxxxxx
>Reply-To: xfree86@xxxxxxxxxxx
>Subject:  Using Matrox G400 in dual-head mode with XFree86 4.3.0
>Date: Thu, 15 Jan 2004 14:07:02 -0600
>
>
>I would like to use a single Matrox G400 PCI AGP interface with two
monitors and XFree86 4.3.0 on a Linux 2.4.20 system. Is this
configuration supported?

When I adjust the configuration of /etc/X11/XF86Config, and reference
the usual mga driver (
>river "mga" in the "Device" section), the X
server will start but tells me that I must use the mga_hal driver.

I have retrieved the file mga_hal_drv.o from www.matrox.com, installed
it and restarted the X server. The latest version of mga_hal appe
>rs
to be built for XFree86 4.2.0. Must the mga_hal_drv.o be built
specifically for XFree86 4.3.0 in order to be usable?

Where can I find an example of XF86Config and a copy of mga_hal_drv
which will support two monitors on one G400 interface for 
>Free86
4.3.0?

-- 
Bill Mania
dum vivimus vivamus
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86


_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux