From owner-freebsd-x11@FreeBSD.ORG Tue Mar 20 21:13:27 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B594316A402 for ; Tue, 20 Mar 2007 21:13:27 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 418D713C465 for ; Tue, 20 Mar 2007 21:13:27 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-10-135.bredband.comhem.se ([83.253.10.135]:64702 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with smtp (Exim 4.63) (envelope-from ) id 1HTlPI-0003vJ-4E for x11@freebsd.org; Tue, 20 Mar 2007 21:58:13 +0100 Received: (qmail 30609 invoked from network); 20 Mar 2007 21:58:08 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with SMTP; 20 Mar 2007 21:58:08 +0100 Received: (qmail 24264 invoked by uid 1001); 20 Mar 2007 21:58:08 +0100 Date: Tue, 20 Mar 2007 21:58:08 +0100 From: Erik Trulsson To: Vince Message-ID: <20070320205808.GA24161@owl.midgard.homeip.net> Mail-Followup-To: Vince , Mikhail Teterin , Kris Glynn , x11@freebsd.org References: <7C3101310BBC894E8A0D5FB2C36B95893456FE@ISKCMX01.virginblue.internal> <200703201113.05547@aldan> <460008BE.3090705@unsane.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <460008BE.3090705@unsane.co.uk> User-Agent: Mutt/1.5.14 (2007-02-12) X-ACL-Warn: Too high rate of unknown addresses received from you X-Scan-Result: No virus found in message 1HTlPI-0003vJ-4E. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1HTlPI-0003vJ-4E cad28fca4f3afaf51c9f297e183d9ac5 Cc: Kris Glynn , x11@freebsd.org, Mikhail Teterin Subject: Re: Is Vodoo3 supposed to work and have DRI? X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2007 21:13:27 -0000 On Tue, Mar 20, 2007 at 04:15:58PM +0000, Vince wrote: > Mikhail Teterin wrote: > > On Tuesday 20 March 2007 02:09, Kris Glynn wrote: > > = I could be wrong, but I think you need to compile the following into > > = kernel. > > = > > = device drm # DRM core module required by DRM > > > > Thanks for the pointer, Kris! I just kldload-ed `drm', but nothing > > changed :-( There is still no /dev/3dfx* and X-server still says: > > > > [drm] failed to load kernel module "tdfx" > > (EE) TDFX(0): [dri] DRIScreenInit failed, disabling DRI. > > > > (I'm not sure, why it tries to load the module, since the functionality is > > linked into kernel directly.) > > > > But DRI is not working anyway... > > > I'm in no way an expert here but > [drm] failed to load kernel module "tdfx" > means X is trying to load the tdfx.ko module to enable dri and failing. > man tdfx says: > " Note that this driver does not currently have support for the Voodoo > Banshee, Voodoo3, Voodoo5, or Voodoo6 based cards. It also does not > currently support the Voodoo Rush." > So i think the answer to your question is no. Looking through the /sys/i386/conf/NOTES file reveals the following: # 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create # the /dev/3dfx0 device to work with glide implementations. This should get # linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as # the tdfx DRI module from XFree86 and is completely unrelated. # # To enable Linuxulator support, one must also include COMPAT_LINUX in the # config as well, or you will not have the dependencies. The other option # is to load both as modules. device tdfx # Enable 3Dfx Voodoo support options TDFX_LINUX # Enable Linuxulator support [...} # Direct Rendering modules for 3D acceleration. device drm # DRM core module required by DRM drivers device i915drm # Intel i830 through i915 device mach64drm # ATI Rage Pro, Rage Mobility P/M, Rage XL device mgadrm # AGP Matrox G200, G400, G450, G550 device r128drm # ATI Rage 128 device radeondrm # ATI Radeon device savagedrm # S3 Savage3D, Savage4 device sisdrm # SiS 300/305, 540, 630 device tdfxdrm # 3dfx Voodoo 3/4/5 and Banshee options DRM_DEBUG # Include debug printfs (slow) I.e. 'device tdfx' seems to be for Voodoo II cards. For Voodoo 3/4/5 you would want device drm device tdfxdrm and likely device agp in the kernel config. Then you need to configure X.org properly as well. Reading the xorg.conf(5) and tdfx(4x) manpages is probably useful. (Not that the tdfx(4x) manpage is not the same as the tdfx(4) manpage.) (I have never used any of the Voodoo cards so all of the above is just from reading the documentation and may or may not work in practice.) -- Erik Trulsson ertr1013@student.uu.se