Score:0

Wrong Pulseaudio sink after starting with disabled display

lk flag

I'm running 20.04 as HTPC. Sometimes it happens that the PC wakes by RTC to perform a recording. The AV receiver and the display are powered down in that situation.

When I decide to use the HTPC then and start AVR and display, the wrong Pulseaudio sink is selected. I can fix the issue either by rebooting then or by changing the sink manually using pavucontrol.

When it worked at the beginning and the display went into standby mode for some time, the sink is switched again and again I must perform the above steps to fix it.

I'm searching for an automatic solution for this. I already disabled module-switch-on-port-available, module-switch-on-connect and module-suspend-on-idle and set the correct set-default-sink, but it didn't help.

What else could I try?

Nmath avatar
ng flag
We will probably need to get more detailed information about how you set this up in order to troubleshoot your setup. Since you aren't sure which part of your setup might be incorrect, we need to know what changes and customizations you've made to software and configs for this purpose. The more complicated your setup, the more information we need.
pikim avatar
lk flag
I started with `ubuntu-20.04.1-legacy-server-amd64.iso` and installed `sudo apt-get install xubuntu-core^` on top of it. Then Kodi 19.3. But I didn't make any manual changes to Pulseaudio, except the ones from above. My `~/.config/pulse/default.pa` was a copy from `/etc/pulse/default.pa` and now looks like: https://pastebin.com/JnQW9Kuc
David avatar
cn flag
You did not update Ubuntu to the 20.04.3 version?
pikim avatar
lk flag
@David: I started with the older ISO but updated immediately. But in the meantime I solved the issue by providing the according AVR edid file to initramfs by following this post: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1814938/comments/5 Thanks for your help.
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.