Page 1 of 1

Error on start

Posted: 07 Jan 2023, 17:25
by an potato
help me i cant join theotown
Show
Error text (crash.txt)
Windows 10, v: 0 (Desktop)
1.10.93p (11093), p:true

java.lang.IllegalStateException: java.lang.RuntimeException: OpenGL error in texture.setup:teximg2d: 0x505 (1285) in Texture 4096x4096, depth:32, units:1, intformat:6408, formattype:5121

java.lang.IllegalStateException: java.lang.RuntimeException: OpenGL error in texture.setup:teximg2d: 0x505 (1285) in Texture 4096x4096, depth:32, units:1, intformat:6408, formattype:5121
at info.flowersoft.theotown.stages.LoadingStage.loadTexture(LoadingStage.java:1551)
at info.flowersoft.theotown.stages.LoadingStage.access$2100(LoadingStage.java:106)
at info.flowersoft.theotown.stages.LoadingStage$18.run(LoadingStage.java:293)
at info.flowersoft.theotown.stages.LoadingStage$33.call(LoadingStage.java:1669)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: OpenGL error in texture.setup:teximg2d: 0x505 (1285) in Texture 4096x4096, depth:32, units:1, intformat:6408, formattype:5121
at io.blueflower.stapel2d.drawing.GLUtil.checkError(GLUtil.java:24)
at io.blueflower.stapel2d.drawing.Texture.setUp(Texture.java:112)
at io.blueflower.stapel2d.drawing.Engine.loadTexture(Engine.java:833)
at info.flowersoft.theotown.stages.LoadingStage$29.run(LoadingStage.java:1509)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at info.flowersoft.theotown.stages.LoadingStage.update(LoadingStage.java:1693)
at io.blueflower.stapel2d.gamestack.GameStack.update(GameStack.java:154)
at info.flowersoft.theotown.MyGdxGame.render(MyGdxGame.java:160)
at info.flowersoft.theotown.desktop.DesktopLauncher$2.render(DesktopLauncher.java:132)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:387)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:192)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:166)
at info.flowersoft.theotown.desktop.DesktopLauncher.main(DesktopLauncher.java:108)
pls help

Re: Error on start

Posted: 07 Jan 2023, 18:04
by CommanderABab

Re: Error on start

Posted: 07 Jan 2023, 18:18
by an potato
it worked 3 launches before

Re: Error on start

Posted: 07 Jan 2023, 20:39
by Wekabu city
Apparently OpenGL error code 0x505 is an out-of-memory type thing. Installing a 64 bit release of Java would significantly help there.

For further explanation: 32 bit releases of Java can only use about 2 GiB of memory until you cap out - for 64 bit Java that number is significantly higher.
That being said given that it comes from OpenGL and not Java chances are that you have an issue with your GPU - but testing whether the GPU is the cause is significantly harder than testing out your Java

Re: Error on start

Posted: 08 Jan 2023, 13:31
by an potato
ooh this is why my minecraft crashed so much times