Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2007 12:02:55 +0800
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        Thomas Donnelly <Tad1214@aol.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: snd_hda extremely choppy on 7-beta2
Message-ID:  <20071107120255.37093111.ariff@FreeBSD.org>
In-Reply-To: <473130B9.8070409@aol.com>
References:  <4730022B.6090109@aol.com> <20071106185327.2afdec15@meijome.net> <473130B9.8070409@aol.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Wed__7_Nov_2007_12_02_55_+0800_Htb.D9ebjsQMPM44
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, 06 Nov 2007 21:27:53 -0600
Thomas Donnelly <Tad1214@aol.com> wrote:
> Norberto Meijome wrote:
> > On Mon, 05 Nov 2007 23:56:59 -0600
> > Thomas Donnelly <Tad1214@aol.com> wrote:
> >
> >  =20
> >> 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.
> >>    =20
>=20
> My information:
> =20
> Barracuda# cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
> Installed devices:
> pcm0: <Intel 82801G High Definition Audio Controllerat memory=20
> 0xfebfc000 irq 19 kld snd_hda [20071020_0048] [MPSAFE] (1p:3v/1r:1v=20
> channels duplex default)
>=20
>=20
> 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
>=20
> This is not affected by CPU load, if it is nearly idle, or full
> load,  still skips.
>=20

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 ........

--Signature=_Wed__7_Nov_2007_12_02_55_+0800_Htb.D9ebjsQMPM44
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHMTjvlr+deMUwTNoRAkKlAKCmhP6lDuR2oPYxKtFgavy4aOJqxQCg3A3D
hixSe9zliDrB2aBFYCagQN0=
=rkEu
-----END PGP SIGNATURE-----

--Signature=_Wed__7_Nov_2007_12_02_55_+0800_Htb.D9ebjsQMPM44--



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