MantisBT - Zandronum
View Issue Details
0004222Zandronum[All Projects] Bugpublic2024-04-10 00:272025-03-25 02:22
RushJet1 
Kaminsky 
normalminoralways
resolvedfixed 
LinuxUbuntu10.04 x86-64
3.1 
3.23.2 
0004222: Voice chat- Microphone input does not work in Linux client
I only get crackling when I use push to talk or test my microphone. Most inputs do not work at all, but the ones that do only produce crackling. Even the "null" input produces crackling.
Try to use a microphone in the Linux build (3.2-alpha-r240405-2229)
No tags attached.
child of 0001888needs testing Kaminsky Voice Chat 
Issue History
2024-04-10 00:27RushJet1New Issue
2024-04-10 01:10Ru5tK1ngRelationship addedchild of 0001888
2024-04-16 17:47Ru5tK1ngNote Added: 0023617
2024-04-16 17:47Ru5tK1ngStatusnew => confirmed
2024-10-31 01:34RushJet1Note Added: 0024113
2024-11-06 04:31RushJet1Note Added: 0024120
2025-01-31 03:00vvvvvvNote Added: 0024210
2025-01-31 03:01vvvvvvNote Edited: 0024210bug_revision_view_page.php?bugnote_id=24210#r14458
2025-01-31 03:02vvvvvvNote Edited: 0024210bug_revision_view_page.php?bugnote_id=24210#r14459
2025-01-31 03:11vvvvvvNote Edited: 0024210bug_revision_view_page.php?bugnote_id=24210#r14460
2025-03-11 16:36KaminskyNote Added: 0024242
2025-03-11 16:36KaminskyAssigned To => Kaminsky
2025-03-11 16:36KaminskyStatusconfirmed => needs review
2025-03-11 16:36KaminskyTarget Version => 3.2
2025-03-11 16:36KaminskyNote Added: 0024243
2025-03-11 16:37KaminskyNote Edited: 0024243bug_revision_view_page.php?bugnote_id=24243#r14474
2025-03-16 19:38KaminskyNote Added: 0024253
2025-03-16 19:38KaminskyStatusneeds review => needs testing
2025-03-25 02:04CombinebobntNote Added: 0024318
2025-03-25 02:22Ru5tK1ngNote Added: 0024320
2025-03-25 02:22Ru5tK1ngStatusneeds testing => resolved
2025-03-25 02:22Ru5tK1ngResolutionopen => fixed
2025-03-25 02:22Ru5tK1ngFixed in Version => 3.2

Notes
(0023617)
Ru5tK1ng   
2024-04-16 17:47   
Still an issue with r240414:'https://www.youtube.com/watch?v=1-CcjumLfSI [^]'
(0024113)
RushJet1   
2024-10-31 01:34   
*still* an issue in r241027-2139
(0024120)
RushJet1   
2024-11-06 04:31   
In r241030-1744 testing any kind of voice just freezes the game
(0024210)
vvvvvv   
2025-01-31 03:00   
(edited on: 2025-01-31 03:11)
3.2-alpha-r241030-1744
0c2b243f9d02

I've had the same issues using pipewire-alsa but pipewire-pulse seems to work fine. For reference this is the fmodex package i'm using (dependencies listed on nix expression are lib-alsa and libpulseaudio)
'https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/games/doom-ports/zandronum/fmod.nix#L58 [^]'
And this is the zandronum bin nix expression i hacked together for my overlay (based on zandronum from nixpkgs)
'https://pastebin.com/kcCKBkbH [^]'

Video:
'https://files.catbox.moe/x9jlbu.mkv [^]'

(0024242)
Kaminsky   
2025-03-11 16:36   
It seems that retrieving any input devices, or recording audio, doesn't work so well when raw ALSA is used, but PulseAudio works fine. The best compromise I could think of was prevent the user from recording/transmitting audio while using ALSA:'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/271 [^]'

Considering that PulseAudio is more widely used than raw ALSA these days, thus shouldn't be too bad.
(0024243)
Kaminsky   
2025-03-11 16:36   
(edited on: 2025-03-11 16:37)
It seems that retrieving any input devices, or recording audio, doesn't work so well when raw ALSA is used, but PulseAudio works fine. The best compromise I could think of was prevent the user from recording/transmitting audio while using ALSA:'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/271 [^]'

Considering that PulseAudio is more widely used than raw ALSA these days, this shouldn't be too bad.

(0024253)
Kaminsky   
2025-03-16 19:38   
'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/0bad4c6557d22afc6f4506cb4c1d205ad23d090c [^]'
(0024318)
Combinebobnt   
2025-03-25 02:04   
Transmitting voice works for me on v3.2-alpha-250323-2124 when I select PulseAudio mode. I'm using PipeWire 0.3.65
(0024320)
Ru5tK1ng   
2025-03-25 02:22   
Closing based off the above ^

Reopen if necessary.