GDLauncher icon indicating copy to clipboard operation
GDLauncher copied to clipboard

No sound on wireless headphones with pipewire

Open Pentasis opened this issue 1 year ago • 3 comments

  • [X] I searched the issue tracker for other issues covering my case
  • [X] This is a Launcher issue. (Usually if you can reproduce it with a fresh instance)

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:

  • OS: Manjaro
  • Launcher Version: 1.1.30
  • Java Version: 17
  • Minecraft Version: 1.20.1
  • Mod Loader: n/a

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

Pentasis avatar Oct 07 '23 13:10 Pentasis

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.

Eskaan avatar Oct 20 '23 12:10 Eskaan

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.)

Pentasis avatar Oct 23 '23 11:10 Pentasis

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).

Eskaan avatar Oct 24 '23 09:10 Eskaan