#350 TDFX YUV Overlay problems

Other
open
nobody
5
2001-06-08
2001-06-08
Andrew Richards
No

I have a Voodoo3 3000 with 16MB RAM.

I've been playing with the new support for YUV
overylays which work well for small images (!!!).

xvinfo says that the maximum size for an xv image is
2048x2048 however the largest image I can make in any
single dimension is 1024 pixels. Further more there
appears to be a memory limitation of the images to
about 507k.

For example I can make a 1024x336 image (YUV420P) but
not a 1024x338 image. The same is true for reversing
x and y. Also I can make a 586x586 xv image but not a
588x586 or 586x588 image. These all work out around
507k.

All the structures allocate OK but I get the
following message on displaying the overlay.

X Error of failed request: BadAlloc (insufficient
resources for operation)
Major opcode of failed request: 144 (XVideo)
Minor opcode of failed request: 19 ()
Serial number of failed request: 23
Current serial number in output stream: 24

Which suggests some kind of memory thing.
This happens when using most things that use XV ie
SDL, mpeg2dec, xine.

It must be possible to make larger overlays as
windows seems to do it fine (for DVDs etc) and the
card has plenty of RAM for it.

I'm using v0.7 binaries from dri.sourgeforge.net are
these the ones in xfree4.1.0? I haven't installed
4.1.0 yet as I'm waiting for some easily installed
binaries.

Thanks,

Andrew <ajr@users.sourceforge.net>

Discussion

  • Brian Paul
    Brian Paul
    2001-06-08

    Logged In: YES
    user_id=983

    What size and depth is your screen configured for? Is the
    DRI
    enabled? Perhaps you really are low on memory.

     
  • Logged In: YES
    user_id=18747

    I'm using 1152x864 at 16-bit, however I still can't make DVD size overlays (720x576) at 800x600 16bit. So I
    don't really see why I should be short of memory.

    Yes the DRI is enabled, CIF pictures (384x288) work brilliantly. I get fast colour space conversion and
    the images can be instantly scaled to any size at ridiculous frame rates. It rocks.