From owner-freebsd-multimedia Fri Nov 3 5:37:48 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from wop21.wop.wtb.tue.nl (wop21.wop.wtb.tue.nl [131.155.56.216]) by hub.freebsd.org (Postfix) with ESMTP id 9AF7A37B4CF for ; Fri, 3 Nov 2000 05:37:44 -0800 (PST) Received: (from karelj@localhost) by wop21.wop.wtb.tue.nl (8.9.3/8.9.3) id OAA43416; Fri, 3 Nov 2000 14:36:49 +0100 (CET) (envelope-from karelj) Date: Fri, 3 Nov 2000 14:35:29 +0100 From: "Karel J. Bosschaart" To: Stephen Hocking Cc: multimedia@FreeBSD.ORG Subject: Re: OpenGL with hardware acceleration Message-ID: <20001103143528.A43353@wop21.wop.wtb.tue.nl> Reply-To: K.J.Bosschaart@wtb.tue.nl References: <6250.973085294@raven.ravenbrook.com> <200011011500.eA1F05G24118@bloop.craftncomp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200011011500.eA1F05G24118@bloop.craftncomp.com>; from shocking@houston.rr.com on Wed, Nov 01, 2000 at 09:00:05AM -0600 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Nov 01, 2000 at 09:00:05AM -0600, Stephen Hocking wrote: > I'm getting good results with a G400 (although the driver still has some > bugs). Down load the XFrRee 4.01 sources, and you'll have to make a mod to a > few files to make sure that a) the mga subdirectory is compiled in > programs/Xserver/hw/xfree86/os-support/bsd/kernel and tweak a couple of the > files to make sure that SYSCTL_ARGS is always wrapped in (). This is just from > memory mind you! > Well, thanks a lot Stephen!! Finally I managed to make everything compile, using previous posts to the -multimedia list as well. Everything looks very nice now, agp0, drm0 in dmesg and the XFree86 logfile seems OK as well. (on http://wop21.wop.wtb.tue.nl/freebsd/hwaccel.txt I've put a quick & (very) dirty list of what I've done to make it work, so it'll be easier for me to repeat everything ;-) However, when I want to try the direct rendering with glclock, I'm getting a black window without anything in there :-(. The screen is blocked, but a remote login shows that glclock is in the state 'mgafg', according to top. It can be killed easily and the machine is accesible again through the keyboard. I have the exact same problem with G200/8 MB and G400/32 MB, although the G200 has to use much lower resolution in order to have enough memory left for dri. Both at 16bpp. Any idea what could be wrong? Would it make sense to cvs DRI sources? I have those that are included with the standard XFree86-4 in the ports, they seem to be a little dated (2000-05 or so). Also, I have my PC quite filled up, with two Voodoo2 boards, still working fine with linux glide (so completely bypassing DRI). No sharing of IRQ's with the video card though. Thanks anyway for the () wrapping tip! Karel. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message