VulkanMod

VulkanMod

357k Downloads

Crash on launch on macOS using PolyMC

douira opened this issue · 9 comments

commented

I followed the posted instructions on installing for macOS (Monterey). It crashes with the following error on launch:

[00:44:29] [main/INFO]: Loading Minecraft 1.18.2 with Fabric Loader 0.14.7
[00:44:29] [main/INFO]: Fabric is preparing JARs on first launch, this may take a few seconds...
[00:44:29] [main/INFO]: Loading 24 mods:
	- fabricloader 0.14.7
	- java 17
	- minecraft 1.18.2
	- org_joml_joml 1.10.4 via vulkanmod
	- org_lwjgl_lwjgl 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-glfw 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-glfw_natives-linux 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-glfw_natives-windows 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-openal 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-openal_natives-linux 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-openal_natives-windows 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-shaderc 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-shaderc_natives-linux 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-shaderc_natives-windows 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-stb 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-stb_natives-linux 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-stb_natives-windows 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-vma 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-vma_natives-linux 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-vma_natives-windows 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl-vulkan 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl_natives-linux 3.3.1 via vulkanmod
	- org_lwjgl_lwjgl_natives-windows 3.3.1 via vulkanmod
	- vulkanmod 0.1.4+4
[00:44:29] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/Users/douira/Library/Application%20Support/PolyMC/libraries/net/fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/sponge-mixin-0.11.4+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[00:44:30] [main/INFO]: Compatibility level set to JAVA_16
[00:44:30] [main/WARN]: Configuration conflict: there is more than one oshi.properties file on the classpath
[00:44:30] [main/WARN]: Configuration conflict: there is more than one oshi.architecture.properties file on the classpath
[00:44:35] [Render thread/INFO]: [STDERR]: [LWJGL] Platform/architecture mismatch detected for module: org.lwjgl
[00:44:35] [Render thread/INFO]: [STDERR]: 	JVM platform:
[00:44:35] [Render thread/INFO]: [STDERR]: [LWJGL] Failed to load a library. Possible solutions:
	a) Add the directory that contains the shared library to -Djava.library.path or -Dorg.lwjgl.librarypath.
	b) Add the JAR that contains the shared library to the classpath.
[00:44:35] [Render thread/INFO]: [STDERR]: [LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
[00:44:35] [Render thread/INFO]: [STDERR]: [LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics.
[00:44:35] [Render thread/WARN]: Configuration conflict: there is more than one oshi.architecture.properties file on the classpath
		macOS x86_64 17.0.1
		Java HotSpot(TM) 64-Bit Server VM v17.0.1+12-LTS-39 by Oracle Corporation
	Platforms available on classpath:
		linux/x64
		windows/x64
[00:44:36] [Render thread/ERROR]: Minecraft has crashed!
net.fabricmc.loader.impl.FormattedException: java.lang.NoClassDefFoundError: Could not initialize class com.mojang.blaze3d.systems.RenderSystem
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:463) ~[fabric-loader-0.14.7.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.7.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.14.7.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) [NewLaunch.jar:?]
	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) [NewLaunch.jar:?]
	at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?]
	at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.mojang.blaze3d.systems.RenderSystem
	at net.minecraft.class_6396.method_37123(class_6396.java:65) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_37274(class_310.java:2394) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_22681(class_310.java:2389) ~[client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:206) ~[minecraft-1.18.2-client.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.7.jar:?]
	... 10 more
Process exited with code 1.

I can help with further testing if required! Fabric loader 13.3 didn't fix this.

commented

Since Collateral is busy and he could not release new build after new commits you can try this build which I built from the latest commit

If you get crashed at the first launch, you will need to locate the lib, you need to download this and put it in /var/folders/lk/b29qxkf10lg8s6616s_2831c0000gn/T/lwjgl[username]/3.3.1-SNAPSHOT
I hope it will work for you, I tested on my Hackintosh system and it run well.

Remember to use latest Fabric Loader and Minecraft 1.18.2

commented

Additional Note: In the var/folders/ it will have different folders but it will be a folder that contains 2 character like tr,... You need to find where the lwjgl[username] locate in var/folders since it create different on each system.

commented

There is no such folder called lwjgl[username]

commented

graalvm ee gives the similar log output then crashes. ce works fine though.
Oracle does not provide arm64 build of ee that's the reason.
image
image

commented

I tried your fix, was working until it got to loading textures and is in an infinite fail and reload loop. Lastest build just fails.

commented

With MacOS specific versions it shouldn't happen anymore.

commented

With MacOS specific versions

What do you mean by macOS specific versions? Where can I find these?

commented
commented