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

Re: Hardware GL with a G400



Gordon, you are in luck, this was my situation exactly.

Go to matrox.com, find their drivers section, and download their linux
driver. It should be one file. Be sure to take a look at their readme,
it is good enough to get you installed. (except for the bit about groups
and DRI.... don't bother with setting a group for DRI.)

You will need a recent kernel. I use 2.4.0-test7. I built my kernel with
agpgart and mga modules available. They may or may not be needed. I'd bet
agpgart is required, mga isn't. <shrug>

There are two ways of getting Matrox's mga_drv.o into use -- replace
XFree86's version in /usr/X11R6/lib/modules/drivers/ with matrox's
(clunky, will get overwritten with each new xf86 upgrade unless you use
 dpkg diversions...) -or- (the recommended way) is to use a direct path
in your /etc/X11/XF86Config-4 file to load the new module. I haven't
gone this route (lazy) but suggest you do. Sadly, I don't know the
syntax for this, so I suggest you look for all of Branden's postings in
the archives for more information about this. (Perhaps he mentioned it
in a thread with someone from nvidia...)

Once things are in place, modprobe agpgart, modprobe mga, and startx.

I have attached my XF86Config file for reference...

* Gordon Heydon <gjheydon@bigfoot.com> [001013 00:14]:
> Hello,
> 
> This is a simple question, can anyone tell me how to or better point me
> in the direction of some documentation on how to get hardware 3gl going
> with my dual head g400 (I am only using 1 head at the moment) with the
> Xfree 4.0.1 debs found here.
> 
> Thanks in advance
> 
> Gordon.
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-x-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
Section "ServerLayout"
	Identifier     "Dual"
	Screen "Screen0" RightOf "Screen1"
	Screen "Screen1"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option "Xinerama"
EndSection

Section "ServerLayout"
	Identifier	"Single"
	Screen "Screen0"
	InputDevice	"Mouse0" "CorePointer"
	InputDevice	"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
    FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath "/usr/X11R6/lib/X11/fonts/PEX/"
    FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:noscale"
    FontPath "/usr/X11R6/lib/X11/fonts/misc/:noscale"
EndSection

Section "Module"
	Load  "GLcore"
	Load  "dbe"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "pex5"
	Load  "record"
	Load  "xie"
	Load  "freetype"
	Load  "type1"
EndSection

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

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

Section "Monitor"
	Identifier   "Mitsubishi"
	VendorName   "MEL"
	ModelName    "42c0"
	HorizSync    30.0 - 105.0
	VertRefresh  70.0 - 152.0
	Option       "DPMS"
#ModeLine     "640x480" 45.8   640  672  768  864   480  488  494 530 -HSync -VSync
EndSection

Section "Monitor"
	Identifier   "Sony"
	HorizSync    60.5 - 82.0
	VertRefresh  65.0 - 100.0
	Option       "DPMS"
EndSection

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

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

Section "Screen"
	Identifier "Screen0"
	Device     "G400_0"
	Monitor    "Mitsubishi"
	DefaultDepth 16
	SubSection "Display"
		Depth     1
		Modes     "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes     "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes     "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes     "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes     "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes     "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "G400_1"
	Monitor    "Sony"
	DefaultDepth 16
	SubSection "Display"
		Depth     1
		Modes     "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes     "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes     "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes     "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes     "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes     "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
  Mode 0666
EndSection


Reply to: