Date: Fri, 21 Oct 2016 18:07:48 +0000 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 Message-ID: <bug-213687-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213687-7>