mumble-voip / mumble

Mumble is an open-source, low-latency, high quality voice chat software.
https://www.mumble.info
Other
6.4k stars 1.12k forks source link

Pipewire device selection isn't actually a device #5810

Open ProjectPatatoe opened 2 years ago

ProjectPatatoe commented 2 years ago

Description

Mumble Pipewire output/input is not giving option to select device and instead shows the channels (Mono/Stereo). It seems to be automatically selecting the first device on the recording list.

Steps to reproduce

  1. Select Pipewire in Input->System
  2. Select Pipewire in Output->System

Mumble version

1.4.230

Mumble component

Client

OS

Linux

Reproducible?

Yes

Additional information

This is on Steam Deck. SteamOS (Arch,kde)

I don't have pipewire on any other system so I don't know if this a SteamOS thing or a Pipewire thing

Relevant log output

No response

Screenshots

Screenshot_20220818_203942

Screenshot_20220818_205510

Screenshot_20220818_205536

davidebeatrici commented 2 years ago

This is specific to our implementation, I'll add a proper device selector.

Cool to see Mumble running on a Steam Deck!

ProjectPatatoe commented 2 years ago

I realized I forgot to mention, switching to Pulseaudio is a workaround for anyone else looking to get this working without messing around with tricking the device order and the such.

sethidden commented 1 year ago

I am facing this as well on mumble-git ("1.6.0") on commit b60c9dd6e3215f82a3986cf886689fbf404efba6

Click here to open log of launching `mumble` from terminal and switching from pulseaudio (works) to pipewire (doesn't) ``` rt@hp400 /home/rt $ mumble 2023-07-15 23:05:07.238 Loading settings from "/home/rt/.config/Mumble/Mumble/mumble_settings.json" 2023-07-15 23:05:10.025 PulseAudio 16.1.0 from libpulse.so ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline 2023-07-15 23:05:10.101 PortAudio V19.7.0-devel, revision unknown from libportaudio.so 2023-07-15 23:05:10.101 PipeWire 0.3.74 from libpipewire-0.3.so 2023-07-15 23:05:10.101 JACK 3.0.0.0 (using PipeWire 0.3.74) from libjack.so 2023-07-15 23:05:10.107 Theme: "Mumble" 2023-07-15 23:05:10.107 Style: "Dark" 2023-07-15 23:05:10.107 --> qss: ":themes/Default/Dark.qss" 2023-07-15 23:05:10.107 Locale is "en_US" (System: "en_US") 2023-07-15 23:05:10.123 Database SQLite: "3.42.0" 2023-07-15 23:05:10.136 Updating application palette 2023-07-15 23:05:10.144 GlobalShortcutX: Using XI2 2.4 2023-07-15 23:05:10.153 QMetaObject::connectSlotsByName: No matching signal for on_qtvUsers_customContextMenuRequested(QPoint,bool) 2023-07-15 23:05:10.165 Wayland does not support QWindow::requestActivate() 2023-07-15 23:05:10.168 SocketRPC: Removing old socket on "/run/user/1000/MumbleSocket" 2023-07-15 23:05:10.169 AudioInput: Opus encoder set for low delay 2023-07-15 23:05:10.169 AudioInput: 192000 bits/s, 48000 hz, 480 sample 2023-07-15 23:05:10.169 PulseAudio: Starting input alsa_input.usb-BEHRINGER_UMC204HD_192k-00.HiFi__umc204hd_mono_in_U192k_0_0__source 2023-07-15 23:05:10.170 AudioOutput: Initialized 2 channel 48000 hz mixer 2023-07-15 23:05:10.172 Public list disabled 2023-07-15 23:05:10.190 AudioInput: Initialized mixer for 1 channel 48000 hz mic and 0 channel 48000 hz echo 2023-07-15 23:05:10.190 AudioInput: Noise canceller disabled warning: The VAD has been replaced by a hack pending a complete rewrite 2023-07-15 23:05:10.221 Zeroconf: Third-party browser API reports error -65537 2023-07-15 23:05:13.064 Database SQLite: "3.42.0" 2023-07-15 23:05:13.064 OpenSSL Support: 1 (OpenSSL 3.1.1 30 May 2023) 2023-07-15 23:05:13.110 ServerHandler: TLS cipher preference is "TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:AES256-SHA:AES128-SHA" 2023-07-15 23:05:14.512 OverlayConfig failed to grab screenshot, falling back. 2023-07-15 23:05:21.039 AudioInput: Opus encoder set for low delay 2023-07-15 23:05:21.039 AudioInput: 192000 bits/s, 48000 hz, 480 sample 2023-07-15 23:05:21.042 AudioInput: Initialized mixer for 1 channel 48000 hz mic and 0 channel 48000 hz echo 2023-07-15 23:05:21.043 AudioOutput: Initialized 2 channel 48000 hz mixer 2023-07-15 23:05:21.044 PulseAudio: Stopping input 2023-07-15 23:05:21.077 AudioInput: Noise canceller disabled warning: The VAD has been replaced by a hack pending a complete rewrite 2023-07-15 23:05:23.894 AudioInput: Opus encoder set for low delay 2023-07-15 23:05:23.894 AudioInput: 192000 bits/s, 48000 hz, 480 sample 2023-07-15 23:05:23.896 AudioInput: Initialized mixer for 1 channel 48000 hz mic and 0 channel 48000 hz echo 2023-07-15 23:05:23.897 AudioOutput: Initialized 2 channel 48000 hz mixer 2023-07-15 23:05:23.905 Wayland does not support QWindow::requestActivate() 2023-07-15 23:05:23.927 AudioInput: Noise canceller disabled warning: The VAD has been replaced by a hack pending a complete rewrite ```
rt@hp400 /etc/pipewire $ pipewire --version
pipewire
Compiled with libpipewire 0.3.74
Linked with libpipewire 0.3.74
rt@hp400 /etc/pipewire $ uname -r
6.4.3-arch1-1
davidebeatrici commented 1 year ago

The functionality is implemented in libcrossaudio, which will be used in Mumble to replace our current audio backend implementations.