Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2008 17:53:14 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Julian Stacey <jhs@berklix.org>
Cc:        stable@freebsd.org
Subject:   Re: sticky sound on 7 stable
Message-ID:  <20080111165314.GA83724@slackbox.xs4all.nl>
In-Reply-To: <200801111444.m0BEiaS4093841@fire.js.berklix.net>
References:  <200801111444.m0BEiaS4093841@fire.js.berklix.net>

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

--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 11, 2008 at 03:44:36PM +0100, Julian Stacey wrote:
> Hi stable@
> I have sticky sound flow on 2 different slowish laptops running 7
> Stable, Sound plays for a few secs, then breaks for a fraction &
> resumes, repeatedly.  I guess fault is not sound config, hence I'm
> not posting multimedia@, but stable@ where I've seen other Sticky
> 7 response topics.

> Much other info on both laptops & their BSD conf. here:
> 	host=3Dlapd CPU 166M 586=20
>   http://www.berklix.com/~jhs/hardware/digital/
> 	host=3Dlapn CPU 133M 586=20
>   http://www.berklix.com/~jhs/hardware/laptops/dell_latitude_xpi_p133st/
> Many dmesg & other debug info linked within, anything else you want
> please just tell me debug command to run.  I'm happy to try src/ &
> sys/ patches etc. Pref. based on 7-stable.
>=20
> Both have /boot/loader.conf:
> hw.ata.ata_dma=3D"0"              # Essential else disk access fails.
> 	Could that be it ?=20
> 	both report from xs atacontrol mode ad0
> 	current mode =3D PIO4

This won't help. Mayby there is a BIOS setting that would enable you to
run with dma enabled.

=20
> I dont know about HZ setting, or different schedulers, but happy

On 7.x, it is recommended to use SCHED_ULE. I'm not sure what compiling
the kernel with HZ=3D1000 would accomplish, the default is HZ=3D100. See

Have a look at the sound(4) manual page. There are some sysctls that
influence latency; hw.snd.latency_profile and hw.snd.latency. If the
problem is IRQ processing, you could try setting dev.pcm.0.polling to 1
if the driver supports it. Another thing to check is if the sound card
isn't sharing an interrupt with other devices. The command 'ps -xa |
grep irq' would be of use there.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--BOKacYhQ+x31HxR3
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHh576EnfvsMMhpyURAmEgAJwKo7tOlVzNOV91bnrWn/OvhK/kHQCeOntq
JZIeZjNWVpkzAnfAVZrtV5c=
=nx6l
-----END PGP SIGNATURE-----

--BOKacYhQ+x31HxR3--



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