Date: Sat, 9 Apr 2016 17:02:14 +0200 From: Sylvain Garrigues <sylvain@sylvaingarrigues.com> To: Svatopluk Kraus <onwahe@gmail.com> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: Distorted sound on Raspberry Pi 2 Message-ID: <0524442A-ABF3-439D-99DE-A10C20FABE40@sylvaingarrigues.com> In-Reply-To: <CAFHCsPVnLFdC0uOgLfie8QQibi_1b9v9b4mWzz%2B7URuExGSaPA@mail.gmail.com> References: <FA4A06C6-0A9A-4697-8C2D-141E1416F252@sylvaingarrigues.com> <CAFHCsPVnLFdC0uOgLfie8QQibi_1b9v9b4mWzz%2B7URuExGSaPA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Take for instance the latest snapshot: = http://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/Fre= eBSD-11.0-CURRENT-arm-armv6-RPI2-20160408-r297692.img.xz All the pcm0 warnings display continuously when playing any sound. Should I file a bug? =20 > Le 9 avr. 2016 =C3=A0 11:06, Svatopluk Kraus <onwahe@gmail.com> a = =C3=A9crit : >=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 > <sylvain@sylvaingarrigues.com> wrote: >> Hello, >>=20 >> I have continuous warnings on my Raspberry PI 2 regarding sound when = hw.snd.verbose=3D4: >>=20 >> ... >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! = hwptr=3D120000, old=3D120000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! = hwptr=3D124000, old=3D124000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D0, = old=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=3D12000, old=3D12000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! = hwptr=3D16000, old=3D16000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! = hwptr=3D16000, old=3D16000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 >> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! = hwptr=3D20000, old=3D20000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 >> =E2=80=A6 >>=20 >> The sound is frequently slightly distorted (like every 5s), and I am = trying 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 = the 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0524442A-ABF3-439D-99DE-A10C20FABE40>