From 2d301ea0ea657b8a4104ce69ef0de3b5338cf92a Mon Sep 17 00:00:00 2001 From: SarthakSingh31 Date: Wed, 5 Jan 2022 23:28:30 +0000 Subject: [PATCH] Add instruction to enable ALSA api routing on Arch / Manjaro systems (#3455) # Objective Every few months a person using Arch asks for help with the following error on discord: ``` ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave ``` This error is caused by their sound server not being configured for ALSA. The fix is to install `pipewire-alsa` or `pulseaudio-alsa` depending on the sound server they use. Examples: - https://discord.com/channels/691052431525675048/749690364792668301/924380204237987861 - https://discord.com/channels/691052431525675048/742884593551802431/907392651689619486 - https://discord.com/channels/691052431525675048/742884593551802431/838062316360433664 ## Solution Add the instruction to install either `pipewire-alsa` or `pulseaudio-alsa` to [linux_dependencies.md](https://github.com/bevyengine/bevy/blob/main/docs/linux_dependencies.md#arch--manjaro) ## Extra Info A lot of people don't run into this issue because `pipewire-alsa` / `pulseaudio-alsa` is a dependency for gnome and cinnamon. @alice-i-cecile Sorry, had to recreate the pr. It doesn't let me reopen and change the branch of the original pr. --- docs/linux_dependencies.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/linux_dependencies.md b/docs/linux_dependencies.md index ea137a92e6..7ebc1e7ee1 100644 --- a/docs/linux_dependencies.md +++ b/docs/linux_dependencies.md @@ -55,6 +55,8 @@ sudo dnf install alsa-lib-devel.x86_64 sudo pacman -S libx11 pkgconf alsa-lib ``` +Install `pipewire-alsa` or `pulseaudio-alsa` depending on the sound server you are using. + ## Void ```bash