Summary: | module-echo-cancel: aec_method='webrtc', pulseaudio gets killed with SIGKILL | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | Antonio Ospite <ao2> |
Component: | modules | Assignee: | pulseaudio-bugs |
Status: | RESOLVED MOVED | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | medium | CC: | ao2, lennart |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | pulseaudio kets killed when loadng the echo-cancel module with method=webrtc |
Description
Antonio Ospite
2016-07-05 12:55:39 UTC
That's quite odd. On my laptop (admittedly a recent Core i7), I was running with rate=48000 channels=2 without anywhere near maxing out the CPU. What is CPU usage like in the working case? And can you see what it's like before PA gets killed? Created attachment 125234 [details]
pulseaudio kets killed when loadng the echo-cancel module with method=webrtc
Hi,
please find attached the output of "pulseaudio -v" after loading the module, the last line "Ucciso" is from the shell and means "Killed".
(In reply to Arun Raghavan from comment #1) [...] > What is CPU usage like in the working case? And can you see what it's like > before PA gets killed? (In reply to Arun Raghavan from comment #3) > (In reply to Arun Raghavan from comment #1) > [...] > > What is CPU usage like in the working case? And can you see what it's like > > before PA gets killed? You are right, I didn't answer the question about CPU usage. So, to recap, I am using the kernel from Debian, I am using pulseaudio 9.0 from the Debian packages (but it's the same if I compile my own) like this: LANG=C pulseaudio -v LANg=C is needed here because of Bug #96819. I load the echo-cancel module like this: pactl load-module module-echo-cancel format=s16le rate=8000 channels=4 aec_method='webrtc' aec_args='"beamforming=1 mic_geometry=-0.03,0,0,-0.01,0,0,0.01,0,0,0.03,0,0"' I start recording form the echo canceled source like this: gst-launch-1.0 pulsesrc device-name=alsa_input.usb-OmniVision_Technologies__Inc._USB_Camera-B4.04.27.1-01.multichannel-input.echo-cancel ! fakesink and the pulseaudio CPU usage is between 6% and 7.3% If I load the module with other values for the rate parameter, and do nothing else pulseaudio gets killed after some seconds. But I noticed that it stays alive if I start to record right after I loaded the module, regardless of the format, I even tried with 48000. The CPU usage is always in the range of 6-7.3% when recording. What kind of logs should I send? I will also try with the kinect and see if I get the same behavior. Thanks, Antonio -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/229. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.