-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microphone recording no longer works under Linux #81950
Comments
Same problem in Manjaro Linux. After that time, the input is removed, and godot gets a spike in that input (I have an AudioStreamPlayer with a Microphone stream, that scales a visualization sprite) |
Same on Fedora 38 |
Same on Windows 10 |
I can't reproduce the issue on Mageia 9 with Pulseaudio 16.1. Mic recording works fine for me in 4.1 and 4.2-beta3. |
On my machine, Discord, Steam and my own application in Rust all pick up my microphone just fine. Only Godot (latest stable) doesn't and instead records silence. |
Confirmed here as well, Godot 4.2.1 Nixos, running pipewire. |
I ran some tests again (this time on 4.2.1). Seems to still persist. |
I'm experiencing this bug too. Godot seems to be having some issue with pulseaudio and can't read the microphone. v4.2.1.stable.mono.official [b09f793], Pop!_OS 22.04 LTS In the system logs i see something like this: |
It may be a pipewire-pulseaudio issue, I'm also having the same problem, v4.2.2.rc1.official [c7fb064]. Godot returns
for me. Also don't get mic playback if I unmute the Record bus. I also use pipewire with pulseaudio. I don't see any weird stuff in the journal, but on my end I also need to change the input in the pipewire patchbay cause it's the wrong one. Default is But even if I change the input I still get no recording. |
I had issues with getting microphone to work on a laptop with and nvidia graphics card and proprietary drivers, unless it was run with the nvidia gpu and not the integrated graphics. However it only works in the editor and not while running the game or exporting and running that. If everyone can try doing the same it may give a better idea of what the cause is. |
I had the same problem with Godot 4.2. |
godot4.3 In Android, after starting the recording and waiting for a period of time, such as 3 minutes, then stopping the recording, after multiple operations, recording becomes impossible. I have tried many times, and it seems the probability varies randomly with different devices. I can't find any pattern. Sometimes, when the recording is on, it will directly return -200 after a while. |
Godot version
4.1.stable
System information
Godot v4.1.1.stable (bd6af8e) - NixOS 23.11 (Tapir) - Vulkan (Compatibility) - Mesa Intel(R) Graphics (ADL GT2) - 12th Gen Intel(R) Core(TM) i5-1240P (16 Threads)
Issue description
There has been a regression between v4.0 and v4.1, and the microphone has stopped working under Linux.
This was reported under an older issue at: #33184 (comment)
I have conducted a git bisect on this issue and found that the regression is between two subsequent checkins in this list from around May 10.
https://github.com/godotengine/godot/commits/master?after=c80a2b4fe99dcd0bba6fc24ed2748b1474b24448+1&branch=master&qualified_name=refs%2Fheads%2Fmaster
In particular, this very large commit to do with scene multithreading.
98c655e
There's nothing suspicious or microphone/audio related in that checkin that I can see, but it's hard to break it down further to find out where it went wrong.
Steps to reproduce
Test using the demo projects audio/mic_record between the two versions.
https://github.com/godotengine/godot-demo-projects/tree/master/audio/mic_record
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: