From owner-freebsd-multimedia@FreeBSD.ORG Sat Dec 9 23:17:29 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5601A16A47C for ; Sat, 9 Dec 2006 23:17:29 +0000 (UTC) (envelope-from grog@lemis.com) Received: from ext-gw.lemis.com (ext-gw.lemis.com [150.101.14.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ABAC43CA2 for ; Sat, 9 Dec 2006 23:16:21 +0000 (GMT) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ext-gw.lemis.com (Postfix) with ESMTP id 5D95913350B; Sun, 10 Dec 2006 09:47:27 +1030 (CST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 536AF9BFED; Sun, 10 Dec 2006 09:47:27 +1030 (CST) Date: Sun, 10 Dec 2006 09:47:27 +1030 From: Greg 'groggy' Lehey To: Anders Troback Message-ID: <20061209231727.GF34082@wantadilla.lemis.com> References: <20061209233159.7939750f@devil.troback.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UBnjLfzoMQYIXCvq" Content-Disposition: inline In-Reply-To: <20061209233159.7939750f@devil.troback.com> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: freebsd-multimedia@freebsd.org Subject: Re: PVR-350 and mplayer X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Dec 2006 23:17:29 -0000 --UBnjLfzoMQYIXCvq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Saturday, 9 December 2006 at 23:31:59 +0100, Anders Troback wrote: > Hi, > > I'm running a PVR-350 on my FBSD 6.2 system. > > If I do "mplayer /dev/cxm0" mplayer are showing "slow" picutre with > good sound at first and after a few secs good picture and crappy > sound. Yes, I've seen this, and I'm working on it. You should also be seeing this kind of message in /var/log/messages: Nov 3 17:04:58 afa0001 kernel: cxm0: encoder dma not enough buffer space free Try this patch: --- /usr/ports/multimedia/pvr250/work/dev/cxm/cxm.h Sat Dec 9 13:28:01 2006 +++ /usr/ports/multimedia/pvr250/work-in-progress/dev/cxm/cxm.h Thu Nov 30 18:30:15 2006 @@ -64,7 +64,7 @@ enum cxm_byte_order byte_order; }; -#define CXM_SG_BUFFERS 50 +#define CXM_SG_BUFFERS 500 struct cxm_buffer_pool { bus_dma_tag_t dmat; Then rebuild the module, unload the old module and install the new one. Please let me know how it goes, whether or not it works. I'm currently in the process of importing this driver into the source tree, and this is one of the things I'm planning to make a tuneable. Greg -- See complete headers for address and phone numbers. --UBnjLfzoMQYIXCvq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFFe0QHIubykFB6QiMRAjQ7AKCJxTedtcFT7pvVVADlmXW9odayKwCeIo8a BeAqdXSftAW318YxGHnfxSY= =ZiwC -----END PGP SIGNATURE----- --UBnjLfzoMQYIXCvq--