From owner-freebsd-arm@freebsd.org Sat Apr 9 15:42:39 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EFA3CB09702 for ; Sat, 9 Apr 2016 15:42:39 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B1751A10 for ; Sat, 9 Apr 2016 15:42:38 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id ac5814d7; Sat, 9 Apr 2016 17:42:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=9SORQu9xhp/KeP+ZCWXGinTx+ZI=; b=EpG5/qjFOqDxCXZasavYIhFd5fF/ Qw0x0MZ/SVGOaORm2Bru1wMG57/s48X5vaX6jWRAKWIYyIsAQauIwiVeWSfkuUei eUGIgGvMhzPNYlMPYge72MzT/GdQX5trJdZeIMx8ohd7YDFgVkFNCdkJCOlP6qTV PueFmeaoOiu9Yxw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=hDME2p+w8DjuDaM+AJKNdiiuJ3o8ztf1qYASUEDw/C9hHUIkEaAAIFei xj96efLb2gggZLqU4up5j4cNiWHVR4wS712NcvLGvl7pjXZ4RZbWDStURrZGzbUy XEVWXw9uH9xeSeZ0jUdS5CcqIypFZ28lVYA2JvZuGUX20h+wcR8= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id dba9af30 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 9 Apr 2016 17:42:28 +0200 (CEST) Date: Sat, 9 Apr 2016 17:42:27 +0200 From: Emmanuel Vadot To: Sylvain Garrigues Cc: Svatopluk Kraus , freebsd-arm Subject: Re: Distorted sound on Raspberry Pi 2 Message-Id: <20160409174227.a81234c40856c47a1deb5ada@bidouilliste.com> In-Reply-To: <0524442A-ABF3-439D-99DE-A10C20FABE40@sylvaingarrigues.com> References: <0524442A-ABF3-439D-99DE-A10C20FABE40@sylvaingarrigues.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2016 15:42:40 -0000 Hi Sylvain, I don't have a RPI2 so I won't be really useful here but can you test the = oldest available snapshot please ? Thanks, On Sat, 9 Apr 2016 17:02:14 +0200 Sylvain Garrigues wrote: > Take for instance the latest snapshot: > http://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/Fr= eeBSD-11.0-CURRENT-arm-armv6-RPI2-20160408-r297692.img.xz >=20 > All the pcm0 warnings display continuously when playing any sound. >=20 > Should I file a bug? >=20 > =20 >=20 > > Le 9 avr. 2016 =E0 11:06, Svatopluk Kraus a =E9crit : > >=20 > > Is it recent problem? If yes, some info about kernel version would be > > really nice. > >=20 > >=20 > >=20 > > On Fri, Apr 8, 2016 at 5:28 PM, Sylvain Garrigues > > wrote: > >> Hello, > >>=20 > >> I have continuous warnings on my Raspberry PI 2 regarding sound when h= w.snd.verbose=3D4: > >>=20 > >> ... > >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D1200= 00, old=3D120000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 > >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D1240= 00, old=3D124000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 > >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D0, o= ld=3D0 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 > >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D4000= , old=3D4000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 > >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D8000= , old=3D8000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 > >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D1200= 0, old=3D12000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 > >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D1600= 0, old=3D16000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 > >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D1600= 0, old=3D16000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 > >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D2000= 0, old=3D20000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 > >> ? > >>=20 > >> The sound is frequently slightly distorted (like every 5s), and I am t= rying to figure out why. > >>=20 > >> To reproduce: > >> # sysctl dev.pcm.0.dest=3D1 > >> # sysctl hw.snd.verbose=3D4 > >> # mpg123 anympegfile > >>=20 > >> I still get the warnings on the HDMI output (dev.pcm.0.dest=3D2) but t= he sound is not distorted. > >>=20 > >> Any idea? > >>=20 > >> Best, > >> Sylvain. > >> _______________________________________________ > >> freebsd-arm@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm > >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" --=20 Emmanuel Vadot