Subject: Re: XFREE 3.3.6 and i810 Chips (fwd)
To: Matthieu Herrb <matthieu@laas.fr>
From: Mark Davies <mark@MCS.VUW.AC.NZ>
List: port-i386
Date: 01/31/2000 23:44:14
	From:  Matthieu Herrb <matthieu@laas.fr> 

> It's linux-specific in the sense that it needs a kernel module to
> program some of the i810 chipset features (AGP GART, I don't know
> exactly what it is). This module is only available for Linux so
> far. The source of this kernel module is in the XFree86 tree under a
> X11 copyright, so there is no licensing problem to add it to NetBSD.

> I will probably add it to the XFree86 aperture driver for NetBSD in
> the future, but I'd prefer to have some hardware to test it.

Well here's what we've found from playing with an 810e box for a couple of 
hours.

To build XF86_SVGA with i810 support on NetBSD-current: i810_accel.c needs an 
"#include <sys/types.h>" before the "#include <sys/mman.h>" and
i810_memory.c needs "./os-support/linux/" on the include path to pick up the 
agpgart.h thats in there.

This gives you a server that will run if you define the environment variable
I810_UNSUPPORTED_GTT_FALLBACK (so it ignores the fact you don't have kernel 
support).

In 24bit the driver limits the max dot-clock to 128MHz which is a little 
limiting so I bumped it up a bit and got a reasonable 1280x1024 @ 76Hz refresh 
rate but got the strange behaviour that if the screen was configured to go 
straight into this mode (or any 1280x1024 mode) the display would screw up 
showing lots of vertical lines and not much else, but if configured to start 
at a smaller resolution (eg 1152x864) and then switch to 1280x1024 using
<CNTL><ALT>+ it displayed fine.

Having got it to this state most applications I've tried seem to work fine but 
netscape displays mono icons in its toolbars and acroread crashes (Both of 
these work fine in an otherwise equivalent machine but with a millennium g200).

So there is some hope but appears to be a few glitches yet and I have no idea 
what the AGP GART stuff is supposed to do.

cheers
mark