Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2007 21:58:08 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Vince <jhary@unsane.co.uk>
Cc:        Kris Glynn <Kristen.Glynn@virginblue.com.au>, x11@freebsd.org, Mikhail Teterin <mi+kde@aldan.algebra.com>
Subject:   Re: Is Vodoo3 supposed to work and have DRI?
Message-ID:  <20070320205808.GA24161@owl.midgard.homeip.net>
In-Reply-To: <460008BE.3090705@unsane.co.uk>
References:  <7C3101310BBC894E8A0D5FB2C36B95893456FE@ISKCMX01.virginblue.internal> <200703201113.05547@aldan> <460008BE.3090705@unsane.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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.)



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070320205808.GA24161>