[pulseaudio-tickets] [Bug 103569] New: Feature request: do not resample nor output sound with 0 usage

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Nov 4 07:46:07 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103569

            Bug ID: 103569
           Summary: Feature request: do not resample nor output sound with
                    0 usage
           Product: PulseAudio
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: daemon
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: Hi-Angel at yandex.ru
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

# Steps to reproduce:

1. Run a soundtrack in VLC
2. Disable sound in VLC, or alternatively lower it to 0
3. Run `top`, and check CPU-load of pulseaudio

# Expected results:

You should see almost the same usage as if pulseaudio was idle

# Actual results:

Pulseaudio loads CPU around ≈4-5%.

# Real-world significancy:

Initially I found the problem for figuring out why pulseaudio loads CPU to 10%
(not even 5% as with VLC!) when I ain't play anything. Pavucontrol shows that
no apps are using sound. Long story short, I went as far as to disable
pulseaudio, and then noted something funny in `top`: one Qutebrowser tab been
loading my CPU to 2-3%. I immediately figured it out: it's a crappy
"freelancer.com" site, no surprise. After it's closed, the again enabled
pulseudio does not load my CPU anymore.

I think they maybe play some static noise at 0 sound. Pulseaudio surely can
detect it, because I do not see at pavucontrol's "audio usage" line any jumps.

Other applications: speech-dispatcher streams might be doing something alike
https://bbs.archlinux.org/viewtopic.php?id=222857

I also found this Ubuntu bug
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/207135 despite tagged
"fix released", peoples keep complaining. My guess it might be related.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20171104/d723b0db/attachment.html>


More information about the pulseaudio-bugs mailing list