Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2007 15:21:40 +1200
From:      Michael Butler <imb@protected-networks.net>
To:        Ariff Abdullah <ariff@FreeBSD.org>
Cc:        stable@freebsd.org, multimedia@freebsd.org
Subject:   Re: HDA merge breaks 6-stable
Message-ID:  <46511044.5070608@protected-networks.net>
In-Reply-To: <20070521084041.17bdc022.ariff@FreeBSD.org>
References:  <4650E210.7050405@protected-networks.net> <20070521084041.17bdc022.ariff@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigCB0C0B12AAE0F97F2B76DA99
Content-Type: multipart/mixed; boundary="------------060109010204000307050108"

This is a multi-part message in MIME format.
--------------060109010204000307050108
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Ariff Abdullah wrote:
> Ok, this probably weird, but please try enabling vchans early enough
> before login/X. You have either hw.snd.maxautovchans or
> hw.snd.pcm0.vchans to play with.

Adding "hw.snd.maxautovchans=3D4" to /etc/sysctl.conf fixed it. The tail
of the test script's output is attached.

Thanks!

	Michael

--------------060109010204000307050108
Content-Type: text/plain;
 name="sound-fix.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
 filename="sound-fix.txt"

uname -a
FreeBSD toshi.auburn.protected-networks.net 6.2-STABLE FreeBSD 6.2-STABLE=
 #18: Mon May 21 13:24:36 NZST 2007     root@toshi.auburn.protected-netwo=
rks.net:/usr/obj/usr/src/sys/TOSHI  i386
pciconf -lv | grep -B 4 audio
sysctl hw.snd.verbose=3D2 ; cat /dev/sndstat
hw.snd.verbose: 1 -> 2
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel 82801G High Definition Audio Controller> at memory 0xf0b4000=
0 irq 22  [20070505_0044] (1p/1r/1v channels duplex default)
        [pcm0:play:0:dsp0.0]: spd 48000, fmt 0x10000010, flags 0x00103020=
, 0x00000040
        interrupts 2814, underruns 0, ready 0 [b:8192/4096/2|bs:8192/4096=
/2]
        {userland} -> feeder_vchan_s16(0x10000010) -> feeder_volume_s16(0=
x10000010) -> {hardware}
        [pcm0:record:0:dsp0.1]: spd 44100/48000, fmt 0x10000010, flags 0x=
00007030, 0x00000010, pid 1069
        interrupts 2792, overruns 480, hfree 8192, sfree 40960 [b:8192/40=
96/2|bs:40960/4096/10]
        {hardware} -> feeder_root(0x10000010) -> feeder_rate(48000 -> 441=
00) -> {userland}
        pcm0:play:0:dsp0.0[pcm0:virtual:0:dsp0.2]: spd 44100/48000, fmt 0=
x10000010, flags 0x10007030, 0x00000010, pid 1069
        interrupts 0, underruns 0, ready 40960 [b:0/4096/0|bs:40960/4096/=
10]
        {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 480=
00) -> {hardware}
sysctl hw.snd
hw.snd.report_soft_formats: 1
hw.snd.targetirqrate: 32
hw.snd.verbose: 2
hw.snd.maxautovchans: 4
hw.snd.unit: 0
hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 1

--------------060109010204000307050108--

--------------enigCB0C0B12AAE0F97F2B76DA99
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iD8DBQFGURBIQv9rrgRC1JIRAsj5AJ9zL4HzRX7vpcuxM2OIuStI4VwongCfV/mQ
eDiDFjql2uMmWsdq04gVN2c=
=ofYr
-----END PGP SIGNATURE-----

--------------enigCB0C0B12AAE0F97F2B76DA99--



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