Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2016 17:42:27 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Sylvain Garrigues <sylvain@sylvaingarrigues.com>
Cc:        Svatopluk Kraus <onwahe@gmail.com>, freebsd-arm <freebsd-arm@freebsd.org>
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:  <FA4A06C6-0A9A-4697-8C2D-141E1416F252@sylvaingarrigues.com> <CAFHCsPVnLFdC0uOgLfie8QQibi_1b9v9b4mWzz%2B7URuExGSaPA@mail.gmail.com> <0524442A-ABF3-439D-99DE-A10C20FABE40@sylvaingarrigues.com>

next in thread | previous in thread | raw e-mail | index | archive | help

 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 <sylvain@sylvaingarrigues.com> 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 <onwahe@gmail.com> 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
> > <sylvain@sylvaingarrigues.com> 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 <manu@bidouilliste.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160409174227.a81234c40856c47a1deb5ada>