From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 21 13:00:17 2006 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25D3516A420 for ; Tue, 21 Mar 2006 13:00:17 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A46B843D58; Tue, 21 Mar 2006 13:00:16 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki64 (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k2LD0DDH000718; Tue, 21 Mar 2006 13:00:15 GMT (envelope-from ariff@FreeBSD.org) Date: Tue, 21 Mar 2006 20:59:51 +0800 From: Ariff Abdullah To: Niklas Sorensson Message-Id: <20060321205951.423a92c2.ariff@FreeBSD.org> In-Reply-To: <441C11F5.8070001@cs.chalmers.se> References: <441C11F5.8070001@cs.chalmers.se> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__21_Mar_2006_20_59_51_+0800_OVUrYimp/GCxtUEx" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Poor sound quality with snd_via8233 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 13:00:17 -0000 --Signature=_Tue__21_Mar_2006_20_59_51_+0800_OVUrYimp/GCxtUEx Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, 18 Mar 2006 14:58:13 +0100 Niklas Sorensson wrote: > Hello, >=20 > I experience constant poor sound quality with the snd_8233 driver, > ie not interruptions due to temporary load or anything like that, > but constant distortion. I've been able to live with it because its > good enough to use for Skype, but I really would like to be able to > listen to music as well. >=20 > I've searched mailing lists and googled, but couldn't find any > problem description that fits mine. >=20 > I'm running current, on an ASUS K8V Deluxe board. My kernel config > and details about the sound setup is attached. >=20 > Any advice on how to improve the situation is appreciated >=20 >=20 [..] > apa# dmesg | grep ^pcm=20 > pcm0: port 0xc800-0xc8ff irq 22 at device 17.5 on pci0 > pcm0: > pcm0: I suggest you remove hint.pcm.0.via_dxs_disabled from /boot/device.hints. > apa# /usr/sbin/mixer > Mixer vol is currently set to 100:100 > Mixer pcm is currently set to 100:100 > Mixer line is currently set to 100:100 > Mixer mic is currently set to 100:100 > Mixer cd is currently set to 100:100 > Mixer rec is currently set to 100:100 > Mixer igain is currently set to 100:100 > Mixer ogain is currently set to 10:10 > Mixer line1 is currently set to 75:75 > Mixer phin is currently set to 0:0 > Mixer phout is currently set to 0:0 > Recording source: mic > Reduce those "100" to "85", or less. You're overdriving it too much, hence, the constant distortion. If you have amplified speaker, use the volume knob there. Report (and partially from my experiences) indicate that using SCHED_ULE can give better audio/multimedia performance. Perhaps you want to give it a try. -- Ariff Abdullah FreeBSD --Signature=_Tue__21_Mar_2006_20_59_51_+0800_OVUrYimp/GCxtUEx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEH/jYlr+deMUwTNoRAuuTAKCDTSELpBj9ZgQ6/ZhHXw8OJgQFRgCffqio bVYP7FOXy5wzPJjMS0evjqo= =n0Eu -----END PGP SIGNATURE----- --Signature=_Tue__21_Mar_2006_20_59_51_+0800_OVUrYimp/GCxtUEx--