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

Re: Matrox G400 dri woes



Try the source at dri.sourceforge.net. It works for me. I did the following
1. d/l matrox mga_drv.o and mga_hal.o from matrox site
2. copy them to the appropriate x11 directory
3. d/l the dri from dri.sourceforge.net
4. compile the mga.o by make -f Makefile mga.o
5. cp mga.o to the appropriate /lib/modules/...
6. make sure you have X4.1.0

you should have dri acceleration now

On Fri, Aug 03, 2001 at 01:28:43AM -0500, Oleksandr Moskalenko wrote:
>   Hi,
> 
>  I'm having no end of trouble trying to get dri work on my dual-head
> Matrox G400 32Mb. The xfree86 in question is newly appearing in unstable
> 4.1.0.
> If I try to run X with the mga_drv.o that comes with XFree86 or the one
> from Matrox website I get this error:
> [dri] mga.o kernel module version is 2.0.1 but version 3.0.x is needed.
> 
>  If I compile the 4.1.0 driver according to this hint:
> -----
> The version included with 2.4.5 is a 2.0.x-series mga.o. You need to
> build 3.0.x from the
> xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel directory
> included in the XFree86 source.
> 
> --
> Adam Sampson <azz@gnu.org>                  <URL:http://azz.us-lot.org/>
> -----
> 
> then "insmod mga.o" and try to run X I get this error:
> 
> (II) LoadModule: "mga"
> (II) Loading /usr/X11R6/lib/modules/drivers/mga.o
> Not loading .fixup
> Not loading .rel.fixup
> Not loading .text.lock
> Not loading .rel.text.lock
> Not loading .modinfo
> Not loading __ex_table
> Not loading .rel__ex_table
> (EE) LoadModule: Module mga does not have a mgaModuleData data object.
> (II) UnloadModule: "mga"
> (II) Unloading /usr/X11R6/lib/modules/drivers/mga.o
> (EE) Failed to load module "mga" (invalid module, 0)
> 
> 
> ================
> 
> At this point I am as confused as I could be. What can I do to get dri?
> 
> I'm attaching my XF86Config-4 to this message as well.
> I tried searching for these errors on the web to no avail. Please help.
> 
>  Regards,
> 
>  Alex. 

> # XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the
> # Debian X Configuration tool, using values from the debconf database.
> #
> # Edit this file with caution, and see the XF86Config manual page.
> # (Type "man XF86Config" at the shell prompt.)
> 
> Section "Files"
> 	FontPath	"unix/:7100"	# local font server
> 	FontPath	"unix/:7110"	# xfs-xtt true type font server
> 	
> # if the local font server has problems, we can fall back on these
> #	FontPath	"/usr/lib/X11/fonts/cyrillic/:unscaled"
> #	FontPath	"/usr/lib/X11/fonts/koi8-r.100dpi/:unscaled"
> #	FontPath	"/usr/lib/X11/fonts/koi8-r.75dpi/:unscaled"
> #	FontPath	"/usr/lib/X11/fonts/koi8-r.misc/:unscaled"
> #	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
> #	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
> #	FontPath	"/usr/lib/X11/fonts/misc/:unscaled"
> #	FontPath	"/usr/lib/X11/fonts/cyrillic"
> #	FontPath	"/usr/lib/X11/fonts/koi8-r.100dpi"
> #	FontPath	"/usr/lib/X11/fonts/koi8-r.75dpi"
> #	FontPath	"/usr/lib/X11/fonts/koi8-r.misc"
> #	FontPath	"/usr/lib/X11/fonts/misc"
> #	FontPath	"/usr/lib/X11/fonts/Type1"
> #	FontPath	"/usr/lib/X11/fonts/Speedo"
> #	FontPath	"/usr/lib/X11/fonts/100dpi"
> #	FontPath	"/usr/lib/X11/fonts/75dpi"
> EndSection
> 
> Section "ServerFlags"
> EndSection
> 
> Section "Module"
> 	Load	"ddc"
> 	Load	"GLcore"
> 	Load	"dbe"
> 	Load	"dri"
> 	Load	"extmod"
> 	Load	"glx"
> 	Load	"pex5"
> 	Load	"record"
> 	Load	"xie"
> 	Load	"bitmap"
> 	Load	"freetype"
> 	Load	"speedo"
> 	Load	"type1"
> 	Load	"vbe"
> 	Load	"int10"
> EndSection
> 
> Section "InputDevice"
> 	Identifier	"Generic Keyboard"
> 	Driver		"keyboard"
> 	Option		"CoreKeyboard"
> 	Option		"Protocol"	"Standard"
> 	Option		"AutoRepeat"	"500 30"
> 	Option		"XkbKeycodes"	"xfree86"
> 	Option		"XkbTypes"	"default"
> 	Option		"XkbCompat"	"default"
> 	Option		"XkbGeometry"	"pc"
> 	Option		"XkbRules"	"xfree86"
> 	Option		"XkbModel"	"microsoft"
> 	Option		"XkbLayout"	"rums(basic)"
> 	Option		"XkbOptions"	"grp:toggle"
> EndSection
> 
> Section "InputDevice"
> 	Identifier	"Generic Mouse"
> 	Driver		"mouse"
> 	Option		"CorePointer"
> 	Option		"Device"		"/dev/psaux"
> 	Option		"Protocol"		"PS/2"
> 	Option		"Emulate3Buttons"	"yes"
> 	Option		"Emulate3Timeout"	"150"
> 	Option		"ZAxisMapping"		"4 5"
> EndSection
> 
> Section "Device"
> 	Identifier	"Matrox G400"
> 	Driver		"mga"
> 	Option		"AGPMode" "2"
> 	ChipSet		"mgag400"
> 	BusID		"PCI:1:0:0"
> EndSection
> 
> Section "Monitor"
> 	Identifier	"Hitachi CM 751"
> 	HorizSync	31-93
> 	VertRefresh	50-160
> 	Option		"DPMS"
> EndSection
> 
> Section "Screen"
> 	Identifier	"Default Screen"
> 	Device		"Matrox G400"
> 	Monitor		"Hitachi CM 751"
> 	DefaultDepth	16
> 	SubSection "Display"
> 		Depth		1
> 		Modes		"1280x1024" "1024x768" "800x600"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		4
> 		Modes		"1280x1024" "1024x768" "800x600"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		8
> 		Modes		"1280x1024" "1024x768" "800x600"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		15
> 		Modes		"1280x1024" "1024x768" "800x600"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		16
> 		Modes		"1280x1024" "1024x768" "800x600"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		24
> 		Modes		"1280x1024" "1024x768" "800x600"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		32
> 		Modes		"1280x960" "1024x768" "800x600"
> 	EndSubSection
> EndSection
> 
> Section "ServerLayout"
> 	Identifier	"Default Layout"
> 	Screen		"Default Screen"
> 	InputDevice	"Generic Keyboard"
> 	InputDevice	"Generic Mouse"
> EndSection
> 
> Section "DRI"
> 	Group "dri"
> #	Mode	0666
> 	Mode	0660
> EndSection
> 
> # end of XF86Config


-- 
Edwin ERTW Lau

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Reply to: