"PCM Sink" goes to laptop speakers, "Speaker + Headphones" sink disappears
I'm using pipewire 0.3.67 on Arch Linux, but have seen this bug with previous versions for some months.
On a laptop with a "sof-hda-dsp" sound card, after connecting and later disconnecting Bluetooth headphones, pipewire sometimes reaches a state where audio will no longer play out of the built-in "Speaker + Headphones" sink. When this happens, the volume meter of the "PCM Sink" output shows the audio sources that claim (according to pavumixer
and helvum
) to be linked to the speaker sink, but these are no longer audible.
If I change the audio profile from "Play HiFi Quality Music" to something else and back, then I begin to hear audio, but the "Speaker + Headphones" sink disappears completely, and the sources that were connected to it begin to claim they are connected to the "PCM Sink" output. Meanwhile, I do hear them playing out of my laptop speakers. As far as I understand, this shouldn't happen.
Here's a screenshot of helvum from this stage:
I can provide the output of pw-dump
at this stage, though I'd prefer not to do so publicly for privacy reasons.
Note that there is no "Speaker + Headphones" sink at all. If I restart pipewire, this sink does reappear, but for some time the "PCM Sink" output still corresponds to my actual built-in speakers. After some time (including Chromium playing notification beeps), things appear to have gone back to normal.