Audio dropouts and GUI popups due to output auto switching
-
PipeWire version (
pipewire --version
):
pipewire
Compiled with libpipewire 0.3.48
Linked with libpipewire 0.3.48 -
Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
):
Gentoo Linux -
Desktop Environment:
KDE Plasma 5.24.3 -
Kernel version (
uname -r
):
5.15.27-gentoo
Description of Problem:
Today I went through the procedure and switched my system from pulseaudio to pipewire. Unfortunately, I have random audio dropouts accompanied by a KDE popup showing the audio output name in the middle of the screen. This is due to jack auto-sensing. I have one of those mainboards with either a buggy BIOS or other issue, where the integrated audio reports phantom jack connection events. Like it reports that headphones have been connected, only to report a headphone jack disconnect a few milliseconds later.
This seems to be a somewhat common problem many other people have as well. The solution I found is to edit /etc/pulse/default.pa
and comment out this line:
load-module module-switch-on-port-available
This completely fixed the problem and finally I was able to get nice, clean audio.
Now that I switched to pipewire, the problem is back. There doesn't seem to be any option anywhere to disable automatic switching of ports so my audio is broken again. There needs to be a setting to disable automatic port switching.
How Reproducible:
100%.
Steps to Reproduce:
- Get one of the mainboards that has this problem. In my case, an MSI B550-A Pro.
- Play audio.
- Get annoyed by audio dropouts and GUI popups.
Actual Results:
Audio dropouts and GUI popups.
Expected Results:
No audio dropouts and no GUI popups.
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.log