From owner-freebsd-multimedia Tue Apr 10 19:30:17 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from asmodean.nks.net (asmodean.nks.net [216.139.201.16]) by hub.freebsd.org (Postfix) with ESMTP id 4DB1937B423 for ; Tue, 10 Apr 2001 19:30:14 -0700 (PDT) (envelope-from joeo@cracktown.com) Received: from localhost (joeo@localhost) by asmodean.nks.net (8.9.3/8.9.3) with ESMTP id WAA24994; Tue, 10 Apr 2001 22:30:02 -0400 Date: Tue, 10 Apr 2001 22:30:02 -0400 (EDT) From: X-Sender: To: Randall Hopper Cc: Subject: Re: Any DRI users with XFree86 4.0.3? In-Reply-To: <20010410205828.A745@nc.rr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm not sure that the mga part of that device driver knows the ID of your card. These two are defined down in xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/mga/mga_drv.c; switch (pci_get_devid(dev)) { case 0x0525102b: s = "Matrox MGA G400 AGP graphics accelerator"; break; case 0x0521102b: s = "Matrox MGA G200 AGP graphics accelerator"; break; } Do a scanpci and see what the vendor/device numbers are on your card. Also, I'm not certain if the PCI version of the mga cards will work under the version of the DRI in XFree86 4.0.3, due to need to arbitrarily map dma buffers after the system is running. But I can't speak authoritatively about that. On Tue, 10 Apr 2001, Randall Hopper wrote: > Have you gotten DRI going with XFree86 4.0.3? I have a question. I've > gotten it built, kernel modules installed, and loading (tip kudos to Nick > Sayer and K.J. Bosschaart), and I'm even getting the module load boot > probes: > > Preloaded elf module "agp.ko" at 0xc03fa09c. > Preloaded elf module "mga.ko" at 0xc03fa138. > Preloaded elf module "drm.ko" at 0xc03fa1d4. > > However, I'm missing the drm0 device-related probe: > > drm0: mem \ > 0xdf000000-0xdf7fffff,0xdf800000-0xdf803fff,0xe7000000-0xe7ffffff irq \ > 11 at device 0.0 on pci1 > > mentioned here: > > http://wop21.wop.wtb.tue.nl/freebsd/hwaccel.html > > If you have DRI going on XFree86 4.0.3, do you see one of these drm0 boot > probes in your dmesg? > > (FWIW, I wouldn't expect to see the AGP probes also mentioned as I have a > Matrox G200 PCI. However, the missing drm0 probe in my boot-ups -- along > with no appreciable rendering speed difference from before -- is probably > relevent. But that's a guess.) > > And what causes the "drm0" probe to be kicked out. Maybe I'm missing some > kernel config magic?? > > Thanks, > > Randall > > P.S. I'm on 4.2-R, if that makes a difference. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message