jagdpanther l33t
Joined: 22 Nov 2003 Posts: 754
|
Posted: Mon Feb 19, 2024 1:02 am Post subject: steam audio via tcp pipewire |
|
|
I am having a no-sound issue with steam launched games after switching to pipewire. Sound from all other tested applications (ex: mpv, vnc, audacious) work without issue.
I recently switched my Gentoo system from pulse audio (with no sound server) to pipewire with a sound server.
https://forums.gentoo.org/viewtopic-t-1167281-highlight-.html
I run steam games as a separate user called "steam". If I try to run any steam game via "su - steam" like I did before using pipewire, there is no audio.
Code: | /bin/su - steam
export PULSE_SERVER=tcp:127.0.0.1:4713
pavucontrol &
steam |
launch a game.
However using that same "steam" session other audio applications work. (So I think I properly set up pipewire.)
(I did modify /etc/pipewire/pipewire-pulse.conf for multi-user as described in https://wiki.gentoo.org/wiki/PipeWire/en#Adding_multi_user_support )
I am using steamruntime use flag in the steam-launcher app. Should I try without the steamruntime use flag?
(If I exit all the way out of my normal user and then login as user steam, run gentoo-pipewire-launcher and then steam, game sound works.)
Any suggestions on getting steam game audio working when using "export PULSE_SERVER=tcp:127.0.0.1:4713" would be appreciated. |
|