- Okugcinwe kunqolobane
pulseaudio high CPU with no audio playing
Hey there, I have the following issue with Firefox, is this maybe something I should report to the Ubuntu support or directly to Bugzilla? Steps to reproduce: --- O… (funda kabanzi)
I have the following issue with Firefox, is this maybe something I should report to the Ubuntu support or directly to Bugzilla?
Steps to reproduce: ---
- Open Firefox
- Go to a page that contains an embedded video that is not playing automatically, e.g. https://www.rottentomatoes.com/m/sound_of_metal
- Do not play the video
Environment --- User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0 Firefox version: 83.0 (64-bit) pulseaudio version: 13.99.2 OS: Ubuntu 20.10 64-bit Gnome version: 3.38.1 Windowing system: Wayland CPU: Intel® Core™ i7-8565U CPU @ 1.80GHz × 8 RAM: 15,5 GiB GPU: Mesa Intel® UHD Graphics 620 (WHL GT2)
Actual results --- pulseaudio process is spawned and rapidly becomes the most CPU consuming process on my machine (especially after a few seconds, when the Web Content ones start to cool down). Even though no sound is actually played! When switching to another tab with no embedded video, pulseaudio keeps overloading the CPU. This only stops after closing Firefox.
Expected results --- I'm not sure this is what should be expected, but I'll give it a shot:
- pulseaudio process should only be spawned when actually playing a media that requires audio
- pulseaudio should not be the #1 CPU consuming process
- pulseaudio process should at the very least not massively use CPU when no sound is playing