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

Mac M1/2/...∞ Woes, Natives Incompatibilities #5

Open
sylv256 opened this issue Sep 29, 2024 · 29 comments
Open

Mac M1/2/...∞ Woes, Natives Incompatibilities #5

sylv256 opened this issue Sep 29, 2024 · 29 comments

Comments

@sylv256
Copy link

sylv256 commented Sep 29, 2024

the L in LWJGL stands for always Losing

[23:29:54] [Minecraft main thread/ERROR] (FabricLoader) Uncaught exception in thread "Minecraft main thread"
java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path: /Users/sylv/Library/Application Support/PrismLauncher/instances/babric-b1.7.3/natives
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2434) ~[?:?]
	at java.lang.Runtime.loadLibrary0(Runtime.java:818) ~[?:?]
	at java.lang.System.loadLibrary(System.java:1989) ~[?:?]
	at org.lwjgl.Sys$1.run(Sys.java:72) ~[lwjgl-2.9.4-babric.1.jar:?]
	at java.security.AccessController.doPrivileged(AccessController.java:318) ~[?:?]
	at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.4-babric.1.jar:?]
	at org.lwjgl.Sys.loadLibrary(Sys.java:96) ~[lwjgl-2.9.4-babric.1.jar:?]
	at org.lwjgl.Sys.<clinit>(Sys.java:117) ~[lwjgl-2.9.4-babric.1.jar:?]
	at org.lwjgl.opengl.Display.<clinit>(Display.java:135) ~[lwjgl-2.9.4-babric.1.jar:?]
	at net.minecraft.client.Minecraft.method_2106(Minecraft.java:244) ~[client-intermediary.jar:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:716) ~[client-intermediary.jar:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]

Status

The issue has been fixed and is awaiting a merge upstream.

@sylv256
Copy link
Author

sylv256 commented Sep 29, 2024

When reverting to regular LWJGL, the G and B channels are swapped resulting in a weird-looking game.

@thecatcore
Copy link

Use this instance instead: https://github.com/telvarost/prism-instance.

@calmilamsy
Copy link

That instance does not ship with proper M1 natives. I'll sort out a proper instance when I get on (~3-4hrs, bump if I haven't done anything by then)

@thecatcore
Copy link

Also install this mod: https://modrinth.com/mod/gambac

@thecatcore
Copy link

That instance does not ship with proper M1 natives. I'll sort out a proper instance when I get on (~3-4hrs, bump if I haven't done anything by then)

I remember seeing an instance shipping LF LWJGL but I can't find it anymore.

@calmilamsy
Copy link

I started work on one, then got sidetracked, lmao

@DanyGames2014
Copy link

DanyGames2014 commented Sep 29, 2024

That instance does not ship with proper M1 natives. I'll sort out a proper instance when I get on (~3-4hrs, bump if I haven't done anything by then)

I remember seeing an instance shipping LF LWJGL but I can't find it anymore.

Babric Enriched ships with LF LWJGL, maybe thats what you reacall ?

@thecatcore
Copy link

Oh yeah probably.

@sylv256
Copy link
Author

sylv256 commented Sep 29, 2024

Also install this mod: https://modrinth.com/mod/gambac

I suggest shipping the M1 version with this mod pre-installed.

@DanyGames2014
Copy link

Also install this mod: https://modrinth.com/mod/gambac

I suggest shipping the M1 version with this mod pre-installed.

Please no :( Im already blamed for 80% of Babric crash logs

@calmilamsy
Copy link

calmilamsy commented Sep 29, 2024

https://github.com/Glass-Series/babric-prism-instance/releases

Note: You'll still need gambac to solve the G and B channel switching.

@sylv256
Copy link
Author

sylv256 commented Sep 30, 2024

The Glass Series prism instance with Gambac crashes https://mclo.gs/ic3GT18

@sylv256
Copy link
Author

sylv256 commented Sep 30, 2024

telvarost's prism instance with Gambac also crashes https://mclo.gs/7XNTfEc

@sylv256
Copy link
Author

sylv256 commented Sep 30, 2024

It seems to delete the natives folder lol.

@sylv256
Copy link
Author

sylv256 commented Sep 30, 2024

This is what I get when I use the Glass Series instance without Gambac: https://mclo.gs/YrqNb9D
This is telvarost's instance without Gambac: https://mclo.gs/qsVERRj

@calmilamsy
Copy link

calmilamsy commented Sep 30, 2024

Try the newest version now. If it doesn't work, I'll dig out the crapbook and take a closer look when I'm next around.

@sylv256
Copy link
Author

sylv256 commented Sep 30, 2024

It's giving the same exact error with no natives folder in sight https://mclo.gs/XOmEZqm

@sylv256 sylv256 changed the title macOS left to die alone. pls support? Mac M1/2/...∞ Woes Sep 30, 2024
@sylv256 sylv256 changed the title Mac M1/2/...∞ Woes Mac M1/2/...∞ Woes, Natives Incompatibilities Sep 30, 2024
@calmilamsy
Copy link

The natives folder is a temporary folder.

@calmilamsy
Copy link

Sigh. Give me a moment.

@calmilamsy
Copy link

Okay yeah, just hit edit instance, and changle the lwjgl version to be the normal prism one. For some reason macos natives are just not downloading in the first place, and it's not showing me any logs, which is fucking helpful.

@sylv256
Copy link
Author

sylv256 commented Sep 30, 2024

what if it's called arm64 rather than aarch64
that's the naming convention of the newer LWJGL 3 stuff

@sylv256
Copy link
Author

sylv256 commented Sep 30, 2024

The normal LWJGL (2.9.4-nightly-whateveridk) works well with Gambac. Unfortunately, SmoothBeta doesn't work because of some silly macOS-specific GLSL syntax nightmare, so that sucks.
One big issue however: the audio does not work at all. https://mclo.gs/eS9vUed

@sylv256
Copy link
Author

sylv256 commented Sep 30, 2024

Narrowing it down, it appears it's one of the mods in my list. I'll go bug the offending mods' issue tracker. In the meantime, I'll keep this issue open since this still affects an unmodified prism instance.

@calmilamsy
Copy link

You have an error related to not having GCAPI2 installed. Install that and see if the audio issues continue, cause I have audio on the crapbook.

@sylv256
Copy link
Author

sylv256 commented Sep 30, 2024

Using Glass Config API 2 with MojangFix Station API, there is still no audio. https://mclo.gs/eooMt3N

@calmilamsy
Copy link

I know what's wrong with the instance, I'll get on it when I get on tomorrow, gotta sleep now though.

@sylv256
Copy link
Author

sylv256 commented Sep 30, 2024

After a bit of gaming, the audio came back. 😕

@calmilamsy
Copy link

Alright, fully fixed on the latest glass-series release of the instance.

After a bit of gaming, the audio came back. 😕

Makes sense, minecraft was probably still loading all sounds.

@sylv256
Copy link
Author

sylv256 commented Oct 1, 2024

Should we make a PR with the fix?

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

4 participants