re-set pavucontrol default after HDMI monitor standby











up vote
1
down vote

favorite












Context: Debian/testing on a ASRock B450 with Ryzen 2200G, HDMI monitor.



I can set the default audio sink either via /etc/pulse/default.pa or manually with this command:
pacmd set-default-sink alsa_output.pci-0000_38_00.1.hdmi-stereo-extra1



However, once the monitor enters standby mode, the default gets reset to the internal HDaudio card and the volume applet is no longer tracking the HDMI volume, rather the internal audio card feeding the headphone and back panel jacks. I assume this happens because the HDMI "card" gets unplugged but I'm not sure.



I also tried the suggestion in this other question but it didn't work. Most questions seems to be about setting pulseaudio defaults but this doesn't work: the audio is still routed correctly to the HDMI monitor, it's just pavucontrol which is tracking the wrong volume. If I reset the default card with the command above, it goes back to showing the proper volume until the next standby.



How do I fix this?



New info on sinks




  1. before standby: card 0 is hdmi, card 1 is internal; card 0 is default and available, card 1 is also available but not default

  2. during standby: hdmi becomes unavailable, internal card is marked default

  3. after standby: hdmi is again available, internal card is still default


(I wanted to paste the diffs between the 3 sinks lists but the formatting was a bit tricky, so I summarized it above; please feel free to point me to the relevant guides, in case, as I see pastebin is a big no-no here)



After interrupting standby, I started a new player and I can confirm the music comes from the hdmi monitor, yet pavucontrol shows a crossed-out speaker.










share|improve this question









New contributor




Andrea Borgia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • It probably happens because Pulseaudio receives a signal that the HDMI sink is no longer available. First step would be to have a look with pacmd list-sinks at the state of the HDMI sync in normal/standby mode, and the difference.
    – dirkt
    19 hours ago















up vote
1
down vote

favorite












Context: Debian/testing on a ASRock B450 with Ryzen 2200G, HDMI monitor.



I can set the default audio sink either via /etc/pulse/default.pa or manually with this command:
pacmd set-default-sink alsa_output.pci-0000_38_00.1.hdmi-stereo-extra1



However, once the monitor enters standby mode, the default gets reset to the internal HDaudio card and the volume applet is no longer tracking the HDMI volume, rather the internal audio card feeding the headphone and back panel jacks. I assume this happens because the HDMI "card" gets unplugged but I'm not sure.



I also tried the suggestion in this other question but it didn't work. Most questions seems to be about setting pulseaudio defaults but this doesn't work: the audio is still routed correctly to the HDMI monitor, it's just pavucontrol which is tracking the wrong volume. If I reset the default card with the command above, it goes back to showing the proper volume until the next standby.



How do I fix this?



New info on sinks




  1. before standby: card 0 is hdmi, card 1 is internal; card 0 is default and available, card 1 is also available but not default

  2. during standby: hdmi becomes unavailable, internal card is marked default

  3. after standby: hdmi is again available, internal card is still default


(I wanted to paste the diffs between the 3 sinks lists but the formatting was a bit tricky, so I summarized it above; please feel free to point me to the relevant guides, in case, as I see pastebin is a big no-no here)



After interrupting standby, I started a new player and I can confirm the music comes from the hdmi monitor, yet pavucontrol shows a crossed-out speaker.










share|improve this question









New contributor




Andrea Borgia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • It probably happens because Pulseaudio receives a signal that the HDMI sink is no longer available. First step would be to have a look with pacmd list-sinks at the state of the HDMI sync in normal/standby mode, and the difference.
    – dirkt
    19 hours ago













up vote
1
down vote

favorite









up vote
1
down vote

favorite











Context: Debian/testing on a ASRock B450 with Ryzen 2200G, HDMI monitor.



I can set the default audio sink either via /etc/pulse/default.pa or manually with this command:
pacmd set-default-sink alsa_output.pci-0000_38_00.1.hdmi-stereo-extra1



However, once the monitor enters standby mode, the default gets reset to the internal HDaudio card and the volume applet is no longer tracking the HDMI volume, rather the internal audio card feeding the headphone and back panel jacks. I assume this happens because the HDMI "card" gets unplugged but I'm not sure.



