Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2007 19:22:03 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Frank Staals <frankstaals@gmx.net>
Cc:        questions@freebsd.org
Subject:   Re: snd_ich skipping playback
Message-ID:  <20071120182203.GA93313@slackbox.xs4all.nl>
In-Reply-To: <47431E4D.3010702@gmx.net>
References:  <47431E4D.3010702@gmx.net>

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

--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 20, 2007 at 06:50:05PM +0100, Frank Staals wrote:
> I updated to RELENG_7 yesterday, but I'm noticing that the snd_ich driver=
=20
> quite often skips playback for a short period of time at some points.=20
> Especially when doing mysql queries. Anyone else having problems with=20
> snd_ich ?
>=20
> frank@FStaals$ uname -a
> FreeBSD FStaals.net 7.0-BETA3 FreeBSD 7.0-BETA3 #2: Mon Nov 19 19:50:46 C=
ET=20
> 2007     root@FStaals.net:/usr/obj/usr/src/sys/PFSERVERKERNEL  amd64
>=20
> frank@FStaals$ pciconf -lv
> pcm0@pci0:0:4:0:        class=3D0x040100 card=3D0x71851462 chip=3D0x00591=
0de=20
> rev=3D0xa2 hdr=3D0x00
>    vendor     =3D 'Nvidia Corp'
>    device     =3D 'Realtek ALC850 Realtek AC'97 Audio'
>    class      =3D multimedia
>    subclass   =3D audio
>=20
> frank@FStaals$ dmesg | grep pcm
> pcm0: <nVidia nForce4> port 0xea00-0xeaff,0xee00-0xeeff mem=20
> 0xfe02d000-0xfe02dfff irq 23 at device 4.0 on pci0
> pcm0: [ITHREAD]
> pcm0: <Avance Logic ALC850 AC97 Codec>

I've had trouble with skipping sound some time ago on machines with
another chipset;
$ cat /dev/sndstat=20
FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64)
Installed devices:
pcm0: <VIA VT8237> at io 0xd800 irq 22  [MPSAFE] (5p:4v/1r:1v channels=20
duplex default)

I put the following in /boot/device.hints

# Larger DMA buffer for the soundcard, for better sound quality.
hint.pcm.0.buffersize=3D"16384"

This fixed the problem for me.

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)

--9amGYk9869ThD9tj
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFHQyXLEnfvsMMhpyURAnjkAJ90C4OBLX/dv6cioamCwHJ2OU2/bgCfZRsz
0nOlHUWnHT2CIluDkhPVEtY=
=/W6p
-----END PGP SIGNATURE-----

--9amGYk9869ThD9tj--



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