Hello People,

I got a Matrox Millennium G200 AGP (rev. 1), with 8 MB RAM. I use
a resolution of 1024x768 in 16bpp.

Since I upgraded to XFree86 4.2.1 from 4.1.0 (which happened
recently in Debian sid), I cannot use Xv anymore for big sources.

An example: When playing back a media file using "mplayer -vo xv"
which is 320x240 pixels in size, I can correctly view it and use
Xv to scale it to any size (up to full screen, 1024x768).

But when playing back a DVD (in 720x576), it doesn't work: I
immediately get the following error, when mplayer tries to open
the window:

X11 error: BadAlloc (insufficient resources for operation)

Also by using xawtv to display a v4l input signal (using Xv for
colorspace transform), it works fine up to a certain size, after
which I get the same error:

X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  142 (XVideo)
  Minor opcode of failed request:  19 ()


The "critical size" seems to be around 420000 pixels (i.e. for
example a source of 1000x410 pixels can be scaled using Xv, while
1000x420 can't).

This applies to a "normal" run of X, including the "dri" modules.
When starting X without "dri", either by starting two X servers
at once (so the second one can't do dri), or by commenting out
the 'Load "dri"' statement in XF86Config-4, then I can use Xv for
all sizes (at least until 1024x768).

Downgrading the mga_drv.o module to the 4.1.0 version "fixes" the
problem. But both the 4.2.1 version from debian, as the 4.2.0
version from ftp.xfree86.org exhibit the behaviour i described
above.



Now, the whole problem looks like a shortage of memory to me.
But, in my limited knowledge, I think that 8 MB should be enogh
to do both DRI and Xv up to 1024x768 in 16bpp. So, I'm now asking
the list:

Is this a genuine bug in 4.2, which can be fixed - or is it just
that I don't have enough video memory for "big" Xv anymore?

If yes, can I configure XFree86 to use "less memory", as it did
in 4.1? Or would I then miss serious functionality?


Thanks for any pointers!

-- 
Andreas Trottmann <[EMAIL PROTECTED]>
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to