Bug 105504

Summary: Latency problem when combining sinks
Product: PulseAudio Reporter: ovvv
Component: modulesAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description ovvv 2018-03-14 13:51:09 UTC
I use ladspa plugins to increase the volume of low frequencies (more bass for
usual headphones).
The result of the applied low pass filters is merged with the default output
with specified volume ratios using module-loopback.
Here's the activation script: https://pastebin.com/kGU3Fnd2
However, when I close my laptop, wait a bit, and then open it again, it becomes
broken.
Either a huge latency (about a second) appears (this happens the most times)
or pulseaudio uses 100% CPU and no sound is hearable (e.g. when playing
something with audacious).
The problem happens with the loopback and the combine-sink modules, I've tried
both.

Here are log messages from when it used 100% CPU:
https://pastebin.com/raw/3B0R1ugr

I also now and then get latency offsets between the default and lowpass output,
it happens especially when watching youtube videos and playing music at
soundcloud.com (tested with firefox and chromium).
Also, sometimes when disabling or enabling network connection I can hear a
cracking noise.

I'm using the latest pulseaudio master. When I used an older pulseaudio, the problem also appeared.
Comment 1 GitLab Migration User 2018-07-30 09:33:43 UTC
-- 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/15.

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.