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

Re: XFree86 4.0.2 and Matrox G400



On Mon, Feb 12, 2001 at 11:39:11PM +0000, Lee Elliott wrote:
> Hello List,
> 
> I'm not able to get hardware rendering/GL running on my G400.  Kernel is
> currently 2.4.0-test11 (2.4.0 was a bit wobbly for me - haven't d/loaded
> 2.4.1 yet) and I'm getting the follwing error in /var/log/XFre86.0.log

Okay, that mostly matches me (though I'm on test10 since I'm lazy...)

> (II) Setting vga for screen 0.
> (II) Loading sub module "vgahw"
> (II) LoadModule: "vgahw"
> (II) Loading /usr/X11R6/lib/modules/libvgahw.a
> (II) Module vgahw: vendor="The XFree86 Project"
> 	compiled for 4.0.2, module version = 0.1.0
> 	ABI class: XFree86 Video Driver, version 0.3
> (**) MGA(0): Depth 16, (--) framebuffer bpp 16
> (==) MGA(0): RGB weight 565
> (II) Loading sub module "mga_hal"
> (II) LoadModule: "mga_hal"
> (WW) Warning, couldn't open module mga_hal
> (II) UnloadModule: "mga_hal"
> (EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
> (--) MGA(0): Chipset: "mgag400"
> (II) MGA(0): Offscreen memory usage will be limited to 512 lines if the
> DRI is enabled.
> (==) MGA(0): Using AGP Mode 1x
> (--) MGA(0): Linear framebuffer at 0xF2000000
> (--) MGA(0): MMIO registers at 0xFEAFC000
> (--) MGA(0): Pseudo-DMA transfer window at 0xFE000000
> (--) MGA(0): BIOS at 0xFEAE0000
> 
> So, mga_hal does not exist!  Indeed it doesn't - at least I couldn't
> find it.

Right, nor does it exist on mine... but my acceleration works fine
(tuxracer is unplayable without it :)).

The driver you want is just above all that:

(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

> Funnily enough, DRI goes on to initialise ok - so it claims, but using
> the ssystem -bench option shows no difference in performance.  It's a
> pity because I've got another installation on this same system that I've
> frozen with X3.3.6 & glx that runs like a dream.

Do you have a bunch of noise from DRM?

(==) MGA(0): Write-combining range (0xce000000,0x1000000)
(--) MGA(0): 16 DWORD fifo
(==) MGA(0): Default visual is TrueColor
(II) MGA(0): [drm] bpp: 16 depth: 16
(II) MGA(0): [drm] Sarea 2196+632: 2828
(0): [drm] created "mga" driver at busid "PCI:1:0:0"
(0): [drm] added 4096 byte SAREA at 0xc89c9000
(0): [drm] mapped SAREA 0xc89c9000 to 0x4001c000
(0): [drm] framebuffer handle = 0xce000000
(0): [drm] added 1 reserved context for kernel
(II) MGA(0): [drm] Registers = 0xcd000000
[drm] drmAgpEnabled succeeded for AGP mode 1x
(II) MGA(0): WARP Microcode Loaded

etc etc...

-- 
CueCat decoder .signature by Larry Wall:
#!/usr/bin/perl -n
printf "Serial: %s Type: %s Code: %s\n", map { tr/a-zA-Z0-9+-/ -_/; $_ = unpack
'u', chr(32 + length()*3/4) . $_; s/\0+$//; $_ ^= "C" x length; } /\.([^.]+)/g; 



Reply to: