[Bug 213687] Raspberry Pi sound: PCM channel gets dead ("play interrupt timeout") after 48 hours
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Oct 21 18:07:48 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213687
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 at FreeBSD.org
Reporter: sylvain at sylvaingarrigues.com
Hello,
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 everyday
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 dead
Any idea?
I have this verbose log just before it dies (cut version):
pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=44000,
old=44000 delta=0 amt=0 ready=8192 free=119808
feed_root: (virtual) appending 3676 bytes (count=3676 l=0 feed=7524878)
pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=48000,
old=48000 delta=0 amt=0 ready=8192 free=119808
feed_root: (virtual) appending 1852 bytes (count=1852 l=0 feed=7524879)
feed_root: (virtual) appending 1824 bytes (count=1824 l=0 feed=7524880)
pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=52000,
old=52000 delta=0 amt=0 ready=8192 free=119808
pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead
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:
dev.pcm.0.%location:
dev.pcm.0.%driver: pcm
dev.pcm.0.%desc: VCHIQ audio
dev.pcm.%parent:
# 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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-arm
mailing list