From owner-freebsd-questions@FreeBSD.ORG Thu Oct 1 08:38:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CC641065672 for ; Thu, 1 Oct 2009 08:38:51 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id DCC438FC1B for ; Thu, 1 Oct 2009 08:38:50 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1MtHBU-0003xO-G5; Thu, 01 Oct 2009 09:38:50 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1MtHBU-0001CX-0y; Thu, 01 Oct 2009 09:38:44 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id n918ch8B051401; Thu, 1 Oct 2009 09:38:43 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id n918chqn051400; Thu, 1 Oct 2009 09:38:43 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Thu, 1 Oct 2009 09:38:43 +0100 From: Anton Shterenlikht To: cpghost Message-ID: <20091001083843.GC51344@mech-cluster241.men.bris.ac.uk> References: <20090930163640.GA45422@mech-cluster241.men.bris.ac.uk> <20090930204503.GA3865@phenom.cordula.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090930204503.GA3865@phenom.cordula.ws> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.2 X-Spam-Level: ---- Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: mplayer: X11 error: BadAlloc (insufficient resources for operation) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 08:38:51 -0000 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