Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2016 11:06:28 +0200
From:      Svatopluk Kraus <onwahe@gmail.com>
To:        Sylvain Garrigues <sylvain@sylvaingarrigues.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Distorted sound on Raspberry Pi 2
Message-ID:  <CAFHCsPVnLFdC0uOgLfie8QQibi_1b9v9b4mWzz%2B7URuExGSaPA@mail.gmail.com>
In-Reply-To: <FA4A06C6-0A9A-4697-8C2D-141E1416F252@sylvaingarrigues.com>
References:  <FA4A06C6-0A9A-4697-8C2D-141E1416F252@sylvaingarrigues.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Is it recent problem? If yes, some info about kernel version would be
really nice.



On Fri, Apr 8, 2016 at 5:28 PM, Sylvain Garrigues
<sylvain@sylvaingarrigues.com> wrote:
> Hello,
>
> I have continuous warnings on my Raspberry PI 2 regarding sound when hw.s=
nd.verbose=3D4:
>
> ...
> 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, o=
ld=3D4000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808
> pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D8000, o=
ld=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
>
> The sound is frequently slightly distorted (like every 5s), and I am tryi=
ng to figure out why.
>
> To reproduce:
> # sysctl dev.pcm.0.dest=3D1
> # sysctl  hw.snd.verbose=3D4
> # mpg123 anympegfile
>
> I still get the warnings on the HDMI output (dev.pcm.0.dest=3D2) but the =
sound is not distorted.
>
> Any idea?
>
> 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?CAFHCsPVnLFdC0uOgLfie8QQibi_1b9v9b4mWzz%2B7URuExGSaPA>