On Fri, 14 Mar 2003 10:38:00 -0600 "Brian Henning" <[EMAIL PROTECTED]> wrote:
> ----- Original Message ----- > > From: "Stephen Hilton" <[EMAIL PROTECTED]> > To: "Brian Henning" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Friday, March 14, 2003 10:03 AM > Subject: Re: video > > > > On Fri, 14 Mar 2003 09:33:13 -0600 > > "Brian Henning" <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message