Open UlyssesZh opened 2 weeks ago
That's weird. I'm not able to reproduce this issue with the same configuration you've mentioned:
3.4.36.4
1.20.6
As an initial debug attempt, could you run steam-run atlauncher
and see if that fixes your issue? If it does, then there's some missing library and I can try to find what that is.
Yes, it runs fine with steam-run.
Great, at least we have a temporary solution until I can fix this issue.
Thanks for reporting this! I'll get to it as soon as I can.
@UlyssesZh, I suspect that the latest upstream version may fix this issue. Could you please confirm this by trying out that version?
Not fixed. Neither 3.4.36.6 nor 3.4.36.8 fixes the issue. I also tried 3.4.36.9, but it's not good either. Launching with steam-run
is still fine.
All right, so it's definitely something missing in the Nix expression. Will look into it.
Describe the bug
Using AtLauncher to launch Minecraft 1.20.6 crashes immediately:
log
``` [13/06/2024 11:48:21 AM] Checking for updated files! [13/06/2024 11:48:24 AM] Preparing for launch! [13/06/2024 11:48:24 AM] Launching pack Minecraft 1.20.6 (Vanilla) for Minecraft 1.20.6 [13/06/2024 11:48:24 AM] Logging into Minecraft! [13/06/2024 11:48:24 AM] Using Java runtime java-runtime-delta (Java 21.0.3) at path **USERSDIR**/runtimes/minecraft/java-runtime-delta/linux/java-runtime-delta [13/06/2024 11:48:24 AM] Launching Minecraft with the following arguments (user related stuff has been removed): [gamemoderun, USERSDIR/runtimes/minecraft/java-runtime-delta/linux/java-runtime-delta/bin/java, -Xmx4096M, -XX:MetaspaceSize=256M, -Duser.language=en, -Duser.country=US, -Dfml.log.level=INFO, -Dlog4j.configurationFile=USERSDIR/assets/log_configs/client-1.12.xml, -XX:+UnlockExperimentalVMOptions, -XX:+UseG1GC, -XX:G1NewSizePercent=20, -XX:G1ReservePercent=20, -XX:MaxGCPauseMillis=50, -XX:G1HeapRegionSize=32M, -Xss1M, -Djava.library.path=USERSDIR/temp/natives-9dcf913e5af34906b98b9094cb60c779, -Djna.tmpdir=USERSDIR/temp/natives-9dcf913e5af34906b98b9094cb60c779, -Dorg.lwjgl.system.SharedLibraryExtractPath=USERSDIR/temp/natives-9dcf913e5af34906b98b9094cb60c779, -Dio.netty.native.workdir=USERSDIR/temp/natives-9dcf913e5af34906b98b9094cb60c779, -Dminecraft.launcher.brand=ATLauncher, -Dminecraft.launcher.version=3.4.36.4, -cp, USERSDIR/libraries/com/github/oshi/oshi-core/6.4.10/oshi-core-6.4.10.jar:USERSDIR/libraries/com/google/code/gson/gson/2.10.1/gson-2.10.1.jar:USERSDIR/libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:USERSDIR/libraries/com/google/guava/guava/32.1.2-jre/guava-32.1.2-jre.jar:USERSDIR/libraries/com/ibm/icu/icu4j/73.2/icu4j-73.2.jar:USERSDIR/libraries/com/mojang/authlib/6.0.54/authlib-6.0.54.jar:USERSDIR/libraries/com/mojang/blocklist/1.0.10/blocklist-1.0.10.jar:USERSDIR/libraries/com/mojang/brigadier/1.2.9/brigadier-1.2.9.jar:USERSDIR/libraries/com/mojang/datafixerupper/7.0.14/datafixerupper-7.0.14.jar:USERSDIR/libraries/com/mojang/logging/1.2.7/logging-1.2.7.jar:USERSDIR/libraries/com/mojang/patchy/2.2.10/patchy-2.2.10.jar:USERSDIR/libraries/com/mojang/text2speech/1.17.9/text2speech-1.17.9.jar:USERSDIR/libraries/commons-codec/commons-codec/1.16.0/commons-codec-1.16.0.jar:USERSDIR/libraries/commons-io/commons-io/2.15.1/commons-io-2.15.1.jar:USERSDIR/libraries/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:USERSDIR/libraries/io/netty/netty-buffer/4.1.97.Final/netty-buffer-4.1.97.Final.jar:USERSDIR/libraries/io/netty/netty-codec/4.1.97.Final/netty-codec-4.1.97.Final.jar:USERSDIR/libraries/io/netty/netty-common/4.1.97.Final/netty-common-4.1.97.Final.jar:USERSDIR/libraries/io/netty/netty-handler/4.1.97.Final/netty-handler-4.1.97.Final.jar:USERSDIR/libraries/io/netty/netty-resolver/4.1.97.Final/netty-resolver-4.1.97.Final.jar:USERSDIR/libraries/io/netty/netty-transport-classes-epoll/4.1.97.Final/netty-transport-classes-epoll-4.1.97.Final.jar:USERSDIR/libraries/io/netty/netty-transport-native-epoll/4.1.97.Final/netty-transport-native-epoll-4.1.97.Final-linux-aarch_64.jar:USERSDIR/libraries/io/netty/netty-transport-native-epoll/4.1.97.Final/netty-transport-native-epoll-4.1.97.Final-linux-x86_64.jar:USERSDIR/libraries/io/netty/netty-transport-native-unix-common/4.1.97.Final/netty-transport-native-unix-common-4.1.97.Final.jar:USERSDIR/libraries/io/netty/netty-transport/4.1.97.Final/netty-transport-4.1.97.Final.jar:USERSDIR/libraries/it/unimi/dsi/fastutil/8.5.12/fastutil-8.5.12.jar:USERSDIR/libraries/net/java/dev/jna/jna-platform/5.14.0/jna-platform-5.14.0.jar:USERSDIR/libraries/net/java/dev/jna/jna/5.14.0/jna-5.14.0.jar:USERSDIR/libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar:USERSDIR/libraries/org/apache/commons/commons-compress/1.26.0/commons-compress-1.26.0.jar:USERSDIR/libraries/org/apache/commons/commons-lang3/3.14.0/commons-lang3-3.14.0.jar:USERSDIR/libraries/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar:USERSDIR/libraries/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar:USERSDIR/libraries/org/apache/logging/log4j/log4j-api/2.22.1/log4j-api-2.22.1.jar:USERSDIR/libraries/org/apache/logging/log4j/log4j-core/2.22.1/log4j-core-2.22.1.jar:USERSDIR/libraries/org/apache/logging/log4j/log4j-slf4j2-impl/2.22.1/log4j-slf4j2-impl-2.22.1.jar:USERSDIR/libraries/org/jcraft/jorbis/0.0.17/jorbis-0.0.17.jar:USERSDIR/libraries/org/joml/joml/1.10.5/joml-1.10.5.jar:USERSDIR/libraries/org/lwjgl/lwjgl-freetype/3.3.3/lwjgl-freetype-3.3.3.jar:USERSDIR/libraries/org/lwjgl/lwjgl-freetype/3.3.3/lwjgl-freetype-3.3.3-natives-linux.jar:USERSDIR/libraries/org/lwjgl/lwjgl-glfw/3.3.3/lwjgl-glfw-3.3.3.jar:USERSDIR/libraries/org/lwjgl/lwjgl-glfw/3.3.3/lwjgl-glfw-3.3.3-natives-linux.jar:USERSDIR/libraries/org/lwjgl/lwjgl-jemalloc/3.3.3/lwjgl-jemalloc-3.3.3.jar:USERSDIR/libraries/org/lwjgl/lwjgl-jemalloc/3.3.3/lwjgl-jemalloc-3.3.3-natives-linux.jar:USERSDIR/libraries/org/lwjgl/lwjgl-openal/3.3.3/lwjgl-openal-3.3.3.jar:USERSDIR/libraries/org/lwjgl/lwjgl-openal/3.3.3/lwjgl-openal-3.3.3-natives-linux.jar:USERSDIR/libraries/org/lwjgl/lwjgl-opengl/3.3.3/lwjgl-opengl-3.3.3.jar:USERSDIR/libraries/org/lwjgl/lwjgl-opengl/3.3.3/lwjgl-opengl-3.3.3-natives-linux.jar:USERSDIR/libraries/org/lwjgl/lwjgl-stb/3.3.3/lwjgl-stb-3.3.3.jar:USERSDIR/libraries/org/lwjgl/lwjgl-stb/3.3.3/lwjgl-stb-3.3.3-natives-linux.jar:USERSDIR/libraries/org/lwjgl/lwjgl-tinyfd/3.3.3/lwjgl-tinyfd-3.3.3.jar:USERSDIR/libraries/org/lwjgl/lwjgl-tinyfd/3.3.3/lwjgl-tinyfd-3.3.3-natives-linux.jar:USERSDIR/libraries/org/lwjgl/lwjgl/3.3.3/lwjgl-3.3.3.jar:USERSDIR/libraries/org/lwjgl/lwjgl/3.3.3/lwjgl-3.3.3-natives-linux.jar:USERSDIR/libraries/org/lz4/lz4-java/1.8.0/lz4-java-1.8.0.jar:USERSDIR/libraries/org/slf4j/slf4j-api/2.0.9/slf4j-api-2.0.9.jar:USERSDIR/libraries/net/minecraft/client/1.20.6/client-1.20.6.jar, net.minecraft.client.main.Main, --username, REDACTED, --version, 1.20.6, --gameDir, USERSDIR/instances/Minecraft1206, --assetsDir, USERSDIR/assets, --assetIndex, 16, --uuid, REDACTED, --accessToken, REDACTED, --userType, msa, --versionType, release, --width=854, --height=480] [13/06/2024 11:48:27 AM] [Datafixer Bootstrap/INFO] 222 Datafixer optimizations took 173 milliseconds [13/06/2024 11:48:29 AM] [Render thread/INFO] Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD] [13/06/2024 11:48:29 AM] [Render thread/INFO] Setting user: **MINECRAFTUSERNAME** [13/06/2024 11:48:29 AM] [Render thread/INFO] Backend library: LWJGL version 3.3.3+5 [13/06/2024 11:48:29 AM] ---- Minecraft Crash Report ---- [13/06/2024 11:48:29 AM] // Don't be sad, have a hug! <3 [13/06/2024 11:48:29 AM] [13/06/2024 11:48:29 AM] Time: 2024-06-13 11:48:29 [13/06/2024 11:48:29 AM] Description: Initializing game [13/06/2024 11:48:29 AM] [13/06/2024 11:48:29 AM] java.lang.IllegalStateException: Failed to initialize GLFW, errors: GLFW error during init: [0x1000E]Failed to detect any supported platform [13/06/2024 11:48:29 AM] at com.mojang.blaze3d.platform.GLX._initGlfw(SourceFile:78) [13/06/2024 11:48:29 AM] at com.mojang.blaze3d.systems.RenderSystem.initBackendSystem(SourceFile:846) [13/06/2024 11:48:29 AM] at ffh.Steps To Reproduce
Steps to reproduce the behavior:
atlauncher
(from nixos-24.05 channel) by adding it to user packages in configuration.nix and then nixos-rebuild.Expected behavior
Launches the game as expected.
Screenshots
Additional context
Using proprietary NVIDIA driver on X11. OpenGL is enabled in configuration.nix.
Notify maintainers
@GetPsyched
Metadata
"x86_64-linux"
Linux 6.1.92, NixOS, 24.05 (Uakari), 24.05.1358.47b604b07d1e
yes
yes
nix-env (Nix) 2.18.2
"nixos-24.05, nixos-hardware, nixos-unstable"
/nix/var/nix/profiles/per-user/root/channels/nixos
Add a :+1: reaction to issues you find important.