This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-16
Channels
- # announcements (33)
- # atom-editor (1)
- # aws (21)
- # babashka (174)
- # babashka-sci-dev (2)
- # beginners (59)
- # calva (4)
- # chlorine-clover (9)
- # clj-kondo (51)
- # clojars (7)
- # clojure (86)
- # clojure-czech (4)
- # clojure-europe (21)
- # clojure-france (6)
- # clojure-nl (1)
- # clojure-uk (2)
- # conjure (7)
- # core-async (3)
- # core-logic (3)
- # cursive (10)
- # data-science (8)
- # datalevin (14)
- # datomic (12)
- # events (1)
- # fulcro (5)
- # graalvm (10)
- # gratitude (3)
- # honeysql (3)
- # hyperfiddle (3)
- # introduce-yourself (4)
- # joyride (3)
- # leiningen (3)
- # malli (13)
- # minecraft (15)
- # music (1)
- # off-topic (40)
- # pathom (16)
- # polylith (28)
- # portal (25)
- # rdf (15)
- # remote-jobs (3)
- # shadow-cljs (23)
- # specter (1)
- # sql (5)
- # tools-deps (25)
- # xtdb (31)
hello, when I run start-client, it shows the crash error. ---- Minecraft Crash Report ---- // Quite honestly, I wouldn’t worry myself about that. Time: 2022/6/16 下午5:46 Description: Initializing game java.lang.ExceptionInInitializerError at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1842) at dsr.<init>(SourceFile:92) at erh.a(SourceFile:21) at dyr.<init>(SourceFile:476) at net.minecraft.client.main.Main.main(SourceFile:197) Caused by: java.lang.IllegalStateException: GLFW windows may only be created on the main thread and that thread must be the first thread in the process. Please run the JVM with -XstartOnFirstThread. For offscreen rendering, make sure another window toolkit (e.g. AWT or JavaFX) is initialized before GLFW. at org.lwjgl.glfw.EventLoop$OffScreen.<clinit>(EventLoop.java:39) ... 5 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1842) at dsr.<init>(SourceFile:92) at erh.a(SourceFile:21) at dyr.<init>(SourceFile:476) -- Initialization -- Details: Modules: Stacktrace: at net.minecraft.client.main.Main.main(SourceFile:197) -- System Details -- Details: Minecraft Version: 1.18.2 Minecraft Version ID: 1.18.2 Operating System: Mac OS X (x86_64) version 10.13.6 Java Version: 17.0.2, Oracle Corporation Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Oracle Corporation Memory: 375498752 bytes (358 MiB) / 767557632 bytes (732 MiB) up to 1073741824 bytes (1024 MiB) CPUs: 4 Processor Vendor: GenuineIntel Processor Name: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz Identifier: Intel64 Family 6 Model 61 Stepping 4 Microarchitecture: Broadwell (Client) Frequency (GHz): 2.70 Number of physical packages: 1 Number of physical CPUs: 2 Number of logical CPUs: 4 Graphics card #0 name: Intel Iris Graphics 6100 Graphics card #0 vendor: Intel Graphics card #0 VRAM (MB): 1536.00 Graphics card #0 deviceId: 0x162b Graphics card #0 versionInfo: Revision ID: 0x0009 Memory slot #0 capacity (MB): 4096.00 Memory slot #0 clockSpeed (GHz): 1.87 Memory slot #0 type: DDR3 Memory slot #1 capacity (MB): 4096.00 Memory slot #1 clockSpeed (GHz): 1.87 Memory slot #1 type: DDR3 Virtual memory max (MB): 10240.00 Virtual memory used (MB): 6698.41 Swap memory total (MB): 2048.00 Swap memory used (MB): 1114.25 JVM Flags: 2 total; -Xms256M -Xmx1G Launched Version: 1.18.2 Backend library: LWJGL version 3.2.1 build 12 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 Type: Client (map_client.txt) anyone can help? thx.
Following the tips, i add -XstartOnFirstThread to deps.edn. It still doesn’t work.
actually yeah not sure how @pez did it... I think maybe this will work?
JAVA_CMD="java -XstartOnFirstThread" bin/start_client
Tried. Still doesn’t work.🤕
I added this after JAVA_CMD
was established:
JAVA_CMD="${JAVA_CMD} -XstartOnFirstThread -Dorg.lwjgl.util.DebugLoader=true"
So probably very similar to the results with your suggestion: @plexus. You still get the same error, @zhoumin79?In any case, I suggest you do your laptop and the climate a service and use the latest official client launcher with support for 1.19 with M1 native support. The client runs 10X faster and consumes less than 20% of the energy that way (in my limited testing).
yes, still get the same error. My cpu is based intel core I5. Thanks. I will try 1.19.
Ah, I just assumed M1 was the root cause, my bad. But official client should work anyway. You might need to update MC_VERSION
in the server start script. And have this in server/deps.edn
deps:
com.github.cryptomorin/XSeries {:mvn/version "8.8.0"}
(Not sure if needed, because @plexus might have updated things.)I'm smitten. Even if the rest of the world is not all about Minecraft I sort of map everything else there. 😃
