[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DRI - Voodoo3 - confusion



"Michael P. Soulier" wrote:

> On Fri, Jun 08, 2001 at 09:52:06PM +0200, Robert Voigt wrote:
> > I want DRI for my Voodoo3 card. But I'm confused.
> >
> > Somewhere I read DRI is included in XFree86 4.0.1.
> > Somewhere else I read it's in the 2.4. kernel.
> > And in /var/log/XFree.0.log I found the line:
> >
> > (EE) TDFX(0): DRIScreenInit failed, disabling DRI.
> >
> > (This is with 16bpp)
> >
> > Do I have DRI already and it just doesn't work?
> >
> > The reason why I want it is I want to use mplayer, and mplayer gives an error
> > message when I run it. The FAQ of mplayer says I should update my driver if I
> > get this error message. I don't know what driver they mean, but I found this
> > http://www.geocrawler.com/archives/3/10464/2001/5/250/5777677/
> > That guy got DRI 0.6. But there is no DRI 0.6 I could download.
> >
> > Now, where is DRI?
>
>     It's in both. X provides the DRI API, but to make use of it, you need a
> module for your video card. I'm using kernel 2.4.4, with a Voodoo3. The tdfx
> module is included with kernel 2.4.4. So, running at 16 bpp, I have 3D accel.
> You need to have the tdfx module loaded in the kernel (or compiled in for that
> matter) before you can use DRI. You'll also need libglide3.
>
> ii  libglide3      2001.01.26-1   Graphics library for 3Dfx Voodoo based cards
>
>     Works great for me.
>

With mplayer? I think he's referring to the "Xvideo Extension" ouput of mplayer.
To use the HW acceleration the card need to support the YUY2 packed and YV12
planar pixel format, and with similar configuration here (kernel 2.4.5 XFree86
4.0.3-4 and same libglide3), the output of xvinfo is:

X-Video Extension version 2.2
screen #0
  Adaptor #0: "3dfx Accelerated Video Engine"
    number of ports: 1
    port base: 74
    operations supported: PutImage
    supported visuals:
      depth 16, visualID 0x23

       ...

      depth 16, visualID 0x32
    no port attributes defined
    maximum XvImage size: 1024 x 0
    Number of image formats: 2
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)

so not YUY2 packed...

Any hints?


Andrea





Reply to: