From owner-freebsd-questions Fri Mar 14 9: 5: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 1461F37B401 for ; Fri, 14 Mar 2003 09:05:56 -0800 (PST) Received: from hermes.pressenter.com (hermes.pressenter.com [209.224.20.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B0BF43FB1 for ; Fri, 14 Mar 2003 09:05:54 -0800 (PST) (envelope-from nospam@hiltonbsd.com) Received: from [209.224.22.85] (helo=daggar.sbgnet.net) by hermes.pressenter.com with smtp (Exim 3.16 #1) id 18tscy-00067b-00; Fri, 14 Mar 2003 11:05:52 -0600 Date: Fri, 14 Mar 2003 11:06:03 -0600 From: Stephen Hilton To: "Brian Henning" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: video Message-Id: <20030314110603.3037a81b.nospam@hiltonbsd.com> In-Reply-To: References: <20030314100346.0b13ad67.nospam@hiltonbsd.com> X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message