Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-241298

Failed to get system info for GL Caps: Rendersystem called from wrong thread

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18 Pre-release 1, 1.20.4
    • None
    • Plausible
    • Debug
    • Low
    • Platform

      Whilst flying in spectator mode in my old world opened to LAN, the log warned "Failed to get system info for GL Caps: java.lang.IllegalStateException: Rendersystem called from wrong thread". I don't know if this is important or how to reproduce this.

      Log (abridged, 1.18 Pre-release 1)
      [11:12:40] [Server thread/INFO]: [ampolive: Set the time to 1000]
      [11:12:40] [Render thread/INFO]: [CHAT] Set the time to 1000
      [11:13:49] [Worker-Main-16/WARN]: Failed to get system info for GL Caps
      java.lang.IllegalStateException: Rendersystem called from wrong thread
      	at com.mojang.blaze3d.systems.RenderSystem.constructThreadException(SourceFile:177) ~[1.18-pre1.jar:?]
      	at com.mojang.blaze3d.systems.RenderSystem.assertOnRenderThread(SourceFile:166) ~[1.18-pre1.jar:?]
      	at com.mojang.blaze3d.systems.RenderSystem.getCapsString(SourceFile:828) ~[1.18-pre1.jar:?]
      	at ac.a(SourceFile:65) ~[1.18-pre1.jar:?]
      	at dxb.a(SourceFile:2429) ~[1.18-pre1.jar:?]
      	at dxb.c(SourceFile:2404) ~[1.18-pre1.jar:?]
      	at ern.a(SourceFile:140) ~[1.18-pre1.jar:?]
      	at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) [?:?]
      	at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837) [?:?]
      	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) [?:?]
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1769) [?:?]
      	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1756) [?:?]
      	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) [?:?]
      	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) [?:?]
      	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) [?:?]
      	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) [?:?]
      	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) [?:?]
      

            Unassigned Unassigned
            ampolive [Mod] ampolive
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: