[DNG] Steam, Mumble, Valheim, Alsa and shared audio

2021-07-02 Thread hal

Hi,
I have Alsa installed on Beowulf along with Steam and I guess there is some 
Pulse stuff installed too. I also use Mumble to chat during game play. When I'm 
playing Valheim, I can get sound in the game, but Mumble doesn't work.

Is this just a mis-configuration on my end, or does Also not "share" the audio 
between applications?

I launch steam as the "game" user (using xhost+) to keep my regular home 
directory and files segregated from whatever asshattery might happen from game 
mods/applications/etc.

Maybe having two users access the Alsa sound devices is my problem? Installed 
Alsa/Pulse packages and Alsa devices are below.

Thank you!


$ dpkg -l | egrep -i '(alsa|pulse)' | awk '{print $1"  "$2};'
ii  alsa-utils
ii  apulse:amd64
ii  gstreamer1.0-alsa:amd64
ii  gstreamer1.0-pulseaudio:amd64
ii  libasound2:amd64
ii  libasound2:i386
ii  libasound2-data
ii  libasound2-dev:amd64
ii  libasound2-plugins:amd64
ii  libasound2-plugins:i386
ii  libcanberra-pulse:amd64
ii  libpulse-dev:amd64
ii  libpulse-mainloop-glib0:amd64
ii  libpulse0:amd64
ii  libpulse0:i386
ii  libpulsedsp:amd64
ii  pavucontrol
ii  pulseaudio
ii  pulseaudio-utils
ii  xfce4-pulseaudio-plugin:amd64
ii  xmms2-plugin-alsa


$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
pulse
PulseAudio Sound Server
default:CARD=PCH
HDA Intel PCH, ALC889 Analog
Default Audio Device
sysdefault:CARD=PCH
HDA Intel PCH, ALC889 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
Direct sample mixing device
dmix:CARD=PCH,DEV=1
HDA Intel PCH, ALC889 Digital
Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
Direct sample snooping device
dsnoop:CARD=PCH,DEV=1
HDA Intel PCH, ALC889 Digital
Direct sample snooping device
hw:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
Direct hardware device without any conversions
hw:CARD=PCH,DEV=1
HDA Intel PCH, ALC889 Digital
Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
Hardware device with all software conversions
plughw:CARD=PCH,DEV=1
HDA Intel PCH, ALC889 Digital
Hardware device with all software conversions
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 1
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 2
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Direct sample mixing device
dmix:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Direct sample snooping device
hw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Hardware device with all software conversions
usbstream:CARD=NVidia
HDA NVidia
USB Stream Output
default:CARD=Headset
Logitech Wireless Headset, USB Audio
Default Audio Device
sysdefault:CARD=Headset
Logitech Wireless Headset, USB Audio
Default Audio Device
front:CARD=Headset,DEV=0
Logitech Wireless Headset, USB Audio
Front speakers
surround21:CARD=Headset,DEV=0
Logitech Wireless Headset, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Headset,DEV=0
Logitech Wirel

Re: [DNG] Steam, Mumble, Valheim, Alsa and shared audio

2021-07-02 Thread Bastiaan van den Berg
pulseaudio by default doesnt run 'systemwide' and typically only allows
'the user that started it' access to the audio devices (aka, your steam
user)

maybe google about systemwide-pulseaudio , or checkout pipewire perhaps
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Steam, Mumble, Valheim, Alsa and shared audio

2021-07-02 Thread terryc
On Fri, 2 Jul 2021 10:58:37 -0500
hal  wrote:

> Hi,
> I have Alsa installed on Beowulf along with Steam and I guess there
> is some Pulse stuff installed too. I also use Mumble to chat during
> game play. When I'm playing Valheim, I can get sound in the game, but
> Mumble doesn't work.
> 
> Is this just a mis-configuration on my end, or does Also not "share"
> the audio between applications?

Well it is the same with my Devuan-chimaera system running only alsa.
So it has to be something in alsa.
I see it in browsers/games/vlc/?
First in best dressed.
Is Valheim native linx or run through lutris or steam which both run
perisisten daemons.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng