On Don, 2002-10-10 at 15:46, Dr Andrew C Aitchison wrote:
> On Thu, 10 Oct 2002, Andreas Trottmann wrote:
> 
> > 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.
> 
> > 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).
> 
> > 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:
> 
> /xc/programs/Xserver/hw/xfree86/drivers/mga/mga_storm32.c
> has the comment:
>        /* If that gives us less than half the available memory, let's
>         * be greedy and grab some more.  Sorry, I care more about 3D
>         * performance than playing nicely, and you'll get around a full
>         * framebuffer's worth of pixmap cache anyway.
>         */
> Somebody has decided that 3D is more important than Xv, and not provided
> an option to disagree.
> 
> You could use the Option "TexturedVideo", described in
> xc/programs/Xserver/hw/xfree86/Options as:
> This has XvImage support use the texture engine rather than the video
> overlay. This option is only supported by the G200 and G400, and only in
> 16 and 32 bits per pixel. Default: off.
> 
> IIRC using the texture engine is slower than the video overlay, but
> it would use 3D memory, so might help in your particular case.
> 
> Other than that you will have to modify the source of mga_storm32.c
> and compile the driver yourself.

If you do so, please consider working on DRI CVS and making the mga
driver allocate offscreen memory for 3D more dynamically, like I've done
for the radeon driver.


-- 
Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to