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
- before standby: card 0 is hdmi, card 1 is internal; card 0 is default and available, card 1 is also available but not default
- during standby: hdmi becomes unavailable, internal card is marked default
- 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
New contributor
add a comment |
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
- before standby: card 0 is hdmi, card 1 is internal; card 0 is default and available, card 1 is also available but not default
- during standby: hdmi becomes unavailable, internal card is marked default
- 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
New contributor
It probably happens because Pulseaudio receives a signal that the HDMI sink is no longer available. First step would be to have a look withpacmd list-sinks
at the state of the HDMI sync in normal/standby mode, and the difference.
– dirkt
19 hours ago
add a comment |
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
- before standby: card 0 is hdmi, card 1 is internal; card 0 is default and available, card 1 is also available but not default
- during standby: hdmi becomes unavailable, internal card is marked default
- 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
New contributor
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
- before standby: card 0 is hdmi, card 1 is internal; card 0 is default and available, card 1 is also available but not default
- during standby: hdmi becomes unavailable, internal card is marked default
- 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
debian pulseaudio hdmi
New contributor
New contributor
edited 6 hours ago
New contributor
asked yesterday
Andrea Borgia
64
64
New contributor
New contributor
It probably happens because Pulseaudio receives a signal that the HDMI sink is no longer available. First step would be to have a look withpacmd list-sinks
at the state of the HDMI sync in normal/standby mode, and the difference.
– dirkt
19 hours ago
add a comment |
It probably happens because Pulseaudio receives a signal that the HDMI sink is no longer available. First step would be to have a look withpacmd 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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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