mplayer: X11 error: BadAlloc (insufficient resources for operation)

Anton Shterenlikht mexas at bristol.ac.uk
Thu Oct 1 08:38:51 UTC 2009


On Wed, Sep 30, 2009 at 10:45:03PM +0200, cpghost wrote:
> On Wed, Sep 30, 2009 at 05:36:40PM +0100, Anton Shterenlikht wrote:
> > I've installed port multimedia/mplayer (mplayer-0.99.11_14)
> > on 9.0-current ia64.
> > 
> > Trying to play an mpeg video I get endless stream of 
> > 
> > X11 error: BadAlloc (insufficient resources for operation)
> > X11 error: BadAlloc (insufficient resources for operation)
> > V:   7.6 190/190 17% 82%  0.0% 0 0 
> > X11 error: BadAlloc (insufficient resources for operation)
> > X11 error: BadAlloc (insufficient resources for operation)
> > X11 error: BadAlloc (insufficient resources for operation)
> > X11 error: BadAlloc (insufficient resources for operation)
> > X11 error: BadAlloc (insufficient resources for operation)
> > X11 error: BadAlloc (insufficient resources for operation)
> 
> This usually happens when X doesn't have enough resources to
> allocate to direct viewing with the xv (XView) driver. This
> is very often related to DRM/DRI or memory problems.
> 
> As a work around, try playing the video with the x11 driver
> instead:
> 
> $ mplayer -vo x11 somefile.avi

yes, this works ok, many thanks
I can even view an animation from a remote machine, via ssh -X,
but shower, of course.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


More information about the freebsd-questions mailing list