From owner-freebsd-arm@freebsd.org Fri Oct 21 18:07:48 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 92CFFC1C364 for ; Fri, 21 Oct 2016 18:07:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8259BD88 for ; Fri, 21 Oct 2016 18:07:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9LI7mBp063517 for ; Fri, 21 Oct 2016 18:07:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 213687] Raspberry Pi sound: PCM channel gets dead ("play interrupt timeout") after 48 hours Date: Fri, 21 Oct 2016 18:07:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sylvain@sylvaingarrigues.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2016 18:07:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213687 Bug ID: 213687 Summary: Raspberry Pi sound: PCM channel gets dead ("play interrupt timeout") after 48 hours Product: Base System Version: CURRENT Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: sylvain@sylvaingarrigues.com Hello,=20 I am the happy owner of the raspberry pi 2, analogue sounds works GREAT but I've always had problem after a few days. I listen to music several hours every day with my Pi, if I play music every= day everything is fine, but I have noticed that if I don't play music for more = than 48 hours, I get this error trying to relaunch music (no log before): pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel d= ead Any idea? I have this verbose log just before it dies (cut version): pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D44000, old=3D44000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 feed_root: (virtual) appending 3676 bytes (count=3D3676 l=3D0 feed=3D752487= 8) pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D48000, old=3D48000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 feed_root: (virtual) appending 1852 bytes (count=3D1852 l=3D0 feed=3D752487= 9) feed_root: (virtual) appending 1824 bytes (count=3D1824 l=3D0 feed=3D752488= 0) pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=3D52000, old=3D52000 delta=3D0 amt=3D0 ready=3D8192 free=3D119808 pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel d= ead Gonzo said in an earlier bug these WARNINGs are inherent to the way the raspberry pi sends sound to the firmware so I'm not worried about it. # sysctl -a | grep pcm: dev.pcm.0.dest: 1 dev.pcm.0.eq_preamp: +0.0dB dev.pcm.0.eq: 1 dev.pcm.0.bitperfect: 0 dev.pcm.0.buffersize: 0 dev.pcm.0.play.vchanformat: s16le:2.0 dev.pcm.0.play.vchanrate: 48000 dev.pcm.0.play.vchanmode: fixed dev.pcm.0.play.vchans: 1 dev.pcm.0.%parent: vchiq0 dev.pcm.0.%pnpinfo:=20 dev.pcm.0.%location:=20 dev.pcm.0.%driver: pcm dev.pcm.0.%desc: VCHIQ audio dev.pcm.%parent:=20 # sysctl -a | grep snd hw.snd.maxautovchans: 16 hw.snd.default_unit: 0 hw.snd.version: 2009061500/armv6 hw.snd.default_auto: 1 hw.snd.verbose: 4 hw.snd.vpc_mixer_bypass: 1 hw.snd.feeder_rate_quality: 1 hw.snd.feeder_rate_round: 25 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_min: 1 hw.snd.feeder_rate_polyphase_max: 183040 hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97 hw.snd.feeder_eq_exact_rate: 0 hw.snd.feeder_eq_presets: PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000 hw.snd.basename_clone: 1 hw.snd.compat_linux_mmap: 0 hw.snd.syncdelay: -1 hw.snd.usefrags: 0 hw.snd.vpc_reset: 0 hw.snd.vpc_0db: 45 hw.snd.vpc_autoreset: 1 hw.snd.timeout: 5 hw.snd.latency_profile: 1 hw.snd.latency: 5 hw.snd.report_soft_matrix: 1 hw.snd.report_soft_formats: 1 --=20 You are receiving this mail because: You are the assignee for the bug.=