Re: XV on MagicMedia 256ZX
Dag Bakke <[email protected]> Wed, 27 Mar 2002 21:54:53 +0100
| Newsgroups | gmane.comp.xfree86.neomagic |
|---|---|
| Message-ID | <20020327215453.E363@dagb> |
On Wed, Mar 27, 2002 at 01:12:56PM -0600, Joe Garfield wrote:
> I have the same chipset and here's what I have applied:
> http://www.xfree86.org/pipermail/neomagic/2002-February/000899.html
> and
> http://www.xfree86.org/pipermail/neomagic/2002-February/000934.html
[snip]
> However,
> xine (0.9.9-cvs) still does not work with Xv mode
> std out follows
[snip]
> X Error of failed request: BadAlloc (insufficient resources for operation)
> Major opcode of failed request: 141 (XVideo)
> Minor opcode of failed request: 19 ()
> Serial number of failed request: 1191
> Current serial number in output stream: 1284
If the defaults of the driver doesn't give you enough videomemory,
add
Option "OverlayMem" "884736"
to your "Device" section. It'll "preallocate" memory for overlay.
The actual number is calculated something ala:
max X * max Y * depth
where X and Y is the maximum size of the clips you want to show. (Source
size.)
Of course, the "preallocated" memory isn't available for other use. Like
plain 2D. Check your /var/log/XFree86.0.log.
Dag B