From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 28 22:07:06 2007 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 554BA16A403 for ; Wed, 28 Feb 2007 22:07:06 +0000 (UTC) (envelope-from steg0044@aem.umn.edu) Received: from mail.enet.umn.edu (mail.enet.umn.edu [128.101.142.226]) by mx1.freebsd.org (Postfix) with ESMTP id 0804613C4A3 for ; Wed, 28 Feb 2007 22:07:05 +0000 (UTC) (envelope-from steg0044@aem.umn.edu) Received: from [172.16.36.12] (micropiv.aem.umn.edu [172.16.36.12]) (user=steg0044 mech=PLAIN by mail.enet.umn.edu (8.13.7/8.13.6) with ESMTP id l1SM73Ig041270 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 28 Feb 2007 16:07:03 -0600 (CST) (envelope-from steg0044@aem.umn.edu) X-Authentication-Warning: mail.enet.umn.edu: Host micropiv.aem.umn.edu [172.16.36.12] claimed to be [172.16.36.12] Message-ID: <45E5FD0E.7040104@aem.umn.edu> Date: Wed, 28 Feb 2007 16:07:10 -0600 From: Matt Stegmeir User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: usleepless@gmail.com References: <20070228224223.5df7a556@devil.troback.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.44 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.56 on 128.101.142.226 Cc: FreeBSD Subject: Re: Cxm and dma... X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: matt@mattsteg.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2007 22:07:06 -0000 Changing the decoder used by mythTV to ffmpeg instead of whatever the default was helped for me. CPU usage was still higher than expected, but at least things worked smoothly. usleep: what are reasonable values for CXM_SG_BUFFERS? usleepless@gmail.com wrote: > Anders, > > On 2/28/07, Anders Troback wrote: > >> Hi, >> >> I'm running MythTV with a PVR-350 card (using pvrxxx). In "Live View" >> the performance is bad. In /var/log/messages I've got lots of: >> ...... >> Feb 28 22:15:07 tv kernel: cxm0: encoder dma not already in progress >> Feb 28 22:15:07 tv kernel: cxm0: encoder dma not enough buffer space >> ..... >> >> My system is a 2.4 GHz Pentium with 515Mb RAM running on a FreeBSD 6.2. >> >> Any ideas out there? > > > you can crank up CXM_SG_BUFFERS in cxm.h. try that. > > it is this low ( 16 ) at the moment because i had strange panics on > 4.11 with 4 cards ( each claiming #CXM_SG_BUFFERs ). settings this to > 16 solved the issue. > > regards, > > usleep > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to > "freebsd-multimedia-unsubscribe@freebsd.org"