HDMI audio keeps going back to stereo instead of 5.1
Every time I reboot, I have to go back into desktop mode and enable 5.1. Is there a way to prevent this minor annoyance from happening?
10 Replies
you need to make a wireplumber config to select the right output in gamemode on boot (if just disabling the outputs you are not going to use is not feasable which i doubt it is in this scenario)
this is default steamos (or rather steam in gamescope) behavior and we cannot change that.
personally i dont know how to write said wireplumber config though
You can use wpcrl status and wpcrl inspect to get the priority of each audio device, then create ~/.config/wireplumber/wireplumber.conf.d/51-creative-soundbar.conf (you can change the name) to put something like:
monitor-alsa.rules = [
{
matches = [
{
node. name = "alsa_output.pci-0000_03_00.1.hdmi-stereo”
}
]
actions = {
update-props = {
priority.driver = 727
priority session = 727
}
}
}
]
To ensure the device you want has a higher priority than the one you don’t (or lower the other)
@Robbeh this is something that would be very nice to have a written guide for in the docs
wouldnt you agree @nickname
also how would one contribute to the docs now with the new docs up nick?
edit this page on github: https://github.com/KyleGospo/docs.bazzite.gg/blob/main/src/Handheld_and_HTPC_edition/Steam_Gaming_Mode.md
add yourself to the authors list, pr it
GitHub
docs.bazzite.gg/src/Handheld_and_HTPC_edition/Steam_Gaming_Mode.md ...
Documentation website for Bazzite. Contribute to KyleGospo/docs.bazzite.gg development by creating an account on GitHub.
theres already a section on default audio devices
could probably edit that
would you like to contribute it to the docs yourself?
if not i will do it when i am no longer sick
Maybe this? I’ll try it tomorrow: https://www.answeroverflow.com/m/1250265159876870205
How to set up Wireplumber to default to 5.1 Surround Sound? - Unive...
Been struggling with this for about half a day. Trying to get 5.1 Surround Sound to survive a reboot. So I don't need to swtich to desktop on every boot to go from stereo to 5.1
https://wiki.archlinux.org/title/WirePlumber
This should be what I need but would need to migrate the format as it mentions and struggling with that.
https://blog.zenlin...
Did that work? I'm having the same issue but I am new to Linux.
Wireplumber seems really daunting
Never messed with it - also over my head. Every time I reboot, I exit to desktop, enable 5.1, then go back to game mode.
Just bumping this thread as well. Game mode always resets my audio to stereo. And writing the scripts is a bit over my head