Re: I810 driver and XVIDEO for HD movies fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alex Deucher wrote:

On 11/28/05, Barry Scott <barry.scott@xxxxxxxxxxxx> 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
I turned off glx and got more memory, but not enough. I then lower the screen res from 1024x768 to 800x600 and the alloc works. Just in time for the Xserver
to die after reporting that the server had locked up.

Clearly I'm not going to get far with the screen res at 800x600 when playing
a 1280x720 movie. I'll want to have 1280x768 or 1366x768 as the screen
resolution. Which is going to make the memory situation worse.

Is the issue with memory a BIOS problem? Do I need a BIOS that allows
more the 8MB to be set aside for video?

Barry

_______________________________________________

Devel@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [X Forum]     [XFree86]     [XFree86 Newbie]     [X.Org]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux