snd_hda extremely choppy on 7-beta2

Ariff Abdullah ariff at FreeBSD.org
Tue Nov 6 20:03:45 PST 2007


On Tue, 06 Nov 2007 21:27:53 -0600
Thomas Donnelly <Tad1214 at aol.com> wrote:
> Norberto Meijome wrote:
> > On Mon, 05 Nov 2007 23:56:59 -0600
> > Thomas Donnelly <Tad1214 at aol.com> wrote:
> >
> >   
> >> I recently installed 7.0 and cvsupd to 7.0-beta2 right away.
> >> I have snd_hda set to load in via /boot/loader.conf
> >> Whenever ANY sound plays, be it KDE sounds, noatun, amarok, etc.
> >it is  > VERY choppy, not start and stop, but skipping chunks. (IE
> >song would be  > ABCDEFGHIJ, plays ABEGJ)
> >> Something misconfigured? I tried setting buffer to maximum and
> >realtime  > priority via control center in kde.
> >>     
> 
> My information:
>  
> Barracuda# cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
> Installed devices:
> pcm0: <Intel 82801G High Definition Audio Controllerat memory 
> 0xfebfc000 irq 19 kld snd_hda [20071020_0048] [MPSAFE] (1p:3v/1r:1v 
> channels duplex default)
> 
> 
> Barracuda# sysctl hw.snd
> hw.snd.latency_profile: 1
> hw.snd.latency: 5
> hw.snd.report_soft_formats: 1
> hw.snd.compat_linux_mmap: 0
> hw.snd.feeder_buffersize: 16384
> hw.snd.feeder_rate_round: 25
> hw.snd.feeder_rate_max: 2016000
> hw.snd.feeder_rate_min: 1
> hw.snd.verbose: 1
> hw.snd.maxautovchans: 16
> hw.snd.default_unit: 0
> hw.snd.version: 2007061600/i386
> hw.snd.default_auto: 0
> 
> This is not affected by CPU load, if it is nearly idle, or full
> load,  still skips.
> 

1) Try using smaller or bigger DMA buffer size. Set
   hint.pcm.0.buffersize to something like 4096 or 32768 (start with
   smaller value). Refer to kenv(8) or device.hints(5) or
   loader.conf(5)

2) Experiment with other multimedia (mplayer, madplay, mpg123,
   etc) players that has _nothing_ to do with artsd (KDE soundserver)
   or esound.

3) Try FreeBSD 6.x . No comment.



--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20071107/55ca42f1/attachment.pgp


More information about the freebsd-multimedia mailing list