Subject: Re: #2 -- XFree86 4.1 & D815EEA2 motherboard
To: None <oinkfreebiker@att.net>
From: Giles Lean <giles@nemeton.com.au>
List: netbsd-help
Date: 09/03/2001 06:34:17
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <2017.999462831.1@nemeton.com.au>
> Per the XFree86 4.1.0 docs: The Intel D185 chipset is
> directly supported on FreeBSD and Linux with something
> called an AGP GART kernel support...whatever that is.
Once you have the kernel module (see attached, but it should also be
in the archives) xf86config (NOT XF86Setup -- isn't that history??)
should do something vaguely sensible. I say "vaguely" because I never
find the generated file immediately useful; I always end up commenting
out a bunch of mode lines until I determine what works well. Few if
any monitors actually work at the specifications their manuals
list. :-(
Regards,
Giles
------- =_aaaaaaaaaa0
Content-Type: message/rfc822
Content-ID: <2017.999462831.2@nemeton.com.au>
by epsilon.pair.com with SMTP; 20 Feb 2001 09:47:04 -0000
by dmz1.ace-ii.com (Postfix) with ESMTP
id 5DBE62D01; Tue, 20 Feb 2001 09:47:00 +0000 (GMT)
id B5DFB2D01; Tue, 20 Feb 2001 09:46:59 +0000 (GMT)
Date: Tue, 20 Feb 2001 09:46:59 +0000
From: Alistair Crooks <agc@pkgsrc.org>
To: Giles Lean <giles@nemeton.com.au>
Cc: Greywolf <greywolf@starwolf.com>,
BSD Current Users <current-users@netbsd.org>
Subject: Re: intel 82815 chipset...
Message-ID: <20010220094659.L19711@db1.london.ace-ii.com>
References: <536.982642114@nemeton.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <536.982642114@nemeton.com.au>; from giles@nemeton.com.au on Tue, Feb 20, 2001 at 03:08:34PM +1100
Sender: alistair.crooks@ace-ii.com
On Tue, Feb 20, 2001 at 03:08:34PM +1100, Giles Lean wrote:
>
> > ftp://ftp.netbsd.org/pub/NetBSD/misc/agc/agpgart.?
> >
> > has the agpgart mods to make it work on 815s. Now if I could just find
> > my X server mods...
>
> Hi Alistair,
>
> Very helpful -- thanks. My desktop machine's video card died, so I
> pulled a server out of the cupboard and (except for the noise -- my
> desktop machine should be diskless!) am happy again.
>
> For the benefit of other lurkers and the mail archives, here are the
> steps I used to configure this.
I've just uploaded my i815-x11.tgz archive which I use to bootstrap
machines around here. I've been running with it since November, and
it works fine.
[7:40:28] agc@ws4 ~ 114 > tar tvzf i815-x11.tgz
drwxr-xr-x root/wheel 0 Nov 27 12:33 2000 lkm/
-rw-r--r-- root/wheel 8140 Nov 27 12:16 2000 lkm/agpgart.o
-rwxr-xr-x root/wheel 266 Nov 27 09:59 2000 lkm/agpgart_install
-rwxr-xr-x root/wheel 305143 Nov 27 12:33 2000 lkm/agpgart
-rw-r--r-- root/wheel 293 Nov 27 10:00 2000 etc/lkm.conf
-rwxr-xr-x root/wheel 4723 Nov 27 15:29 2000 etc/XF86Config
lrwxr-xr-x root/wheel 0 Nov 27 12:34 2000 usr/X11R6/bin/X -> XF86_SVGA.i810
-r-xr-xr-x root/wheel 3461172 Nov 27 15:16 2000 usr/X11R6/bin/XF86_SVGA.i810
[7:40:50] agc@ws4 ~ 115 >
(Ignore lkm/agpgart, it got in the archive sometime ago, I just never
took it out).
The archive is at:
ftp://ftp.netbsd.org/pub/NetBSD/misc/agc/i815-x11.tgz
> 0. (a) install agpgart.o in /usr/lkm
> (b) copy XF86_SVGA.i180 to /usr/X11R6/bin and make it executable
> (c) link /usr/X11R6/bin/X to /usr/X11R6/bin/F86_SVGA.i380
I prefer to install lkms into /lkm, so that, as long as I have a root
filesystem, I can load the lkm if I want. Handy, sometimes, and old
habits die hard.
> 1. Set lkm=YES in /etc/rc.conf if it is not already, and add agpgart.o
> to /etc/lkm.conf:
>
> agpgart.o - - /usr/local/sbin/mkdev_agpgart - AFTERMOUNT
>
> After rebooting, this message shows in dmesg:
>
> NetBSD AGP GART interface v0.03 (c) Jeff Hartmann
> -- Experimental distribution, only i810 enabled
> Got pages for a 64 megabyte mapping for the agp aperature.
> i810_configure
>
> 2. Create a postinstall script to be called from modload via
> /etc/lkm.conf to create /dev/agpgart. Until this is done starting
> X will fail because /dev/agpgart doesn't exist:
>
> (--) SVGA: Stat failed on /dev/agpgart: No such file or directory
>
> Fatal server error:
> couldn't get memory from gart module,
> and I810_UNSUPPORTED_GTT_FALLBACK not set.
>
> The script:
>
> #! /bin/sh
> # Called by modload(8) after loading agpgart.o
> rm -f /dev/agpgart
> mknod /dev/agpgart c $3 0
These two are in the archive I uploaded.
They've worked fine for me since November last year. I have it on 4 Compaq
Deskpro EN 200s.
Regards,
Alistair
------- =_aaaaaaaaaa0--