Subject: matrox g400 problems
To: None <tech-x11@netbsd.org>
From: Audun Arnesen Nordal <audun@stud.cs.uit.no>
List: tech-x11
Date: 05/03/2001 11:44:33
Hello all.

I've looked around a bit in the archives, but I can't find any answers to
this problem. I downloaded and installed a compiled version of XFree86
4.0.3 from ftp://ftp.netbsd.org/pub/NetBSD/misc/hubertf/ . However I can't
get X working with my graphics device (Matrox G400 AGP).

Excerpt from dmesg:
NetBSD 1.5.1_BETA (audun) #1: Wed May  2 17:03:19 CEST 2001
    audun@:/usr/src/sys/arch/i386/compile/audun
cpu0: Intel Pentium III (Coppermine) (686-class), 794.69 MHz
[...]
vga1 at pci1 dev 0 function 0: Matrox MGA G400 AGP (rev. 0x82)
wsdisplay0 at vga1: console (80x25, vt100 emulation)

Excerpt from X startup:
[...]
(--) PCI:*(1:0:0) Matrox MGA G400 AGP rev 130, Mem @ 0xf4000000/25, 0xfcffc000/14, 0xfc000000/23
[...]
(II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.o
(II) Module mga: vendor="The XFree86 Project"
	compiled for 4.0.3, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
	compiled for 4.0.3, module version = 1.0.0
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
	mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400
(--) Assigning device section with no busID to primary device
(--) Chipset mgag400 found
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
	compiled for 4.0.3, module version = 0.1.0
(**) MGA(0): Depth 16, (--) framebuffer bpp 16
(==) MGA(0): RGB weight 565
(WW) Warning, couldn't open module mga_hal
(EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
(EE) MGA(0): G450 support not available without Matrox HAL module
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found


Does anybody know how I can get X to load that mga_hal module.
Alternatively, can I select a different driver just to get X up (better
than 8 bit 640*480, I mean).

Best regards,


-- 
Audun Nordal