gorilla-devs / GDLauncher

GDLauncher is a simple, yet powerful Minecraft custom launcher with a strong focus on the user experience
https://gdevs.io
GNU General Public License v3.0
1.22k stars 246 forks source link

No sound on wireless headphones with pipewire #1592

Open Pentasis opened 1 year ago

Pentasis commented 1 year ago

Describe the bug Using wireless headphones on Linux with Pipewire, there is no sound (there is with other sound output like wired speakers)

Possible solutions I created a symbolic links between usr/lib/libopenal.so and gdlauncher_next/instances/<name>/natives/libopenal.so which solved the problem.

Operating System:

Additional context The problem does not occur (for me) using Pulseaudio

Eskaan commented 1 year ago

Do you use pulseaudio over alsa or pulseaudio? I think you can change the output device in the minecraft sound settings, could you look what it says there and, if possible, try using another sink? There should at least be the option between the default and the one device you are mentioning.

Pentasis commented 1 year ago

In Minecraft sound settings there are 2 devices listed I can choose from: "System Default" and "JACK Default". Neither works without the aforementioned workaround.

Pulseaudio works fine. It is pipewire that gave me problems. So to be clear: the problem only occurs using wireless earbuds with pipewire. everything else works fine (other speakers, other device etc.)

Eskaan commented 1 year ago

Sorry, I missread your original post there, So it seems the output of Minecraft is working.

Can you output other sound on your wireless device (spotify, mpc, etc)? I would also suggest to check that you check the minecraft sound output appears and is connected to your wireless headphones using a tool like helvum. Be aware that the output isn't named "minecraft" but has some other name of the library minecraft uses (I don't exactly remember it atm, just watch if something appears there when starting the game).