Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 19:10:13 -0400
From:      Randall Hopper <aa8vb@nc.rr.com>
To:        Eric Anholt <anholt@teleport.com>
Cc:        multimedia@FreeBSD.ORG
Subject:   Matrox G450 and XFree86-4/DRI
Message-ID:  <20010723191013.B892@nc.rr.com>
In-Reply-To: <01072001350401.00581@positron.anholt.dyn.dhs.org>; from anholt@teleport.com on Fri, Jul 20, 2001 at 01:35:04AM -0700
References:  <3B577AFA.39D5B7F@sm.socccd.cc.ca.us> <01072001350401.00581@positron.anholt.dyn.dhs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Eric Anholt:
 |You can visit my page http://gladstone.uoregon.edu/~eanholt/dri/ for 
 |information on the DRI for FreeBSD.

Thanks for writing this and keeping it up-to-date.  It's been a big help!

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.

On boot-up, I see:

     drm0: <Matrox G400 (AGP)> mem 0xf2000000-0xf27fffff,0xf2800000-0xf2803fff,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

The relevent XFree86.0.log bits I think are:

     (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.


I'm a bit confused.  I thought agpgart was history.  Also, I have a G450,
not a G400.

I'll start digging in DRM for clues, but if anyone has ideas or debugging
tips, please let me know!

Thanks,

Randall

-- 
Randall Hopper
aa8vb@nc.rr.com

     dmesg:

     ...
     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=4130, device=28686
     info: [drm] Checking PCI vendor=4130, device=28686
     info: [drm] Checking PCI vendor=4130, device=28686
     info: [drm] Checking PCI vendor=4130, device=28686
     info: [drm] Checking PCI vendor=4130, device=28686
     info: [drm] Checking PCI vendor=4130, device=28687
     info: [drm] Checking PCI vendor=4130, device=28687
     info: [drm] Checking PCI vendor=4130, device=28687
     info: [drm] Checking PCI vendor=4130, device=28687
     ...
     info: [drm] Checking PCI vendor=4139, device=1317
     info: [drm] Checking PCI vendor=4139, device=1317
     drm0: <Matrox G400 (AGP)> mem 0xf2000000-0xf27fffff,0xf2800000-0xf2803fff,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=4358, device=1670
     info: [drm] Checking PCI vendor=4358, device=1670
     info: [drm] Checking PCI vendor=4358, device=1670
     info: [drm] Checking PCI vendor=4358, device=1670
     ...
     info: [drm] Checking PCI vendor=4358, device=12344
     info: [drm] Checking PCI vendor=4358, device=12344
     info: [drm] Checking PCI vendor=4358, device=12344
     info: [drm] Checking PCI vendor=4358, device=12344
     info: [drm] Checking PCI vendor=4358, device=12344
     ...
     info: [drm] Checking PCI vendor=4358, device=12375
     info: [drm] Checking PCI vendor=4358, device=12375
     info: [drm] Checking PCI vendor=4358, device=12375
     info: [drm] Checking PCI vendor=4358, device=12375
     info: [drm] Checking PCI vendor=4358, device=12375
     ...
     info: [drm] Checking PCI vendor=4279, device=36949
     info: [drm] Checking PCI vendor=4279, device=36949
     ...
     info: [drm] Checking PCI vendor=4096, device=1
     info: [drm] Checking PCI vendor=4096, device=1
     info: [drm] Checking PCI vendor=4096, device=1
     info: [drm] Checking PCI vendor=4096, device=1
     info: [drm] Checking PCI vendor=4096, device=1
     ...

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?20010723191013.B892>