From owner-freebsd-arm@freebsd.org Sat Apr 9 09:06:29 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 B0DDDB086EC for ; Sat, 9 Apr 2016 09:06:29 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7503F1B83 for ; Sat, 9 Apr 2016 09:06:29 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: by mail-ig0-x236.google.com with SMTP id ui10so35103759igc.1 for ; Sat, 09 Apr 2016 02:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=klHIhNnU6xi+UH/QZQwprxKWu8INkDWlJ5Q10i9VW/A=; b=MMeruCKawg+pLBIGqAj4/DcOBMYEvoNNPcaZApC46UWa7g/cPe1jusruSC0TrIOAy5 WtxrveAO2HsScZV+/65+z3qHBM93Kq++q7XIcGpd9BPjO6f4jo5qVUPly/PaSvl5Pb8j o+OHLps0MnfPquRvBSIhXd/+E59E8OShi5w1lKaqaTv/VzowBBQQN4vK4sR0+8YaiBT+ P4uw7UdK92qDwwYZatsNckLILBqRrjiRB6nZZ6Ufxvth75yyQCEnQFMTxroEesgIcVYG LoKP7AF30b2DFEPJxWk5uhCjfAraVUhw10qpnlJUUY0NBjkH6PhSY4juCmlG9UZFGN1j zozg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=klHIhNnU6xi+UH/QZQwprxKWu8INkDWlJ5Q10i9VW/A=; b=eQQUW6vFXOAzabrLxTUTOzepuWOF9LcjiIYQG6pRFFHhL4BJkrdDC0lmW+LnK6qngE /HlBsSiTz3GpAOS1Y+hMcfs7OKgvtzaMLcGWQfwzMFFTm4fPhcuQ8qeMHJveFJ04ANPs ecgkWx3S6HLGf+cC3uuxWroyRKNqqrbQH4F0MUM6vXDEf+BYq232A9fNPFzUGs/VfpQR LjNpLLOMPRbzLaahK63MjyeFarp3eJ6iLLv/Ruv42e0kt2gmi/4Yx3J8JNnMtOWzY2mQ jf7gH8iyhRLfWltLPScZQbf0UOW1JNF/D/xbElcdM0D6vGtweVet6+bsqMhnLD+W6nZF j7ow== X-Gm-Message-State: AD7BkJIktoLwWtRBbinlBYc6LJqQdnpjF/UOzYa58s4sTaQ1fS4HWwlruyWZQmHMN4YIYZMJiIdh6c04kJH+0A== MIME-Version: 1.0 X-Received: by 10.50.28.19 with SMTP id x19mr7899085igg.19.1460192788824; Sat, 09 Apr 2016 02:06:28 -0700 (PDT) Received: by 10.64.126.104 with HTTP; Sat, 9 Apr 2016 02:06:28 -0700 (PDT) In-Reply-To: References: Date: Sat, 9 Apr 2016 11:06:28 +0200 Message-ID: Subject: Re: Distorted sound on Raspberry Pi 2 From: Svatopluk Kraus To: Sylvain Garrigues Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 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 09:06:29 -0000 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 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"