Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 2009 09:38:43 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        cpghost <cpghost@cordula.ws>
Cc:        Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-questions@freebsd.org
Subject:   Re: mplayer: X11 error: BadAlloc (insufficient resources for operation)
Message-ID:  <20091001083843.GC51344@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20090930204503.GA3865@phenom.cordula.ws>
References:  <20090930163640.GA45422@mech-cluster241.men.bris.ac.uk> <20090930204503.GA3865@phenom.cordula.ws>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091001083843.GC51344>