-
Notifications
You must be signed in to change notification settings - Fork 100
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 crashes after a couple seconds when using Metal as the gaphics API #1053
Comments
Identified as build infra issue, the m1 binary had version v1.1.x instead of v0.17.x therefore the breaking change didn't revert for macOS / arm64 release v0.17.1 will now be recreated from the correct sources. |
What does this mean? What is the fix? How do I fix this problem? @ChristopherHX |
That I expect this to be resolved by installing https://github.com/minecraft-linux/macos-builder/releases/tag/v0.17.1-489 that should be presented as update I don't own a m series mac, my options for this platform are limited to zero testing |
Hi, thank you however that does not work either @ChristopherHX It crashes after 5 seconds. Here is the error code: 09:07:25 Info [Launcher] Version: client 4c5f4fd / manifest 4101034 09:07:28 Info [GL] Vendor: Google Inc. Process exited with unexpected exit code: 6 |
@sophtea666 You are hijacking an unrelated issue for your problem. This change was not meant to fix anything for x86_64 aka intel macs. This issue is about arm macs. |
Thank you @ChristopherHX. I’ll be able to test it once I get home. |
@ChristopherHX, I installed the update, and it still did the same thing. Here is the log: Process exited with unexpected exit code: 15 |
Did you terminate the process? Initial This is not a classic crash. No I can't debug your issue and you probably have not the knowledge to do that, the end of live of the macOS port is in less that 6 months next March 2025. Metal backend won't help you after March 2025, even if you use OpenGL the more trustworthy graphics backend you just have less bugs till then |
Describe the bug
Game crashes after a couple seconds when using Metal as the gaphics API
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The game not to crash/Freeze
Desktop (please complete the following information):
Additional context
Game Log:
15:33:06 Info [Launcher] Version: client 4c5f4fd / manifest 7bd2287
15:33:06 Info [Launcher] OS: macOS, Arch: arm6415:33:06 Info [Launcher] Reading Launcher Settings File: /Users/bakererickson/Library/Application Support/mcpelauncher/mcpelauncher-client-settings.txt
15:33:06 Info [Launcher] Applied Launcher Settings
15:33:06 Trace [Launcher] Loading android libraries
15:33:06 Trace [Launcher] linker loaded
15:33:06 Trace [REDIRECT] /data/data/com.mojang.minecraftpe to /Users/bakererickson/Library/Application Support/mcpelauncher/
15:33:06 Trace [REDIRECT] /data/data/Applications/Minecraft Bedrock Launcher.app/Contents/proc/17141/cmdline to /Users/bakererickson/Library/Application Support/mcpelauncher/
15:33:06 Trace [REDIRECT] /data/data/Applications/Minecraft Bedrock Launcher.app/Contents/MacOS/./mcpelauncher-client-arm64-v8a to /Users/bakererickson/Library/Application Support/mcpelauncher/
15:33:06 Trace [REDIRECT] /data/data to /Users/bakererickson/Library/Application Support/mcpelauncher/
15:33:06 Trace [REDIRECT] . to /Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/assets/
15:33:06 Trace [REDIRECT] /proc to /Users/bakererickson/Library/Application Support/mcpelauncher/proc/
15:33:06 Trace [REDIRECT] /sys to /Users/bakererickson/Library/Application Support/mcpelauncher/sys/
15:33:06 Trace [LinkerUtils] Loaded OS library libm.dylib
linker: mcpelauncher_linker_notifylldb /Applications/Minecraft Bedrock Launcher.app/Contents/Resources/mcpelauncher/lib/arm64-v8a/libc.so 0x109982000
linker: mcpelauncher_linker_notifylldb /Applications/Minecraft Bedrock Launcher.app/Contents/Resources/mcpelauncher/lib/arm64-v8a/liblog.so 0x109b02000
15:33:06 Trace [LinkerUtils] Loaded OS library libz.dylib
15:33:06 Trace [LinkerUtils] Loaded OS library /Applications/Minecraft Bedrock Launcher.app/Contents/Resources/mcpelauncher/lib/native/arm64-v8a/libfmod.dylib
15:33:06 Trace [Launcher] Loading Minecraft library
linker: Warning: "/Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libc++_shared.so" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
WARNING: linker: Warning: "/Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libc++_shared.so" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
linker: mcpelauncher_linker_notifylldb /Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libc++_shared.so 0x109b82000
15:33:06 Error [MinecraftUtils] Failed to load Minecraft: dlopen failed: cannot locate symbol "glBindRenderbuffer" referenced by "/Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libminecraftpe.so"...
15:33:06 Info [Launcher] Loading gamepad mappings
15:33:06 Trace [Launcher] Loading gamepad mappings: /Applications/Minecraft Bedrock Launcher.app/Contents/Resources/mcpelauncher/gamecontrollerdb.txt
15:33:06 Info [Launcher] Creating window
linker: Warning: "/Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libc++_shared.so" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
WARNING: linker: Warning: "/Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libc++_shared.so" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
linker: mcpelauncher_linker_notifylldb /Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libc++_shared.so 0x10ec82000
15:33:06 Error [MinecraftUtils] Failed to load Minecraft: dlopen failed: cannot locate symbol "_ZN4FMOD6System11getCPUUsageEP14FMOD_CPU_USAGE" referenced by "/Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libminecraftpe.so"...
linker: Warning: "/Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libc++_shared.so" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
WARNING: linker: Warning: "/Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libc++_shared.so" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
linker: mcpelauncher_linker_notifylldb /Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libc++_shared.so 0x10f802000
linker: mcpelauncher_linker_notifylldb /Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libfmod.so 0x10f983000
linker: mcpelauncher_linker_notifylldb /Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libminecraftpe.so 0x30e9c2000
Found hook: _ZN11AppPlatform16showMousePointerEv @ 0x104fdd4b0
Found hook: _ZN11AppPlatform16hideMousePointerEv @ 0x104fdd498
Found hook: _ZN11AppPlatform17setFullscreenModeE14FullscreenMode @ 0x104fdd4c8
Found hook: _ZN4FMOD6System4initEijPv @ 0x1050ef71c
Found hook: _ZN3rtc10getifaddrsEPP7ifaddrs @ 0x1051142d8
Found hook: _ZN3rtc11freeifaddrsEP7ifaddrs @ 0x105114598
15:33:06 Info [Launcher] Loaded Minecraft library
15:33:06 Debug [Launcher] Minecraft is at offset 0x30E9C2000
15:33:06 Info [Launcher] Game version: 0.0.0.0
15:33:06 Info [Launcher] Applying patches
15:33:06 Info [V8] Applying v8-flags --jitless
15:33:06 Debug [CorePatches] Failed to patch, vtable _ZTV21AppPlatform_android23 not found
15:33:06 Info [Launcher] Initializing JNI
linker: mcpelauncher_linker_notifylldb /Applications/Minecraft Bedrock Launcher.app/Contents/Resources/mcpelauncher/lib/arm64-v8a/libjnivmsupport.so 0x10fb43000
15:33:06 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeRegisterThis
15:33:06 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeInitializeWithApplicationContext
15:33:06 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeUnregisterThis
15:33:06 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeInitializeXboxLive
15:33:06 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeinitializeLibHttpClient
15:33:06 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeInitializeLibHttpClient
15:33:06 Error [JniSupport] Missing native symbol: Java_com_microsoft_xal_browser_WebView_urlOperationSucceeded
15:33:06 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_PlayIntegrity_nativePlayIntegrityComplete
15:33:06 Trace [Minecraft] Entering JNI_OnLoad 0x6b25f000
15:33:06 Trace [Minecraft] JNI_OnLoad completed
15:33:06 Trace [JniSupport] Invoking nativeRegisterThis
15:33:06 Trace [JniSupport] Invoking ANativeActivity_onCreate
15:33:06 Info [Launcher] Executing main thread
15:33:06 Warn [Main] Android stub called
15:33:06 Warn [Main] Android stub called
15:33:06 Warn [Main] Android stub called
15:33:06 Warn [Main] Android stub called
15:33:06 Info [Minecraft] android_main starting. internalDataPath is '/internal', externalDataPath is '/external'
15:33:06 Trace [JniSupport] Invoking start activity callbacks
15:33:06 Error [MCPE] *** setCachedDeviceId(c0e5fc10-91c5-4858-88b5-30d7810dbcaf)
15:33:06 Info [Bedrock] Breakpad config: directory is: /crash, sessionid is: 48a73db5-501a-4cad-961b-864d9dd8f74c
15:33:06 Info [Minecraft] NO LOG FILE! - AppPlatform_android::setStorageDirectory - using External dir (NEW) - CurrentFileStoragePath is now '/Users/bakererickson/Library/Application Support/mcpelauncher/'
15:33:06 Warn [Minecraft] NO LOG FILE! - [Graphics] The graphics context was gained
15:33:06 Warn [Minecraft] NO LOG FILE! - [Graphics] The graphics context was gained
15:33:06 Warn [Minecraft] MinecraftGame::init && MinecraftGame::setSize!
15:33:06 Warn [FakeEGL] eglQueryString 308d
15:33:06 Warn [Main] Android stub called
15:33:06 Info [GL] Vendor: Google Inc. (Apple)
15:33:06 Info [GL] Renderer: ANGLE (Apple, ANGLE Metal Renderer: Apple M2 Pro, Version 15.0.1 (Build 24A348))
15:33:06 Info [GL] Version: OpenGL ES 3.0.0 (ANGLE 2.1.22420 git hash: a3a43254afd1)
15:33:06 Info [GL] Vendor: Google Inc. (Apple)
15:33:06 Info [GL] Renderer: ANGLE (Apple, ANGLE Metal Renderer: Apple M2 Pro, Version 15.0.1 (Build 24A348))
15:33:06 Info [GL] Version: OpenGL ES 3.0.0 (ANGLE 2.1.22420 git hash: a3a43254afd1)
15:33:06 Warn [Main] Android stub called
15:33:06 Info [Minecraft] NO LOG FILE! - AppPlatform_android::setStorageDirectory - using AppData dir - CurrentFileStoragePath is now '/Users/bakererickson/Library/Application Support/mcpelauncher/'
linker: mcpelauncher_linker_notifylldb /Users/bakererickson/Library/Application Support/mcpelauncher/versions/1.21.41.01/lib/arm64-v8a/libMediaDecoders_Android.so 0x119f02000
15:33:06 Debug [HttpCallStaticGlue] Successfully registerered HttpCall methods
15:33:06 Debug [XboxLiveAppConfig] Successfully registerered XboxLiveAppConfig methods
15:33:06 Debug [XSAPI.Android] Successfully registerered HttpCall tcuiMethods
15:33:07 Info [Minecraft] NO LOG FILE! - AppPlatform_android::setStorageDirectory - using External dir (NEW) - CurrentFileStoragePath is now '/Users/bakererickson/Library/Application Support/mcpelauncher/'
15:33:07 Info [Minecraft] NO LOG FILE! - AppPlatform_android::setStorageDirectory - using AppData dir - CurrentFileStoragePath is now '/Users/bakererickson/Library/Application Support/mcpelauncher/'
Process exited with unexpected exit code: 9
The text was updated successfully, but these errors were encountered: