mojira.dev
MC-26748

No sound in usb headset on Linux

Minecraft sound does not work with my usb headset. I tried forcing it to use the headset through Pulseaudio Volume Control, but it won't let me.

Earlier I was able to fix this by using specific version of LWJGL (2.7 I think), but the new launcher uses 2.9 by default and I don't know how to downgrade.

Comments

migrated

Duplicate of MC-25528. It sounds like an LWJGL issue, which Minecraft cannot control.

migrated

Is there at least a way to use another version of lwjgl?

kumasasa

Sure:

  • Copy [minecraft|http://hopper.minecraft.net/help/finding-minecraft-data-folder]/versions/1.6.2 to minecraft/versions/1.6.2-patched

  • Copy other LWJGL to minecraft/libraries/org/lwjgl/lwjgl/ and/or minecraft/libraries/com/paulscode/

  • Edit minecraft/versions/1.6.2-patched/1.6.2-patched.json to point at the changed libraries

  • Start launcher

  • Create a new profile, select the new version

migrated

Thank you for your response, but I have an issue.

I don't know where to get lwjgl-platform-2.7.1-natives jar. I tried copying 2.9.0 and replacing the libraries inside
with the ones from lwjgl-2.7.1 download, but in that case I get the error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/azat/.minecraft/versions/1.6.2-patched/1.6.2-patched-natives-12763220458973/liblwjgl.so: /home/azat/.minecraft/versions/1.6.2-patched/1.6.2-patched-natives-12763220458973/liblwjgl.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)

I run the 64 bit system btw.

kumasasa

ELFCLASS32

Of course you have to provide the .so files for 64bit linux.

Check out 2.7.1 from https://github.com/LWJGL/lwjgl and compile the natives.

migrated

It turned out that the link error was somehow related to my java installation, fixed it by replacing it with openjdk.
The solution works with the 2.8.0 version of lwjgl, thank you.

migrated

(Unassigned)

Unconfirmed

linux, lwjgl, sound

Minecraft 1.6.2

Retrieved