From owner-freebsd-questions Fri Mar 14 10:55:59 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 660D937B401 for ; Fri, 14 Mar 2003 10:55:55 -0800 (PST) Received: from hotmail.com (oe32.law12.hotmail.com [64.4.18.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CDC043F85 for ; Fri, 14 Mar 2003 10:55:54 -0800 (PST) (envelope-from b1henning@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 14 Mar 2003 10:55:54 -0800 X-Originating-IP: [192.216.212.193] From: "Brian Henning" To: "Stephen Hilton" Cc: References: <20030314100346.0b13ad67.nospam@hiltonbsd.com> <20030314110603.3037a81b.nospam@hiltonbsd.com> Subject: Re: video Date: Fri, 14 Mar 2003 12:53:19 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 14 Mar 2003 18:55:54.0174 (UTC) FILETIME=[56F6E5E0:01C2EA5B] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Stephen Hilton" To: "Brian Henning" Cc: Sent: Friday, March 14, 2003 11:06 AM Subject: Re: video > On Fri, 14 Mar 2003 10:38:00 -0600 > "Brian Henning" wrote: > > > ----- Original Message ----- > > > > From: "Stephen Hilton" > > To: "Brian Henning" > > Cc: > > Sent: Friday, March 14, 2003 10:03 AM > > Subject: Re: video > > > > > > > On Fri, 14 Mar 2003 09:33:13 -0600 > > > "Brian Henning" wrote: > > > > > > > Hello all- > > > > I am having issues with ogle and mplayer not able to keep up with the video > > > > while playing dvd's > > > > > > > > from my dvd drive and playing divx movies repectively. In other words they > > are a > > > > bit choppy. > > > > The specs on my computer are as follows. > > > > 1.73 gHz AMD XP2100 with 512 MB DDR ram. > > > > AOpen nVIDIA TNT2 M64 32MB SDR AGP 4X > > > > 16X Delta DVD drive > > > > Creative Sound Blaster 128 PCI, CT4750 > > > > > > > > OS: FBSD4.7 > > > > recompiled the kernel after a cvsup > > > > used pcm driver for audio > > > > > > > > > > > > For example i have a divx movie that when i play it in mplayer it prints out > > the > > > > warning that > > > > the system is not fast enough, the audio driver could be the problem. > > > > > > > > > > > > any thoughts, suggestions? > > > > > > Is your CD-DVD ROM in DMA mode ? > > > > > > # atacontrol mode 0 > > > -or- > > > # atacontrol mode 1 > > > > > > from my system: > > > > > > daggar># atacontrol mode 1 > > > Master = WDMA2 > > > Slave = ??? > > > > > > With my CD-DVD ROM as master on 2nd onboard ata controller. > > > > > This is definitely one of my problems. > > > > my ide devices are configured physically as so: > > > > Primary Master: hard drive > > > > Primary Slave: None > > > > Secondary Master: cd burner > > > > Secondary Slave: dvd drive > > > > > atacontrol mode 0 > > > > Master = BIOSDMA > > > > Slave = ??? > > > > > atacontrol mode 1 > > > > Master = PIO4 > > > > Slave = PIO4 > > > > how can i enable dma mode for the cd burner and the dvd drive? > > > Brian, > > Edit these files and add: > > /boot/loader.conf > ----------------- > hw.ata.atapi_dma="1" > hw.ata.ata_dma="1" > > ^^^ this takes care of the DMA for cdrom. > > > > /etc/sysctl.conf > ---------------- > kern.ipc.shmmax=67108864 > kern.ipc.shmall=32768 > hw.snd.pcm0.vchans=4 > hw.snd.maxautovchans=4 > > ^^^ this is from an article by Dru Lavigne regarding > Sound config on FreeBSD: > > http://www.onlamp.com/pub/a/bsd/2002/09/19/FreeBSD_Basics.html > > > Regards, > > Stephen Hilton > nospam@hiltonbsd.com > hw.ata.atapi_dma="1" hw.ata.ata_dma="1" adding these command to my /boot/loader.conf didn't seem to fix the DMA problem.. any suggestions? i did reboot after i made these changes. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message