Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2003 12:53:19 -0600
From:      "Brian Henning" <b1henning@hotmail.com>
To:        "Stephen Hilton" <nospam@hiltonbsd.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: video
Message-ID:  <OE32hk8YsnXVYIWbhNE0000b64d@hotmail.com>
References:  <OE17m0ohsSD35uj5C6p0000b957@hotmail.com><20030314100346.0b13ad67.nospam@hiltonbsd.com><OE70wwnPlWECzb8zsHo00003680@hotmail.com> <20030314110603.3037a81b.nospam@hiltonbsd.com>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message -----
From: "Stephen Hilton" <nospam@hiltonbsd.com>
To: "Brian Henning" <b1henning@hotmail.com>
Cc: <freebsd-questions@FreeBSD.ORG>
Sent: Friday, March 14, 2003 11:06 AM
Subject: Re: video


> On Fri, 14 Mar 2003 10:38:00 -0600
> "Brian Henning" <b1henning@hotmail.com> wrote:
>
> > ----- Original Message -----
> >
> > From: "Stephen Hilton" <nospam@hiltonbsd.com>
> > To: "Brian Henning" <b1henning@hotmail.com>
> > Cc: <freebsd-questions@FreeBSD.ORG>
> > Sent: Friday, March 14, 2003 10:03 AM
> > Subject: Re: video
> >
> >
> > > On Fri, 14 Mar 2003 09:33:13 -0600
> > > "Brian Henning" <b1henning@hotmail.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE32hk8YsnXVYIWbhNE0000b64d>