ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.22k stars 174 forks source link

Can't use Pulseaudio microphone with Steam from second user. #3586

Open pashazz opened 9 years ago

pashazz commented 9 years ago

I have two regular users on my computer. Both are members of 'audio', 'video' and 'wheel' I use Pulseaudio as sound system (Archlinux; Pulseaudio version 5.0) Running on first user, Steam grabs mic input successfully. Moreover, it grabs it even when I choose any of available Pulse devices (monitors, other sound cards, etc). I am also able to choose ALSA devices. In that case mic works within Steam, but not in-game/overlay/

On second user, it is possible to choose from various pulse devices, but the input steam is silent. With ALSA devices, the situation is the same as in the first ALSA case. Mic does not work in-game using any method.

If you need any logs or outputs, I'll post them out. Regular steam console output does not seem to be helpful - it does not have any info regarding to sound.

pashazz commented 9 years ago

default.pa for first user is as folows: http://pastebin.archlinux.fr/664412 The same as /etc/pulse/default.pa besides the last line

load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 
pashazz commented 9 years ago

If I run steam as a second user from first: sudo -u kl steam

Sound with pulseaudio would work. ($HOME wouldn't be kept - I don't have HOME in env_keep). I do not know why.

Plaque-fcc commented 9 years ago
Hi!

There are two ways to configure PulseAudio: as shared server (simultaneous) and as per-user switching access variant. The first one supposes «daemonize = yes» set in /etc/pulse/daemon.conf; more info like by «man pulse-daemon.conf». Hope it can help you.

boombatower commented 8 years ago

I have a single user setup (aside from root obviously) with the same symtom (silent mic no matter what is selected). Same mic works through pulseaudio in half a dozen other applications daily.

I worked around the issue by using pavucontrol to change device when testing mike in steam. It also showed that it was using m/b input instead of usb mic that I selected. It appears the selection in steam does nothing.