-
-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default audio sink not respect by gamescope session #1195
Comments
Default audio is set by Wireplumber. This matches how SteamOS handles this. You'll need to configure that. |
Thanks for the answer. Unfortunately with it happens either when rebooting or switching to desktop and back to gamescope session. |
Wireplumber is the most convoluted thing that a normal user would need to use I have ran across in my time using linux. It is like needing to change cam timing in order to turn on your windshield wipers. Spent a week trying to get it to work with no success. For whatever reason You don't need to use
You are looking for the name and output you want to use. Change yours to whatever you need them to be. I will just list what I need to use.
On boot it will wait 30 seconds and switch the audio sink. |
@ChaosBlades Thank you so much for this detailed guide, I managed to do it a little differently. For some reason, the output option didn't work for me, I tried different options, but it worked strangely. pactl list sinks short
my systemd unit looks like this
Of course, you need to make sure that everything works
and now the sound appears steadily after turning on the system after 30 seconds. It's much better than switching it every time) |
There are so many audio issues since the update to Fedora 40, this cant be the solution. And this worked before the update perfectly without telling all the users to fiddle around with any configuration files. Absolutley annoying... Telling your users to handle some configuration files for a feature which worked before without that shit is not acceptable. |
PRs are open |
Sorry my language, but I am struggling with this issue since a long time. Found a first workaround after the update to Fedora 40, but this is not working anymore. And now I can`t use my nice sound setup anymore :-( But I really appreciate your response, and I will definetly give you feedback if my issues are resolved. |
@KyleGospo I could not find any PRs related to this issue, could you tell me which they are? This issue is for me related to #912 where I am struggling to get my sound setup working |
He was stating that PRs are open as in -- if you think something can be done better, you're welcome to create a PR to try to fix it. This is an open project. The devs do not owe you anything. Being disrespectful will get you nowhere. |
This feels somewhat related: 40.20240922.0 completely breaks surround for me in gamescope session. Usually it works when setting it to surround in desktop mode and then switching back to gamescope. I can still set surround in desktop mode, but switching to gamescope will only produce stereo sound. I tried some solutions from #912, but they don't seem to work. Rolling back to any version prior to seems to fix it again. Checking the commits, I see that gamescope got bumped, maybe that broke it? |
This is for me the case since the update to Fedora 40. No surround sound solution since more than a half year :-) What a flaw for a "gaming" distribution... And there is absolute no help for this topic and no interest by the ublue devs to solve it. If it wasn't for MESA 24 i would switch back to a Fedora 39 build |
Now this issue is magically solved in the testing branch, I can not pin point it to any specific build, but now I do have 5.1 sound just from boot without flaws. 2 weeks ago it was still stereo after reboot. I am hearing the startup sound in 5.1, the first time since 9 months :-) Can anybody with that problem confirm that? |
I've just tried the testing branch and no, this has not resolved the problem for me. Bazzite is still outputting Stereo mode, even if I trick my tv/sound system settings into showing 5.1 multi pcm, it's actually only stereo through Bazzite. |
My solution is still working. Have not needed to mess with it since I set up the service. Getting real 5.1 surround. This very likely won't be fixed until Valve adds surround sound options to the Deck GUI when SteamOS is ready to be used beyond handhelds officially. Really this is the only thing I am waiting on other than real HDMI 2.1 on AMD cards or I guess Nvidia to not be terrible on Linux. Edit: Ublue could add a ujust script that assists with surround sound service creation. Only thing I can think of to make things easier until an official solution is added. |
Can you give a bit more step by step on what to do! I'm newish to linux. In terminal I have done nano ~/.config/systemd/user/set-surround.service Now what do I do? It has brought up gnu nano 8.1 and at the bottom in a red box it states Directory /home/bazzite/.config/systemmd/user does not exist EDIT: Can't even write this command in GBU Nano 8.1. Once I do a write out it states: EDIT 2: So I had to create a folder called systemd/user/ within bazzite/.config Now within terminal when I do your last command systemctl --user start set-surround.service I get the following error message: Job for set-surround.service failed because the control process exited with error code. |
Hi all I got surround sound working on Bazzite Gamemode on a Mini PC (with AMD iGPU [7840u CPU]- will likely work with external GPUs too). I picked solution parts from this post #1195 but specifically this section #1195 (comment) A lot simpler than all the methods been mentioned around the web and on Bazzite Discord. Here were my steps from memory, it may seem really long but it's actually super quick (10 minutes work max), I'm just breaking down all the steps bit by bit to assist people who aren't Linux gurus (I'm not a guru at all!)
|
Describe the bug
When I change my default audio sink via:
and then start a gamescope-session, it will reset it to another sink.
What did you expect to happen?
That the default sink set by
pactl
is not changed.Output of
rpm-ostree status
Hardware
AMD Ryzen 7 5800X, AMD 6800
Extra information or context
No response
The text was updated successfully, but these errors were encountered: