From owner-freebsd-multimedia Sat Nov 17 19:59:44 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from Mail6.nc.rr.com (fe6.southeast.rr.com [24.93.67.53]) by hub.freebsd.org (Postfix) with ESMTP id 5CB7537B405 for ; Sat, 17 Nov 2001 19:59:41 -0800 (PST) Received: from stealth.cary.dummynet ([66.26.231.240]) by Mail6.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Sat, 17 Nov 2001 22:59:41 -0500 Received: (from rhh@localhost) by stealth.cary.dummynet (8.11.4/8.11.4) id fAI2xRu02004; Sat, 17 Nov 2001 21:59:28 -0500 (EST) (envelope-from aa8vb@nc.rr.com) X-Authentication-Warning: stealth.cary.dummynet: rhh set sender to aa8vb@nc.rr.com using -f Date: Sat, 17 Nov 2001 21:59:27 -0500 From: Randall Hopper To: Gianluca Sordiglioni Cc: multimedia@FreeBSD.ORG Subject: Re: CPU power for DVD Message-ID: <20011117215927.B1892@nc.rr.com> References: <3BF66025.8C1D3B17@parkinson.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BF66025.8C1D3B17@parkinson.it>; from gianluca@parkinson.it on Sat, Nov 17, 2001 at 02:03:33PM +0100 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Just as a datapoint, I have an ATA DVD (Pioneer DVD-114) as well, and I used to see hefty frame droppage (~20fps sustained) on my old Pentium-MMX-class system, which didn't change at all when I replaced it (keeping only a few periphs like the DVD drive) with a new ASUS A7M266, Athlon 1.2GHz DDR 266MHz FSB, 512MB PC2100 DDR mem, all the latest bus speed-ups, Matrox G450 DDR, etcetc. With the evidence I had, I figured my DVD ROM just wasn't fast enough to keep up, or (more likely) FreeBSD's ATA driver wasn't slick enough to coax it into fifth gear. Then I tried mplayer. With Xv on my G450, full FPS even while CPU utilization stays near zero when playing DVDs (and AVIs) scaled to full screen at full FPS (I run at 1600x1200x16bpp). The DVD hickups are gone. Might check: > sysctl -a | grep atapi hw.ata.atapi_dma: 1 Verify ATAPI DMA works well in your FreeBSD snapshot. Verify you've got nothing on the same IDE channel that'd slow your CD ROM down (though both not supporting it's fastest DMA mode, or eating bandwidth on that IDE channel). I use ATA66 IDE cables for my CDROM channel just for the heck of it. I also put my HDs on the primary channel and the CDs on the secondary channel. Randall Gianluca Sordiglioni: | My machine is an Athlon 500Mhz, ATA DVD, ATI All-In-Wonder 128, |SoundBlaster Live 1024, FreeBSD 4.4-STABLE, XFree86 4.1 compiled with |XVideo, etc., using ati2 drivers from GATOS project. | | I always get frame drops playing DVDs, even using different software |players. I tried ogle, mplayer, xine, and others. Even with ogle, the |fastest player I tried, I can't get more than 20 FPS. Audio seems good |(I use newpcm), no problems. | | I would like to know if my machine is fast enought to decompress DVD |video, or perhaps I have some hardware or software problem. The ATA |driver is using DMA to drive my DVD, so I can't see any bottleneck other |than insufficient CPU power. | | It goes without saying that under Windows I have no problems; but, |however, under Windows the video drivers can use the MPEG2-decoder chip |on the graphic card to perform the task. -- Randall Hopper aa8vb@nc.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message