Score:1

No built in audio in pipewire after HDMI unplugged

cn flag

System information:

After I unplug the HDMI cable off the notebook, the audio doesn't switch back to built-in. I specifically moved from PulseAudio to PipeWire in hope, that this would be fixed (because something simmilar was happening with PA), but it did not help, although with PipeWire it is at least as simple as going to sound settings in gnome, after which it fixes itself. With PA I never discovered what sequence of actions actually fix the issue.

Does anyone have any idea how to fix that or how to further investigate? I'm not an expert in the Linux's audio stack...

What I do:

  1. Plug in HDMI
  2. Select the HDMI audio output using extension menu

    enter image description here

  3. Unplug HDMI ­now the "Speakers - Built-in Audio" disappears

    enter image description here

To fix this I go to gnome sound settings and on the drop down list select (now present and only) missing "Speakers -Built-in Audio"

enter image description here

After that, the controls for the audio devices appear.

enter image description here

Hi-Angel avatar
es flag
What you'd want is try latest Pipewire, and then report a bug if it's still reproducible. The only real problem here is: I'm not sure how it's best to execute in your case. You see, switching between outputs in PW is handled by "session manager". There're two of them: `media-session` and `wireplumber`. There's [a PPA](https://launchpad.net/~pipewire-debian/+archive/ubuntu/pipewire-upstream) with latest PW, but it doesn't provide `wireplumber`, whereas `media-session` isn't actively developed. If you're comfortable compiling PW yourself, you could test upstream `wireplumber`.
Hi-Angel avatar
es flag
FTR, here's [an upstream link to a wireplumber](https://gitlab.freedesktop.org/pipewire/wireplumber). You could test if PW exhibits the problem with it, then report a bug if it does. PW is an actively developed project, so there's a high chance it will get fixed.
Score:1
cn flag

Thanks @Hi-Angel, I followed the guide for switching to wireplumber and pipewire using upstream PPA's and the problem doesn't seem to occur anymore — HDMI. This upgraded me from the pipewire wireplumber 0.4.8-4 to 0.4.11.r31.g8fa1693-1~ubuntu22.04 (also upgraded pipewire from 0.3.48 to 0.3.60).

Also it is worth noting, for anyone wondering, that the module for automatically switching audio output should be enabled.

Hi-Angel avatar
es flag
You probably meant "this upgraded wireplumber" not "… pipewire". PW itself has different release numbers
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.