Chromium/Electron audio not working unless I change configuration in pavucontrol
- PipeWire version (
pipewire --version
):
pipewire
Compiled with libpipewire 0.3.52
Linked with libpipewire 0.3.52
- Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: XMonad
- Kernel version (
uname -r
): 5.18.3-zen1-1-zen
Description of Problem:
When starting playback on spotify, I get a 1-3ms (approximately) crackling sound and then it falls entirely silent.
And when trying to playback something in Ungoogled-Chromium, I get no sound at all.
When changing configuration in pavucontrol as the title mentions, I change from Digital Stereo (IEC958) Output
to Digital Stereo (IEC958) Output + Analog Stereo Input
on my Starship/Matisse HD Audio Controller
a couple of times, until I can hear sound. (this is definitely not viable)
In Spotify this results in the song playing back, but with the same kinda crackling audio as the 1-3ms snippet of sound.
In chromium however, this results in the audio from the YouTube video I tested with being played back seemingly perfectly.
Discord Notification and playback on audio/video files do not work, but voice chat does.
Let me know if more info is needed.
How Reproducible:
Start playback in any Chromium based application or browser. Happens in all new instances (tabs) even after doing the "fix".
Steps to Reproduce:
- Start playback of YouTube Video in Chomium/Brave, or playback of any song in Spotify
- Change settings on output device in Pavucontrol from IEC958 to IEC958 + Analog Audio Input
Actual Results:
Audio not Playing at all when playing from spotify/chromium, and ending up with choppy/crackling audio in Spotify after changing settings on output device under configuration in Pavucontrol.
And Chromium audio working correctly after changing the aforementioned settings.
Expected Results:
Audio playing correctly from Chromium based applications (electron) and Chromium based Browsers.
Additional Info (as attachments):
-
pw-dump > pw-dump.log
:
pw-dump.log (taken while the Chromium browser was trying to output audio.)