On Sun, 17 May 2009 13:25:46 -0700 "J.C. Roberts"
<[email protected]> wrote:

> The existing caveat of the intel driver (all versions) being greedy
> about resources (either with an xorg.conf, and especially without),
> is still problematic. With older drivers, you could back off the from
> the max supported resolution/refresh, and video would play fine via
> mplayer. With the new intel-2.7.1 driver, I still haven't been able
> to make the driver play nice, so I get "BadAlloc (insufficient
> resources for operation)" errors from mplayer, even when forcing a 
> lower res/refresh via xorg.conf. With luck, I'll figure out the needed
> configuration magic to get mplayer working again, but it's really just
> a resource management issue (i.e. the hardware won't support video at
> it's highest possible res/refresh).
> 
> If I can't figure out a way around the video issue, I'll file a bug
> with the intel/freedesktop folks, but for the moment, the new
> intel-2.7.1 is working far better than intel-2.4.3 we have in the
> current xeno tree.

It seems the following commit in Feb (now in 2.7.1) killed off xv
support (mplayer and others) for i845. The old trick of using a lower
resolution/refresh to get xv working would no longer work after this
patch.

http://lists.freedesktop.org/archives/xorg-commit/2009-February/020346.htmlpi

When trying to use mplayer or similar to do xv, you get mplayer errors
like:

        X11 error: BadAlloc (insufficent resources for operation)

And in the first virtual terminal where X was started you get:

        (EE) intel(0): Failed to pin xv buffer

I've poked around in the source a bit, patching to force 845 support,
and patching to test what is failing to get the above error. In
i830_video.c line#2393, the attempt to "pin" the xv buffer fails,
namely the `if( ... && drm_intel_bo_pin(pPriv->buf, 4096) !=0 )`.


-- 
J.C. Roberts

Reply via email to