Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2016 17:28:36 +0200
From:      Sylvain Garrigues <sylvain@sylvaingarrigues.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Distorted sound on Raspberry Pi 2
Message-ID:  <FA4A06C6-0A9A-4697-8C2D-141E1416F252@sylvaingarrigues.com>

next in thread | raw e-mail | index | archive | help
Hello,

I have continuous warnings on my Raspberry PI 2 regarding sound when =
hw.snd.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, =
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

The sound is frequently slightly distorted (like every 5s), and I am =
trying 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FA4A06C6-0A9A-4697-8C2D-141E1416F252>