I also tried the suggestion in this other question but it didn't work. Most questions seems to be about setting pulseaudio defaults but this doesn't work: the audio is still routed correctly to the HDMI monitor, it's just pavucontrol which is tracking the wrong volume. If I reset the default card with the command above, it goes back to showing the proper volume until the next standby.



How do I fix this?



New info on sinks




  1. before standby: card 0 is hdmi, card 1 is internal; card 0 is default and available, card 1 is also available but not default

  2. during standby: hdmi becomes unavailable, internal card is marked default

  3. after standby: hdmi is again available, internal card is still default


(I wanted to paste the diffs between the 3 sinks lists but the formatting was a bit tricky, so I summarized it above; please feel free to point me to the relevant guides, in case, as I see pastebin is a big no-no here)



After interrupting standby, I started a new player and I can confirm the music comes from the hdmi monitor, yet pavucontrol shows a crossed-out speaker.










share|improve this question









New contributor




Andrea Borgia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











Context: Debian/testing on a ASRock B450 with Ryzen 2200G, HDMI monitor.



I can set the default audio sink either via /etc/pulse/default.pa or manually with this command:
pacmd set-default-sink alsa_output.pci-0000_38_00.1.hdmi-stereo-extra1



However, once the monitor enters standby mode, the default gets reset to the internal HDaudio card and the volume applet is no longer tracking the HDMI volume, rather the internal audio card feeding the headphone and back panel jacks. I assume this happens because the HDMI "card" gets unplugged but I'm not sure.



I also tried the suggestion in this other question but it didn't work. Most questions seems to be about setting pulseaudio defaults but this doesn't work: the audio is still routed correctly to the HDMI monitor, it's just pavucontrol which is tracking the wrong volume. If I reset the default card with the command above, it goes back to showing the proper volume until the next standby.



How do I fix this?



New info on sinks




  1. before standby: card 0 is hdmi, card 1 is internal; card 0 is default and available, card 1 is also available but not default

  2. during standby: hdmi becomes unavailable, internal card is marked default

  3. after standby: hdmi is again available, internal card is still default


(I wanted to paste the diffs between the 3 sinks lists but the formatting was a bit tricky, so I summarized it above; please feel free to point me to the relevant guides, in case, as I see pastebin is a big no-no here)



After interrupting standby, I started a new player and I can confirm the music comes from the hdmi monitor, yet pavucontrol shows a crossed-out speaker.







debian pulseaudio hdmi






share|improve this question









New contributor




Andrea Borgia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Andrea Borgia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 6 hours ago





















New contributor




Andrea Borgia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Andrea Borgia

64




64




New contributor




Andrea Borgia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Andrea Borgia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Andrea Borgia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • It probably happens because Pulseaudio receives a signal that the HDMI sink is no longer available. First step would be to have a look with pacmd list-sinks at the state of the HDMI sync in normal/standby mode, and the difference.
    – dirkt
    19 hours ago


















  • It probably happens because Pulseaudio receives a signal that the HDMI sink is no longer available. First step would be to have a look with pacmd list-sinks at the state of the HDMI sync in normal/standby mode, and the difference.
    – dirkt
    19 hours ago
















It probably happens because Pulseaudio receives a signal that the HDMI sink is no longer available. First step would be to have a look with pacmd list-sinks at the state of the HDMI sync in normal/standby mode, and the difference.
– dirkt
19 hours ago




It probably happens because Pulseaudio receives a signal that the HDMI sink is no longer available. First step would be to have a look with pacmd list-sinks at the state of the HDMI sync in normal/standby mode, and the difference.
– dirkt
19 hours ago















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Andrea Borgia is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489302%2fre-set-pavucontrol-default-after-hdmi-monitor-standby%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Andrea Borgia is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Andrea Borgia is a new contributor. Be nice, and check out our Code of Conduct.













Andrea Borgia is a new contributor. Be nice, and check out our Code of Conduct.












Andrea Borgia is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489302%2fre-set-pavucontrol-default-after-hdmi-monitor-standby%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

サソリ

広島県道265号伴広島線

Accessing regular linux commands in Huawei's Dopra Linux