KISS-multiplayer
KISS-multiplayer copied to clipboard
[Linux] Unable to join any server
I'm unable to join any server with the bridge launched even after reinstalling KissMP, the bridge spits out this error instead.
thread 'Result::unwrap() on an Err value: BackendSpecific { err: BackendSpecificError { description: "ALSA function 'snd_pcm_hw_params_set_buffer_size' failed with error 'EINVAL: Invalid argument'" } }', kissmp-bridge/src/voice_chat.rs:165:18
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread 'tokio-runtime-worker' panicked at 'build_output_stream failed with all supported formats: BackendSpecific { err: BackendSpecificError { description: "ALSA function 'snd_pcm_start' failed with error 'EBADFD: File descriptor in bad state'" } }', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rodio-0.13.1/src/stream.rs:208:22
Try to update your pulseaudio and alsa. Error doesn't make much sense. I'll look onto it if it doesn't help
Try to update your pulseaudio and alsa. Error doesn't make much sense. I'll look onto it if it doesn't help
They were already at the latest versions iirc, and even after updating to 0.4.5 along with updating my system this issue still occurs.
Same error, installed today and cannot host or join a server.
I believe it's caused by the sound input device requirement. ALSA flips devices around at each boot, sometimes in a way breaks KissMP. Just keep rebooting your PC until it starts working.
I suppose a more solid workaround might be to manually configure ALSA to always be KissMP friendly somehow, but IDK how and I'm too lazy to figure it out right now.
Or, does anyone know how to tell KissMP to ignore ALSA and only use Pulseaudio? Better yet, remove the sound input device requirement. Please answer me this; why is it even a requirement?
I believe it's caused by the sound input device requirement. ALSA flips devices around at each boot, sometimes in a way breaks KissMP. Just keep rebooting your PC until it starts working.
I suppose a more solid workaround might be to manually configure ALSA to always be KissMP friendly somehow, but IDK how and I'm too lazy to figure it out right now.
Or, does anyone know how to tell KissMP to ignore ALSA and only use Pulseaudio? Better yet, remove the sound input device requirement. Please answer me this; why is it even a requirement?
Because of the voice chat portion of the mod?