On Wed, Jun 14, 2000 at 10:26:50AM +0530, Shanker Balan wrote:
> There is a utility called "testgart" which tests whether agpgart.o
> module was successfully able to allocate frame buffer or not.
> 
> I think it is part of the Utah-GLX suite. Try it out!

Pal, that doesnt/wont work, as the fundamental problem lies in the agpgart
module supplied by RH... (i think) RH has supplied the newagp (gart) module,
which is guaranteed _not_ to work with the i810, atleast the 20 systems i have 
here. this is what i did to get it work... altho getting X wasn't my _actual_
priority... getting Q3 was... :> 

NOTE: this procedure involves lot of kernel patching and compiling, and CVSing.
this is not for the faint hearted... maybe some kind soul with the time (shanu? ;)
will make some RPMs for RH/SuSE. This is _not_ distro specific, it'll work on
any Linux box:

pre-requisites:

1. The kernel source
2. cvs - knowhow
3. net access
4. patch - knowhow

procedure:

1. get the kernel sources into /usr/src/linux or anywhere u want... i'm assuming
it to be there... and yeah, i'm not talking about the RH-fiddled kernel here.
U're better off with the original one from kernel.org or its mirrors...

2. get the gart patch (NOT the newagp). get it from here: 
http://matroxusers.com/driver/Linux/GART/agpgart-20000328.tar.gz

3. apply the patch to u're kernel:

# cd /usr/src/linux
# patch -p1 < /path/to/agpgart/agpgart.patch

4. make menuconfig; customize kernel... u better know what u're doing here.
5. compile: make dep clean bzlilo modules modules_install

--------------------

this is 'nuff to get X up and running after u load the now created agpgart.o
after u're reboot with the new kernel. if u're too lazy to reboot, u could
get that nifty utility which allows u to do a quick reboot by directly writing
to kernel mem, the new kernel, and passing control... get it at fm.

if u want to go ahead and get Q3 running... here's more of hacking...

6. get Utah-glx CVS. the RPM on matroxusers or _any_ old one _will not_ work, as 
there's a bug in the previous releases, which corrupted a _lot_ of i810 mem...
the instructions for ripping off the CVS are at http://utah-glx.sourceforge.net

7. get the Mesa source as Utah-glx needs it. get it from http://mesa3d.org
i used the CVS version, but i guess the standard 3.2 release'll do.

8. configure and compile Utah-glx. instructions are in the README files. if u 
cant RTFM, u shudn't be reading this anyway.

9. put the glx.so wherever u want, tho /usr/X11R6/lib/modules is a sane place
to put it in, and add 'Module "glx.so"' to u're XF86Config.

10. if u haven't got ALSA, get it and get sound running.

11. fire up Q3. frag all the way.

disclaimer:

I've never written a piece of an HOWTO, or any documentation. I might have gone
wrong somewhere up there... all comments/flames are welcome. stuff which doesn't
make much of a sense will be redirected to /dev/null

Nikhil.


-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/

Reply via email to