Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2001 06:32:49 -0400
From:      Coleman Kane <cokane@FreeBSD.ORG>
To:        Randall Hopper <aa8vb@nc.rr.com>
Cc:        Eric Anholt <anholt@teleport.com>, multimedia@FreeBSD.ORG
Subject:   Re: Matrox G450 and XFree86-4/DRI
Message-ID:  <20010725063249.A37345@evil.apt>
In-Reply-To: <20010723191013.B892@nc.rr.com>; from aa8vb@nc.rr.com on Mon, Jul 23, 2001 at 07:10:13PM -0400
References:  <3B577AFA.39D5B7F@sm.socccd.cc.ca.us> <01072001350401.00581@positron.anholt.dyn.dhs.org> <20010723191013.B892@nc.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

AGPGART still exists, but it is no longer a separate module. You can set
it up in the kernel. It has been around since 4.0 as "device agp" in the
config file. You can also add "agp_load=3DYES" to the /boot/loader.conf file
if you do not wish to recompile. It has lagged behind some when it comes
to support. I believe all VIA, Intel, SiS, and ALi bridges are supported,
as well as the AMD 751 bridge. I have a 761, and I am not sure whether it
works or not (I have to modify the source to get it to detect). Anyway, it
puts a /dev/agpgart entry into the filesystem. This is basically the door
that the app uses to set up apertures in system memory for AGP transfers.


On Mon, Jul 23, 2001 at 07:10:13PM -0400, Randall Hopper wrote, and it was =
proclaimed:
> Eric Anholt:
>  |You can visit my page http://gladstone.uoregon.edu/~eanholt/dri/ for=20
>  |information on the DRI for FreeBSD.
>=20
> Thanks for writing this and keeping it up-to-date.  It's been a big help!
>=20
> Thanks to your write-up, I'm to the point where everything's built,
> installed, kernel modules loading (I assume drm.ko is not relevent
> anymore), but DRI is still a bit shy and won't enable.
>=20
> On boot-up, I see:
>=20
>      drm0: <Matrox G400 (AGP)> mem 0xf2000000-0xf27fffff,0xf2800000-0xf28=
03fff,0xf4000000-0xf5ffffff irq 11 at device 5.0 on pci1
> -->  error: [drm:mga_init] *ERROR* Cannot initialize the agpgart module. =
=20
>      device_probe_and_attach: drm0 attach returned 12
>=20
> The relevent XFree86.0.log bits I think are:
>=20
>      (II) MGA(0): [drm] bpp: 16 depth: 16
>      (II) MGA(0): [drm] Sarea 2200+664: 2864
>      (II) MGA(0): [drm] drmOpen failed
> -->  (EE) MGA(0): [drm] DRIScreenInit failed.  Disabling DRI.
>=20
>=20
> I'm a bit confused.  I thought agpgart was history.  Also, I have a G450,
> not a G400.
>=20
> I'll start digging in DRM for clues, but if anyone has ideas or debugging
> tips, please let me know!
>=20
> Thanks,
>=20
> Randall
>=20
> --=20
> Randall Hopper
> aa8vb@nc.rr.com
>=20
>      dmesg:
>=20
>      ...
>      FreeBSD 4.3-STABLE #2: Mon Jul 23 17:44:40 EDT 2001
>          rhh@stealth:/usr/src/sys/compile/STEALTH
>      ...
>      Preloaded elf kernel "kernel" at 0xc0484000.
>      Preloaded elf module "linux.ko" at 0xc048409c.
>      Preloaded elf module "agp.ko" at 0xc048413c.
>      Preloaded elf module "tdfx.ko" at 0xc04841d8.
>      Preloaded elf module "mga.ko" at 0xc0484274.
>      Preloaded elf module "r128.ko" at 0xc0484310.
>      Preloaded elf module "radeon.ko" at 0xc04843ac.
>      Preloaded elf module "gamma.ko" at 0xc048444c.
>      ...
>      Pentium Pro MTRR support enabled
>      ...
>      info: [drm] Checking PCI vendor=3D4130, device=3D28686
>      info: [drm] Checking PCI vendor=3D4130, device=3D28686
>      info: [drm] Checking PCI vendor=3D4130, device=3D28686
>      info: [drm] Checking PCI vendor=3D4130, device=3D28686
>      info: [drm] Checking PCI vendor=3D4130, device=3D28686
>      info: [drm] Checking PCI vendor=3D4130, device=3D28687
>      info: [drm] Checking PCI vendor=3D4130, device=3D28687
>      info: [drm] Checking PCI vendor=3D4130, device=3D28687
>      info: [drm] Checking PCI vendor=3D4130, device=3D28687
>      ...
>      info: [drm] Checking PCI vendor=3D4139, device=3D1317
>      info: [drm] Checking PCI vendor=3D4139, device=3D1317
>      drm0: <Matrox G400 (AGP)> mem 0xf2000000-0xf27fffff,0xf2800000-0xf28=
03fff,0xf4000000-0xf5ffffff irq 11 at device 5.0 on pci1
>      error: [drm:mga_init] *ERROR* Cannot initialize the agpgart module.
>      device_probe_and_attach: drm0 attach returned 12
>      info: [drm] Checking PCI vendor=3D4358, device=3D1670
>      info: [drm] Checking PCI vendor=3D4358, device=3D1670
>      info: [drm] Checking PCI vendor=3D4358, device=3D1670
>      info: [drm] Checking PCI vendor=3D4358, device=3D1670
>      ...
>      info: [drm] Checking PCI vendor=3D4358, device=3D12344
>      info: [drm] Checking PCI vendor=3D4358, device=3D12344
>      info: [drm] Checking PCI vendor=3D4358, device=3D12344
>      info: [drm] Checking PCI vendor=3D4358, device=3D12344
>      info: [drm] Checking PCI vendor=3D4358, device=3D12344
>      ...
>      info: [drm] Checking PCI vendor=3D4358, device=3D12375
>      info: [drm] Checking PCI vendor=3D4358, device=3D12375
>      info: [drm] Checking PCI vendor=3D4358, device=3D12375
>      info: [drm] Checking PCI vendor=3D4358, device=3D12375
>      info: [drm] Checking PCI vendor=3D4358, device=3D12375
>      ...
>      info: [drm] Checking PCI vendor=3D4279, device=3D36949
>      info: [drm] Checking PCI vendor=3D4279, device=3D36949
>      ...
>      info: [drm] Checking PCI vendor=3D4096, device=3D1
>      info: [drm] Checking PCI vendor=3D4096, device=3D1
>      info: [drm] Checking PCI vendor=3D4096, device=3D1
>      info: [drm] Checking PCI vendor=3D4096, device=3D1
>      info: [drm] Checking PCI vendor=3D4096, device=3D1
>      ...
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-multimedia" in the body of the message
>=20

--liOOAslEiF7prFVr
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7XqBQERViMObJ880RApY9AJwJuK4/ToYCBEC7qxkhXIu7Ll5s4wCeMEH6
4Y3e98WbSbno/s2rBxCif6g=
=F4WN
-----END PGP SIGNATURE-----

--liOOAslEiF7prFVr--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010725063249.A37345>