From owner-freebsd-multimedia Sat Jan 5 16:57:33 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from winston.freebsd.org (adsl-64-173-15-98.dsl.sntc01.pacbell.net [64.173.15.98]) by hub.freebsd.org (Postfix) with ESMTP id 87E0937B405 for ; Sat, 5 Jan 2002 16:57:30 -0800 (PST) Received: from winston.freebsd.org (jkh@localhost [127.0.0.1]) by winston.freebsd.org (8.11.6/8.11.6) with ESMTP id g060vNJ15145; Sat, 5 Jan 2002 16:57:23 -0800 (PST) (envelope-from jkh@winston.freebsd.org) To: Randall Hopper Cc: Bjarne Wichmann Petersen , freebsd-multimedia@FreeBSD.ORG Subject: Re: OpenGL In-Reply-To: Message from Randall Hopper of "Sat, 05 Jan 2002 12:00:24 EST." <20020105120024.A1094@nc.rr.com> Date: Sat, 05 Jan 2002 16:57:22 -0800 Message-ID: <15141.1010278642@winston.freebsd.org> From: Jordan Hubbard Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Seeing your guys' conversation here compelled me to give DRI acceleration another try, so I did a make World in both the XFree86-current tree and in the DRI development branch you pointed to and installed the results (though to get `make install' to function in the DRI bits, I had to remove the tdfx driver from the build list). Now I'm going down your checklist: > 1) Verifying your libGL is the DRI-enabled one (it almost certainly is, but > just to double-check): Check. The X server also identifies itself as: XFree86 Version 4.1.99.1 (DRI bsd-2-0-0) / X Window System > 2) DRM module loaded > > > kldstat | grep mga > 3 1 0xc041f000 183f4 mga.ko No check. This has me stumped. root@winston-> kldload /a/local/lib/drm/mga.ko kldload: can't load /a/local/lib/drm/mga.ko: Exec format error This is as installed from /usr/ports/graphics/drm-kmod and, for some reason, the resulting modules are disliked by my 4.5-PRERELEASE system. How are you getting a usable mga.ko module? > 3) DRI device perms > > > ls -ltd /dev > drwxr-xr-x 4 root wheel 17408 Jan 5 09:18 /dev/ > > ls -ltd /dev/dri > drwxrwxrwx 2 root wheel 512 Jan 5 10:13 /dev/dri/ > > ls -ltd /dev/dri/* > crw-rw-rw- 1 root wheel 145, 0 Jan 5 10:13 /dev/dri/card0 And how did you get this created without devfs? I see nothing in our MAKEDEV which supports this. My system is an older AMD Athlon (Slot-A) with ASUS K7 mobo and Matrox MGA G400 AGP. Even without DRI support, I get glxgears to do ``860 frames in 5.0 seconds = 172.000 FPS'', though things like sproingies and tuxracer turn in something closer to 4-5 FPS. I've also recompiled both from scratch, just in case they're linking with something weird, but no luck. Any ideas for someone who's a few steps further back than you guys? :) Thanks! - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message