haubna / PhysicsMod

Physics Mod for Minecraft
99 stars 10 forks source link

Failed loading native PhysX libraries for platform LINUX [BUG] #994

Open Ethan7678 opened 1 week ago

Ethan7678 commented 1 week ago

When I go to boot it boots for to the load screen for 15s then closes out.

Load QuestCraft (Quest3) with Physics Mod installed.

Minecraft Version: <1.20.4> Physics Mod Version: <3.0.14>

Error Log below.

Ethan7678 commented 1 week ago

`Time: 2024-10-21 17:52:34 Description: Initializing game

java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'physicsmod' at 'net.diebuddies.physics.ModExecutorClient'! at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403) at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401) at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:53) at net.minecraft.class_310.(class_310.java:487) at net.minecraft.client.main.Main.main(Main.java:223) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) Caused by: java.lang.ExceptionInInitializerError at net.diebuddies.physics.StarterClient.onInitializeClient(StarterClient.java:224) at net.diebuddies.physics.ModExecutorClient.onInitializeClient(ModExecutorClient.java:9) at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:399) ... 6 more Caused by: java.lang.IllegalStateException: Failed loading native PhysX libraries for platform LINUX at de.fabmax.physxjni.Loader.load(Loader.java:39) at physx.NativeObject.(NativeObject.java:7) ... 9 more Caused by: java.lang.UnsatisfiedLinkError: /data/data/com.qcxr.qcxr/cache/de.fabmax.physx-jni/2.2.2/libPhysXJniBindings_64.so: dlopen failed: "/data/data/com.qcxr.qcxr/cache/de.fabmax.physx-jni/2.2.2/libPhysXJniBindings_64.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183) (Possible cause: can't load AMD 64 .so on a AARCH64 platform) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(Unknown Source) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source) at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source) at java.base/java.lang.Runtime.load0(Unknown Source) at java.base/java.lang.System.load(Unknown Source) at de.fabmax.physxjni.NativeLib.load(NativeLib.java:49) at de.fabmax.physxjni.Loader.load(Loader.java:36) ... 10 more

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Thread: Render thread Stacktrace: at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403) at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401) at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:53) at net.minecraft.class_310.(class_310.java:487)

-- Initialization -- Details: Modules: Stacktrace: at net.minecraft.client.main.Main.main(Main.java:223) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- System Details -- Details: Minecraft Version: 1.20.4 Minecraft Version ID: 1.20.4 Operating System: Linux (aarch64) version Android-12 Java Version: 21.0.3-internal, N/A Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 643825664 bytes (614 MiB) / 1887436800 bytes (1800 MiB) up to 1887436800 bytes (1800 MiB) CPUs: 4 Processor Vendor: null Processor Name: Identifier: 0x41 Family 8 Model 0xd4b Stepping r0p2 Microarchitecture: ERR Frequency (GHz): -0.00 Number of physical packages: 2 Number of physical CPUs: 6 Number of logical CPUs: 6 Graphics card #0 name: unknown Graphics card #0 vendor: unknown Graphics card #0 VRAM (MB): 0.00 Graphics card #0 deviceId: unknown Graphics card #0 versionInfo: unknown Virtual memory max (MB): 8487.14 Virtual memory used (MB): 6102.57 Swap memory total (MB): 4607.99 Swap memory used (MB): 524.75 JVM Flags: 4 total; -Xms1800M -Xmx1800M -XX:+UseZGC -XX:+ZGenerational Fabric Mods: basicweapons: Basic Weapons 1.2.0 cloth-config: Cloth Config v13 13.0.121 cloth-basic-math: cloth-basic-math 0.6.1 entityculling: EntityCulling 1.6.5 fabric-api: Fabric API 0.97.1+1.20.4 fabric-api-base: Fabric API Base 0.4.37+78d798af4f fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.50+82b1bb3e4f fabric-biome-api-v1: Fabric Biome API (v1) 13.0.17+78d798af4f fabric-block-api-v1: Fabric Block API (v1) 1.0.17+3e2216cb4f fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.5+78d798af4f fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.47+78d798af4f fabric-client-tags-api-v1: Fabric Client Tags 1.1.8+78d798af4f fabric-command-api-v1: Fabric Command API (v1) 1.2.42+f71b366f4f fabric-command-api-v2: Fabric Command API (v2) 2.2.21+78d798af4f fabric-commands-v0: Fabric Commands (v0) 0.2.59+df3654b34f fabric-containers-v0: Fabric Containers (v0) 0.1.87+df3654b34f fabric-content-registries-v0: Fabric Content Registries (v0) 5.0.16+78d798af4f fabric-convention-tags-v1: Fabric Convention Tags 1.5.11+78d798af4f fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.24+78d798af4f fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.1.5+b90db5744f fabric-data-generation-api-v1: Fabric Data Generation API (v1) 13.2.5+5c0133444f fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.63+6605d1a84f fabric-entity-events-v1: Fabric Entity Events (v1) 1.6.2+09fc25014f fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.7.2+389931eb4f fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.75+df3654b34f fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.47+78d798af4f fabric-item-api-v1: Fabric Item API (v1) 2.3.0+bcdd12964f fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.27+ee30b13a4f fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.42+78d798af4f fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.40+df3654b34f fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.3.1+a67ffb5d4f fabric-loot-api-v2: Fabric Loot API (v2) 2.1.10+78d798af4f fabric-message-api-v1: Fabric Message API (v1) 6.0.6+78d798af4f fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.66+78d798af4f fabric-model-loading-api-v1: Fabric Model Loading API (v1) 1.0.9+78d798af4f fabric-models-v0: Fabric Models (v0) 0.4.8+9386d8a74f fabric-networking-api-v1: Fabric Networking API (v1) 3.1.8+2e5ac5484f fabric-object-builder-api-v1: Fabric Object Builder API (v1) 13.1.0+dba1195c4f fabric-particles-v1: Fabric Particles (v1) 1.1.8+78d798af4f fabric-recipe-api-v1: Fabric Recipe API (v1) 2.0.21+78d798af4f fabric-registry-sync-v0: Fabric Registry Sync (v0) 4.0.20+ee30b13a4f fabric-renderer-api-v1: Fabric Renderer API (v1) 3.2.5+78d798af4f fabric-renderer-indigo: Fabric Renderer - Indigo 1.5.6+d331d3144f fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.54+df3654b34f fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.43+73761d2e4f fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.2+e761c6694f fabric-rendering-v0: Fabric Rendering (v0) 1.1.57+df3654b34f fabric-rendering-v1: Fabric Rendering (v1) 3.2.1+6fd945a04f fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.15+78d798af4f fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.21+ee30b13a4f fabric-screen-api-v1: Fabric Screen API (v1) 2.0.18+78d798af4f fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.56+78d798af4f fabric-sound-api-v1: Fabric Sound API (v1) 1.0.18+78d798af4f fabric-transfer-api-v1: Fabric Transfer API (v1) 4.0.12+90f2d7b14f fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 5.0.15+78d798af4f fabric-language-kotlin: Fabric Language Kotlin 1.10.16+kotlin.1.9.21 org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.9.21 org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.9.21 org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.9.21 org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.9.21 org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.23.1 org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.7.3 org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.7.3 org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.4.1 org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.6.2 org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.6.2 org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.6.2 fabricloader: Fabric Loader 0.16.5 mixinextras: MixinExtras 0.4.1 ferritecore: FerriteCore 6.0.3 glitchcore: GlitchCore 1.0.0.58 immediatelyfast: ImmediatelyFast 1.2.8+1.20.4 net_lenni0451_reflect: Reflect 1.3.1 iris: Iris 1.7.2+mc1.20.4 io_github_douira_glsl-transformer: glsl-transformer 2.0.1 org_anarres_jcpp: jcpp 1.4.14 org_antlr_antlr4-runtime: antlr4-runtime 4.13.1 java: OpenJDK 64-Bit Server VM 21 jei: Just Enough Items 17.3.1.4 krypton: Krypton 0.2.6 com_velocitypowered_velocity-native: velocity-native 3.2.0-SNAPSHOT lithium: Lithium 0.12.1 malilib: MaLiLib 0.18.3 mcwbridges: Macaw's Bridges 3.0.0 mcwfurnitures: Macaw's Furniture 3.3.0 minecraft: Minecraft 1.20.4 modernfix: ModernFix 5.10.0+mc1.20.3 moremobvariants: More Mob Variants 1.3.1 mvs: Moog's Voyager Structures 4.1.4-1.20-fabric noisium: Noisium 2.0.3+mc1.20.2-1.20.4 owo: oωo 0.12.6+1.20.3 blue_endless_jankson: jankson 1.2.2 physicsmod: Physics Mod 3.0.14 sereneseasons: SereneSeasons 9.3.0.25 com_electronwill_night-config_core: core 3.6.7 com_electronwill_night-config_toml: toml 3.6.7 net_jodah_typetools: typetools 0.6.3 servercore: ServerCore 1.5.0+1.20.4 fabric-permissions-api-v0: fabric-permissions-api 0.3-SNAPSHOT org_yaml_snakeyaml: snakeyaml 2.2 placeholder-api: Placeholder API 2.3.0+1.20.3 space_arim_dazzleconf_dazzleconf-core: dazzleconf-core 1.3.0-M2 space_arim_dazzleconf_dazzleconf-ext-snakeyaml: dazzleconf-ext-snakeyaml 1.3.0-M2 sodium: Sodium 0.5.8+mc1.20.4 toughasnails: ToughAsNails 9.2.0.170 trinkets: Trinkets 3.8.1 cardinal-components-base: Cardinal Components API (base) 5.4.0 cardinal-components-entity: Cardinal Components API (entities) 5.4.0 tweakeroo: Tweakeroo 0.19.2 vivecraft: Vivecraft 1.20.4-1.1.8 org_lwjgl_lwjgl-openvr: lwjgl-openvr 3.3.2 voicechat: Simple Voice Chat 1.20.4-2.5.12 vulpine: Vulpine 1.0.1 wwoo: William Wythers' Overhauled Overworld 2.3.1 Launched Version: 1.20.4 Backend library: LWJGL version 3.3.1 SNAPSHOT Backend API: Unknown Window size: GL Caps: Using framebuffer using OpenGL 3.2 GL debug messages: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fabric' Universe: 404 Type: Client (map_client.txt) Locale: en CPU: `

Ethan7678 commented 1 week ago

I thought I would try this with the Quest being a port of Linux, I am aware that different builds have different needs etc.

haubna commented 1 week ago

There is no support for the ARM architecture currently, sorry!

Ethan7678 commented 1 week ago

Thanks for responding quickly and that's understandable not every device ETC can be supported. Again thank you for your swift response.