From owner-freebsd-multimedia@FreeBSD.ORG Wed Dec 29 23:29:34 2004 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B18CD16A4CE for ; Wed, 29 Dec 2004 23:29:34 +0000 (GMT) Received: from feith1.FEITH.COM (feith1.FEITH.COM [192.251.93.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 573ED43D41 for ; Wed, 29 Dec 2004 23:29:34 +0000 (GMT) (envelope-from john@feith.com) Received: from jwlab.FEITH.COM (jwlab.FEITH.COM [192.251.93.16]) by feith1.FEITH.COM (8.12.10+Sun/8.12.9) with ESMTP id iBTNTVrt002622; Wed, 29 Dec 2004 18:29:31 -0500 (EST) Received: from jwlab.FEITH.COM (localhost [127.0.0.1]) by jwlab.FEITH.COM (8.12.10+Sun/8.12.10) with ESMTP id iBTNTVLW003787; Wed, 29 Dec 2004 18:29:31 -0500 (EST) Received: (from john@localhost) by jwlab.FEITH.COM (8.12.10+Sun/8.12.10/Submit) id iBTNTUk0003786; Wed, 29 Dec 2004 18:29:30 -0500 (EST) Date: Wed, 29 Dec 2004 18:29:30 -0500 (EST) From: John Wehle Message-Id: <200412292329.iBTNTUk0003786@jwlab.FEITH.COM> To: pascal@black-ink.net Content-Type: text X-Scanned-By: MIMEDefang 2.48 on 192.251.93.1 X-Archived: cashew.FEITH.COM cc: multimedia@freebsd.org Subject: Re: again with port pvr250 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 23:29:34 -0000 > I then have a good result but with theses (lot of) messages in dmesg : > > cxm0: encoder dma not enough buffer space free The driver uses a ring buffer consisting of 50 buffers each roughly 64k in size to buffer data from the card which is arriving in real time. The error message occurs when an application (i.e. mplayer) fails to consume the data in a timely fashion. Some possible solutions: 1) Better video card. Personally I like the ATI Radeon cards. 2) Better Xserver (i.e. XFree86 4.4) which supports using the video card hardware for things like colorspace conversion and MPEG motion compensation. This is of course assuming your video card has hardware for those sorts of things. 3) Faster processor. 4) More memory (only if your machine is actually swapping). 5) Modify mplayer to implement application real time buffering using METEORSSIGNAL (basically copy libmpdemux/tvi_bsdbt848.c to libmpdemux/tvi_bsdcxm.c and start hacking) or try increasing CXM_SG_BUFFERS. This only helps if the problem is due to large bursts of data ... it will not help if your machine is simply not fast enough to keep up with the average data rate. 6) Enable MPlayer's frame drop option (more of a workaround than a solution). -- John ------------------------------------------------------------------------- | Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com | | John Wehle | Fax: 1-215-540-5495 | | -------------------------------------------------------------------------