Re: I810 driver and XVIDEO for HD movies fails

Alex Deucher <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
On 11/28/05, Barry Scott <[email protected]> wrote:
> I'm seeing this error when I attempt to play a HD 720p (1280x720) movie
> in Xine:
>
> X Error of failed request:  BadAlloc (insufficient resources for operation)
>   Major opcode of failed request:  143 (XVideo)
>   Minor opcode of failed request:  19 ()
>   Serial number of failed request:  609
>   Current serial number in output stream:  610
>
> I'm using Xfree86 4.5.0 on a Commel LV-670 board.
>
> lspci -v reports:
>
> 00:02.0 VGA compatible controller: Intel Corporation
> 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
> (prog-if 00 [VGA])
>         Subsystem: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset
> Integrated Graphics Device
>         Flags: bus master, fast devsel, latency 0, IRQ 5
>         Memory at d0000000 (32-bit, prefetchable) [size=128M]
>         Memory at dc200000 (32-bit, non-prefetchable) [size=512K]
>         Capabilities: [d0] Power Management version 1
>
> 00:02.0 Class 0300: 8086:2562 (rev 03)
>         Subsystem: 8086:2562
>         ...
>
> I've added a VideoRAM 65536 to the device section but that not changed
> things.
> I'm also trying to track down where in the code the BadAlloc is being
> return with
> little success so far. I thought I had found that I should be in
> I810PutImage() in
> i810_video.c but the xf86DrvMsg call I make does not appear in the log
> of the
> servers stdout.
>
> What is the reason that the BadAlloc is being returned? What can I do
> about it?
> What more info can I provide?
>

try disabling the DRI.  The 3d driver may be grabbing most of the vram
and not leaving much for the server.

Alex

> Barry
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.