Audio problem while playing Minecraft and voicechatting Discord

Hi there, I found a problem with the audio device while playing Minecraft and voicechatting in Discord at the same time. It looks like when I'm playing Minecraft and I open discord to enter a voice channel, there is no sound and i can't hear anything. Also the microphone doesn't work too. However, if you already are at discord on a voice chat, and you start Minecraft, there is no sound in the game too. The changelog on the game shows me this error "ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
[Render thread/ERROR]: Error starting SoundSystem. Turning off sounds & music
java.lang.IllegalStateException: Failed to open OpenAL device"

Is there any solution to this problem?? Thank You!!

Welcome to the Forum!

You could try PulseAudio Volume Control. this is a Tool to set up audio Output and Input. You can install it with the Terminal Command sudo apt install pavucontrol

When installed, open it and set it up and then test if it works.

Hi there, thanks for your answer. So I did install and run pavucontrol, I tried changing some values, but nothing worked, I still have the same issue as before.

First, please make sure that you select the proper input device and output device in your sound profiles.

Also make sure your mic volume is turned up and not muted.


Please also note if the speaker icon is highlighted, that means your sound is muted.

Don't forget, Discord has its own mute buttons for mic and volume as well.


1 Like

Okay. How is Minecraft installed/running? Steam, Wine, Proton? And when You use discord: Is it in the Browser or with the Package from the Software Store? If from the Software Store: Is it the Flatpak?

Hi StarTreker, I already have all profiles configured correctly and on the test button in audio settings I can hear front-left and front-right buttons, also the microphone works too. But the issue remains there.

Hi Ponce-De-Leon, So, for Minecraft i use a launcher called "Crystal Launcher", it's installed by terminal with the command "wget -O - https://launcher.crystal-launcher.net/linux/install.sh | bash" and I run the launcher by executing "sudo /root/Crystal-Launcher/pybootstrap/run" on the terminal (this line is provided by the installation prompt). Speaking of discord, it is installed by platpak on the software store. Thank You.

For discord, I would suggest to try it with the .deb Version from Discord. When you are on the Discord Website, You see the download button. Choose the deb File:

Because of this ''Crystal Launcher'': It this directly from Minecraft or a third-party Software.

1 Like

I don't see why a minecraft launcher would need root permissions (judging by the word "sudo" in there, which makes the command run with root permissions...). Well, I mean yes, it's saved on the root directory so it would need root permissions to run, but that's also a weird directory to save itself to... that's like if it saved itself on the system32 folder on windows...

Are you sure that's the official website for the launcher, and also that the launcher itself is safe?
The main page of that website doesn't give me a lot of confidence...

I would suggest using the official launcher from the official website instead:
https://www.minecraft.net/en-us/download
Scroll down to the "other versions & platforms section and select "DEBIAN + DEBIAN BASED". If your concern is being able to play multiple versions and with mods, don't worry, running any version you want (including snapshots/betas) is officially supported, and modded versions of the game could also be easily integrated into the official launcher fine last time I tried.

2 Likes

I agree 100% with the other's. You should be using the official launcher app, or just use Steam to play games as I do. Using unknown 3rd party launchers, is how you get spied upon, hacked, or computer filled with virus's.

I also agree about installing the official Discord APP from software store, or using the web version.

I also agree that, 99% of the time, you never need to launch an app with root privileges. Unlike Windows which leaves itself open to attack all the time, Linux naturally sandboxes itself, by not requiring root privileges for most tasks. (Thats called being smart!)


Hi Ponce-De-Leon, I tried reinstalling discord wth the .deb version, but same issue. About the launcher, it's a third-party software used for premium and no-premium accounts. The web page of the launcher is "https://crystal-launcher.net". I normally use this launcher because my little brother also uses the same PC as I do, and he doesn't have a premium account (for security reasons and because he's a child xD), but I do have a premium account. Also i used this launcher because each versions you install are stored in a different folder, making it better organized. Thank you.

BTW: I tried to use the official launcher and seems to work just perfectly with discord without any errors, so it might be a Crystal Launcher problem. Unfortunately as Crystal Launcher is a third-party launcher, it does not give support from anyone but the devs. So because of that, I'm gonna close this topic. Thank you for your support.

Does it work for Your little Brother with the non-premium Accout or is it just not working for You? When it works for him, You could let the official Launcher installed and the Crystal Thing and then You use the official one and Your little Brother the Crystal one.

It doesn't work for either of us because we use the same launcher for both premium and non-premium accounts. And I think the problem is with the launcher itself, as the official one works perfectly. But the other one has the audio issue.

Well, then it looks for me that there is a Problem with this Crystal Launcher like You already wrote. Maybe You should contact the Developers. Hopefully they can help.