x-minecraft-launcher
x-minecraft-launcher copied to clipboard
After update to 0.41.2 game started crashing on launch
Is there an existing issue for this?
- [X] I have searched the existing issues
Launcher Version
0.41.2
Operating System
Linux
Architecture
x64
Current Behavior
After updating launcher via xmcl-0.41.2-amd64.deb package on my Debian 12 system both 1.19.3 and 1.20.4 versions began crashing on launch, with or without forge or optifine.
Clean Minecraft 1.20.4 error:
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Clean Minecraft 1.20.4 crash log:
---- Minecraft Crash Report ----
// My bad.
Time: 2024-02-25 11:18:30
Description: Initializing game
java.lang.IllegalStateException: Failed to initialize GLFW, errors: GLFW error during init: [0x1000E]Failed to detect any supported platform
at com.mojang.blaze3d.platform.GLX._initGlfw(SourceFile:85)
at com.mojang.blaze3d.systems.RenderSystem.initBackendSystem(SourceFile:848)
at evi.<init>(SourceFile:512)
at net.minecraft.client.main.Main.main(SourceFile:223)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at com.mojang.blaze3d.platform.GLX._initGlfw(SourceFile:85)
at com.mojang.blaze3d.systems.RenderSystem.initBackendSystem(SourceFile:848)
at evi.<init>(SourceFile:512)
-- Initialization --
Details:
Modules:
Stacktrace:
at net.minecraft.client.main.Main.main(SourceFile:223)
-- System Details --
Details:
Minecraft Version: 1.20.4
Minecraft Version ID: 1.20.4
Operating System: Linux (amd64) version 6.5.5-1-liquorix-amd64
Java Version: 17.0.10, Debian
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Debian
Memory: 97446392 bytes (92 MiB) / 377487360 bytes (360 MiB) up to 8401190912 bytes (8012 MiB)
CPUs: 8
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
Identifier: Intel64 Family 6 Model 158 Stepping 9
Microarchitecture: Kaby Lake
Frequency (GHz): 4.20
Number of physical packages: 1
Number of physical CPUs: 4
Number of logical CPUs: 8
Graphics card #0 name: GP104 [GeForce GTX 1080]
Graphics card #0 vendor: NVIDIA Corporation (0x10de)
Graphics card #0 VRAM (MB): 288.00
Graphics card #0 deviceId: 0x1b80
Graphics card #0 versionInfo: unknown
Virtual memory max (MB): 51260.02
Virtual memory used (MB): 3939.77
Swap memory total (MB): 35237.18
Swap memory used (MB): 0.00
JVM Flags: 0 total;
Launched Version: 1.20.4
Launcher name: X Minecraft Launcher (0.41.2)
Backend library: LWJGL version 3.3.2+13
Backend API: Unknown
Window size: <not initialized>
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages: <disabled>
Using VBOs: Yes
Is Modded: Probably not. Client jar signature and brand is untouched
Universe: 404
Type: Client (map_client.txt)
Locale: en_US
CPU: <unknown>
Expected Behavior
After downgrading to 0.41.1 every game launches normally without errors and works perfectly well
Steps To Reproduce
No response
Anything else?
No response
@pspirichev Please try latest prebuild in https://xmcl.app/zh/prebuilds to see if this issue resolved. I don't have linux to test
@pspirichev Please try latest prebuild in https://xmcl.app/zh/prebuilds to see if this issue resolved. I don't have linux to test
After manually upgrading version to #746 from 0.41.1, the issue returned, and still the same
@pspirichev Please try 0.42. If that doesn't work, could you please join our discord server? I think I need to reserve a time to learn what's the situation. I might want to create custom build for you to try if it works.
@pspirichev Please try latest prebuild in https://xmcl.app/zh/prebuilds to see if this issue resolved. I don't have linux to test
After upgrading version to 0.42.0 from 0.41.1 via release package, the issue returned, and still the same
@pspirichev can you help me to take a look if the launcher create -natives
folder under your version folder?
For example, the version 1.20.4
should create the 1.20.4-natives
folder. If you find the folder, please tell me what files are placed inside.
Updates:
I build a special version for testing your issue. Please try if this build fix your issue https://github.com/Voxelum/x-minecraft-launcher/actions/runs/8198325454.
I found the root cause, and I will fix this in this week.
I found the root cause, and I will fix this in this week.
Works fine thanks!