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

Matrox G450 PCI X configuration



Jatin,

I've configured one of these on FreeBSD, so it should be the same.  My
XFconfig is included below (hacked up for changes I noticed on
installing X on OpenBSD with a G200). This should get you
started. Also check out the matrox site "www.matrox.com" and download
the latest XFree86 drivers from them (the linux object modules work on
freebsd/openbsd; that's one of the cool features of the XFree86
drivers):

http://www.matrox.com/mga/support/drivers/files/linux_09.cfm

Once you get those and install them just do a "XFree86 -configure"
(assuming you're still using the 4.x installation) to get a fresh
config file. You can also find some great ideas under the forum
section of the matrox site -- most everything for linux applies
to bsd.

If you have more problems please send me your XFree86.0.log 
directly and I'll see what I can do... I doubt the rest of
the readers on the list are interested in long X logs. :)


Good Luck,

Jon



Jatin Nansi writes:
 > Hi,
 > 
 > I am trying to configure X for a Matrox G450 PCI Dual Head card on my system.
 > I have tried 4.0.3 (default on OBSD3.0) and 4.2.0 (latest from xfree).
 > 
 > I am facing a problem that no matter what I do, X allways shows garbage 
 > on the screen. It shows vertical lines instead of the grey checkered 
 > background. This is also when i configure it only for 1 display.
 > If I kill X, the screen goes blank, and there is no display. then I have 
 > to shutdown -r now blind to reboot.
 > 
 > I will appreciate any pointers from people who have configured X on this
 > card. 
 > 
 > Thanks
 > 
 > Jatin
 > 

NOTES:  1) Change the HorizSync and VertRefresh settings to
           match your monitor.

        2) Check that "PCI:1:0:0" is appropriate for your
           agp slot (dmesg).

        3) OpenBSD doesn't have sysmouse, so I changed
           below to "wsmouse" and "/dev/wsmouse". Check
           that it's correct for you.

==================== Start XF86Config-singlehead =======
Section "ServerLayout"
	Identifier     "Single head config SONY w/450 on FIC"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic/"
	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  "dbe"
	Load  "extmod"
	Load  "glx"
	Load  "pex5"
	Load  "record"
	Load  "xie"
#	Load  "dri"
EndSection

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

# CHECK THIS FOR YOUR BOX
Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option      "Protocol" "wsmouse"
	Option      "Device" "/dev/wsmouse"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "SNY"
	ModelName    " Trintron"
#	HorizSync    30.0 - 85.0
#	VertRefresh  48.0 - 120.0
EndSection

# You might want to disable the options at first.
Section "Device"
	Identifier  "Card0"
	Driver      "mga"
	VendorName  "Matrox"
        Option      "AGPMode" "2"
        Option      "HWcursor" "on"
        Option      "OverclockMem" "True"
	BoardName   "MGA G400 AGP"
        # CHECK BusID for your BOX (dmesg)!!
	BusID       "PCI:1:0:0"
EndSection

# if you have problems with this mode,
# look at the start up log and see what
# modes X thought it could find. 
Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
        DefaultDepth     24
        DefaultFbBPP     32
	SubSection "Display"
		Depth     24
		Modes "1280x1024"
	EndSubSection
EndSection
================ END XF86Config-singlehead ================


-- 

Jonathan D. Dunfee
jdunfee@acm.org