Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game refuses to launch with Fabric API installed 1.20.2 on Linux #3333

Closed
WindClan opened this issue Sep 23, 2023 · 14 comments
Closed

Game refuses to launch with Fabric API installed 1.20.2 on Linux #3333

WindClan opened this issue Sep 23, 2023 · 14 comments

Comments

@WindClan
Copy link

Ive tried with no mods, vanilla, mods that dont need vulkan API, and just Fabric API. Anytime fabric api is installed the game refuses to boot and just crashes with the same error every time, no matter what other mods are installed.

Log with just Fabric API:
https://mclo.gs/2O3xK4t

@intact
Copy link

intact commented Sep 23, 2023

Do you have realtime-privileges package installed?

@WindClan
Copy link
Author

realtime-privileges

No but retesting with the package installed results in the same thing so I'd say its unrelated

@WindClan
Copy link
Author

Minecraft ALSOFT Failed to set real-time priority for thread: Operation not permitted

Issue occurs only with Fabric API while this warning appears on vanilla too
Log without fabric API enabled: https://mclo.gs/MSIEnJ5

@apple502j
Copy link
Contributor

@throughthefog The Fabric API Big Jar is actually a bundle of multiple jar files for each module (see META-INF/jars). Could you remove the big jar, extract those jars from the file and put all of them except fabric-sound-api-v1-VERSION.jar, on the mods folder and try to load it?

@apple502j apple502j added the bug Something isn't working label Sep 24, 2023
@WindClan
Copy link
Author

@throughthefog The Fabric API Big Jar is actually a bundle of multiple jar files for each module (see META-INF/jars). Could you remove the big jar, extract those jars from the file and put all of them except fabric-sound-api-v1-VERSION.jar, on the mods folder and try to load it?

Removing fabric-sound-api-v1-0.89.2.jar seemed to fix the issue

Log without sound API: https://mclo.gs/7L4m6HM
Log with sound API: https://mclo.gs/YsWcuzX

@modmuss50
Copy link
Member

What OS and version are you running? I could maybe try in a VM to reproduce it, I have a feeling I'm going unsuccessfull. I have no clue how the sound-api could cause a native crash, its a really simple module. 🤔

@WindClan
Copy link
Author

What OS and version are you running? I could maybe try in a VM to reproduce it, I have a feeling I'm going unsuccessfull. I have no clue how the sound-api could cause a native crash, its a really simple module. 🤔

Im running Arch Linux and using pipewire for audio (with pipewire-pulse, pipewire-jack, etc.)
if it matters im using KDE plasma and using jre17-openjdk-17.0.8.1.u1-1 java package

@Shnupbups
Copy link
Contributor

Could you maybe share the hs_err_pid4885.log file? The log you posted says that error report has more information, it should just be in the .minecraft folder of your instance.

@WindClan
Copy link
Author

WindClan commented Sep 24, 2023

Could you maybe share the hs_err_pid4885.log file? The log you posted says that error report has more information, it should just be in the .minecraft folder of your instance.

hs_err_pid4885.log

(ignore the instance name, i upgraded it to 1.20.2 and forgot to change the name)

@modmuss50
Copy link
Member

Im a little lost on this issue, I fail to see how the sound-api could cause this. On its own with no other mod using it it makes no affective changes. Clearly you have logs with it working without the sound api though...

If anyone has any ideas do let me know.

@modmuss50
Copy link
Member

Just wondering if this might be a launcher problem, maybe using the worng natives? Could you try and see if this also happens when you use the offical Minecraft launcher?

@WindClan
Copy link
Author

Alright I don't know what caused it but remaking the instance fixed it? Even downgrading LWJGL which I noticed was a newer version didnt recreate the bug

@modmuss50
Copy link
Member

It seemed to be using a snapshot build of the natives, I found this /tmp/lwjgluser/3.3.1-SNAPSHOT/libopenal.so in the hs_err file. I cannot see any way this could be caused by fabric's api.

@apple502j apple502j closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2023
@apple502j apple502j removed the bug Something isn't working label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants