sixthsurge / photon

A gameplay-focused shader pack for Minecraft
MIT License
1.08k stars 203 forks source link

Game crashing shortly after enabling photon #191

Open ponduzn opened 5 months ago

ponduzn commented 5 months ago

What happened?

When i enable photon shaders the game crashes shortly, typically within 5-30 minutes. If i use any other shaders, like bsl, it works fine. It might be compatibility issues with other mods or so, im not certain. Im also using Distant horizons mod with it.

It shows errors with sodium and iris as far as i understand, i tried asking in sodium discord, but they could not help. But since this only happens with photon, and not other shaders, it seems to me the issue lies with photon? Thanks for help!

crash-2024-06-23_15.19.36-client.txt latest.log

Minecraft Version

1.20.1

Which shader mod are you using?

Iris

Shader mod version

1.7.1+1.20.1

Shader settings

Default

And, happens with these settings also:
#Wed Jun 19 22:48:37 CEST 2024
CLOUDS_SCALE=9.0
AURORA_SNOW=AURORA_ALWAYS
TAAU=true
SSR_RAY_COUNT=3
SSR_ROUGHNESS_SUPPORT=false
AURORA_NORMAL=AURORA_RARELY
HARDCODED_SPECULAR=false
CLOUDS_TEMPORAL_UPSCALING=1

Relevant log output

After i activate photon shaders, this is what is posted in latest.log, which is included:

[15:18:03] [Render thread/INFO]: Using shaderpack: photon_v1.0a.zip
[15:18:03] [Render thread/INFO]: Creating pipeline for dimension minecraft:overworld
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Ignoring ConstDirective { INT voxelDistance = 32; } because it is of the wrong type, a type of float is expected.
[15:18:03] [Render thread/WARN]: Failed to resolve uniform biome_may_rain, reason: Unknown variable: PPT_RAIN ( = FunctionCall{smooth {[FunctionCall{if {[BinaryExpr{ {Id{biome_precipitation}} equals{2} {Id{PPT_RAIN}} }, Number{1.0}, Number{0.0}]} }, Number{30}, Number{30}]} })
java.lang.RuntimeException: Unknown variable: PPT_RAIN
    at kroppeb.stareval.resolver.ExpressionResolver.resolveExpressionInternal(ExpressionResolver.java:220) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpressionInternal(ExpressionResolver.java:81) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpression(ExpressionResolver.java:111) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveExpressionInternal(ExpressionResolver.java:191) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpressionInternal(ExpressionResolver.java:81) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpression(ExpressionResolver.java:111) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveExpressionInternal(ExpressionResolver.java:194) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpressionInternal(ExpressionResolver.java:81) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpression(ExpressionResolver.java:111) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveExpressionInternal(ExpressionResolver.java:194) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveExpression(ExpressionResolver.java:50) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.uniforms.custom.CustomUniforms.<init>(CustomUniforms.java:62) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.uniforms.custom.CustomUniforms$Builder.build(CustomUniforms.java:333) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.uniforms.custom.CustomUniforms$Builder.build(CustomUniforms.java:344) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.pipeline.IrisRenderingPipeline.<init>(IrisRenderingPipeline.java:264) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.Iris.createPipeline(Iris.java:578) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.pipeline.PipelineManager.preparePipeline(PipelineManager.java:33) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.Iris.reload(Iris.java:529) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.apiimpl.IrisApiV0ConfigImpl.setShadersEnabledAndApply(IrisApiV0ConfigImpl.java:28) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.gui.screen.ShaderPackScreen.applyChanges(ShaderPackScreen.java:574) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.gui.screen.ShaderPackScreen.lambda$init$3(ShaderPackScreen.java:233) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.minecraft.class_4185.method_25306(class_4185.java:94) ~[client-intermediary.jar:?]
    at net.minecraft.class_4264.method_25348(class_4264.java:56) ~[client-intermediary.jar:?]
    at net.minecraft.class_339.method_25402(class_339.java:189) ~[client-intermediary.jar:?]
    at net.minecraft.class_4069.method_25402(class_4069.java:38) ~[client-intermediary.jar:?]
    at net.irisshaders.iris.gui.screen.ShaderPackScreen.method_25402(ShaderPackScreen.java:187) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.minecraft.class_312.method_1611(class_312.java:98) ~[client-intermediary.jar:?]
    at net.minecraft.class_437.method_25412(class_437.java:409) ~[client-intermediary.jar:?]
    at net.minecraft.class_312.method_1601(class_312.java:98) ~[client-intermediary.jar:?]
    at net.minecraft.class_312.method_22686(class_312.java:169) ~[client-intermediary.jar:?]
    at net.minecraft.class_1255.execute(class_1255.java:102) ~[client-intermediary.jar:?]
    at net.minecraft.class_312.method_22684(class_312.java:169) ~[client-intermediary.jar:?]
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar:?]
    at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar:?]
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403) ~[lwjgl-glfw-3.3.1.jar:?]
    at com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:201) ~[client-intermediary.jar:?]
    at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:219) ~[client-intermediary.jar:?]
    at net.minecraft.class_1041.method_15998(class_1041.java:288) ~[client-intermediary.jar:?]
    at net.minecraft.class_310.method_1523(class_310.java:1241) ~[client-intermediary.jar:?]
    at net.minecraft.class_310.method_1514(class_310.java:802) ~[client-intermediary.jar:?]
    at net.minecraft.client.main.Main.main(Main.java:250) ~[1.20.1-0.15.11.jar:?]
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.11.jar:?]
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.11.jar:?]
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.11.jar:?]
[15:18:03] [Render thread/WARN]: Failed to resolve uniform biome_may_snow, reason: Unknown variable: PPT_SNOW ( = FunctionCall{smooth {[FunctionCall{if {[BinaryExpr{ {Id{biome_precipitation}} equals{2} {Id{PPT_SNOW}} }, Number{1.0}, Number{0.0}]} }, Number{30}, Number{30}]} })
java.lang.RuntimeException: Unknown variable: PPT_SNOW
    at kroppeb.stareval.resolver.ExpressionResolver.resolveExpressionInternal(ExpressionResolver.java:220) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpressionInternal(ExpressionResolver.java:81) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpression(ExpressionResolver.java:111) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveExpressionInternal(ExpressionResolver.java:191) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpressionInternal(ExpressionResolver.java:81) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpression(ExpressionResolver.java:111) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveExpressionInternal(ExpressionResolver.java:194) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpressionInternal(ExpressionResolver.java:81) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpression(ExpressionResolver.java:111) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveExpressionInternal(ExpressionResolver.java:194) ~[iris-1.7.1+mc1.20.1.jar:?]
    at kroppeb.stareval.resolver.ExpressionResolver.resolveExpression(ExpressionResolver.java:50) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.uniforms.custom.CustomUniforms.<init>(CustomUniforms.java:62) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.uniforms.custom.CustomUniforms$Builder.build(CustomUniforms.java:333) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.uniforms.custom.CustomUniforms$Builder.build(CustomUniforms.java:344) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.pipeline.IrisRenderingPipeline.<init>(IrisRenderingPipeline.java:264) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.Iris.createPipeline(Iris.java:578) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.pipeline.PipelineManager.preparePipeline(PipelineManager.java:33) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.Iris.reload(Iris.java:529) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.apiimpl.IrisApiV0ConfigImpl.setShadersEnabledAndApply(IrisApiV0ConfigImpl.java:28) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.gui.screen.ShaderPackScreen.applyChanges(ShaderPackScreen.java:574) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.irisshaders.iris.gui.screen.ShaderPackScreen.lambda$init$3(ShaderPackScreen.java:233) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.minecraft.class_4185.method_25306(class_4185.java:94) ~[client-intermediary.jar:?]
    at net.minecraft.class_4264.method_25348(class_4264.java:56) ~[client-intermediary.jar:?]
    at net.minecraft.class_339.method_25402(class_339.java:189) ~[client-intermediary.jar:?]
    at net.minecraft.class_4069.method_25402(class_4069.java:38) ~[client-intermediary.jar:?]
    at net.irisshaders.iris.gui.screen.ShaderPackScreen.method_25402(ShaderPackScreen.java:187) ~[iris-1.7.1+mc1.20.1.jar:?]
    at net.minecraft.class_312.method_1611(class_312.java:98) ~[client-intermediary.jar:?]
    at net.minecraft.class_437.method_25412(class_437.java:409) ~[client-intermediary.jar:?]
    at net.minecraft.class_312.method_1601(class_312.java:98) ~[client-intermediary.jar:?]
    at net.minecraft.class_312.method_22686(class_312.java:169) ~[client-intermediary.jar:?]
    at net.minecraft.class_1255.execute(class_1255.java:102) ~[client-intermediary.jar:?]
    at net.minecraft.class_312.method_22684(class_312.java:169) ~[client-intermediary.jar:?]
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar:?]
    at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar:?]
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403) ~[lwjgl-glfw-3.3.1.jar:?]
    at com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:201) ~[client-intermediary.jar:?]
    at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:219) ~[client-intermediary.jar:?]
    at net.minecraft.class_1041.method_15998(class_1041.java:288) ~[client-intermediary.jar:?]
    at net.minecraft.class_310.method_1523(class_310.java:1241) ~[client-intermediary.jar:?]
    at net.minecraft.class_310.method_1514(class_310.java:802) ~[client-intermediary.jar:?]
    at net.minecraft.client.main.Main.main(Main.java:250) ~[1.20.1-0.15.11.jar:?]
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.11.jar:?]
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.11.jar:?]
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.11.jar:?]
[15:18:04] [Render thread/WARN]: Type is VERTEX
[15:18:04] [Render thread/WARN]: Type is FRAGMENT
[15:18:04] [Render thread/WARN]: Type is VERTEX
[15:18:04] [Render thread/WARN]: Type is FRAGMENT
[15:18:04] [Render thread/INFO]: Stopping worker threads
[15:18:04] [Render thread/INFO]: Started 10 worker threads
[15:19:10] [Render thread/ERROR]: ########## GL ERROR ##########
[15:19:10] [Render thread/ERROR]: @ Render
[15:19:10] [Render thread/ERROR]: 65539: Invalid key -1
[15:19:11] [Render thread/ERROR]: ########## GL ERROR ##########
[15:19:11] [Render thread/ERROR]: @ Render
[15:19:11] [Render thread/ERROR]: 65539: Invalid key -1
[15:19:35] [Render thread/INFO]: [EMI] Disconnecting from server, EMI data cleared
[15:19:35] [Thread-84/INFO]: [EMI] Clearing data
[15:19:35] [Render thread/INFO]: Unloading client level [Wrapped{ClientLevel@overworld}]-[overworld].
[15:19:35] [Render thread/INFO]: Unloading level com.seibel.distanthorizons.core.level.DhClientLevel@545f2a21
[15:19:35] [Render thread/INFO]: Shutting down ClientRenderState
[15:19:35] [Render thread/INFO]: Shutting down LodRenderer...
[15:19:35] [Render thread/INFO]: Queuing Renderer Cleanup for main render thread
[15:19:35] [Render thread/INFO]: Finished shutting down LodRenderer
[15:19:35] [Render thread/INFO]: Shutting down LodQuadTree...
[15:19:35] [Render thread/INFO]: Finished shutting down LodQuadTree
[15:19:35] [Render thread/INFO]: Closing [RemoteFullDataSourceProvider] for level: [com.seibel.distanthorizons.core.level.DhClientLevel@545f2a21].
[15:19:35] [Render thread/INFO]: Closing [FullDataSourceProviderV1] for level: [com.seibel.distanthorizons.core.level.DhClientLevel@545f2a21].
[15:19:35] [Render thread/INFO]: Closing database connection: [jdbc:sqlite:C:\Users\Ponduzn\AppData\Roaming\com.modrinth.theseus\profiles\PonPack 5.0\Distant_Horizons_server_data\PonPack+Final\overworld/DistantHorizons.sqlite]
[15:19:35] [DH-Parent Update Queue [overworld] Thread[0]/INFO]: Update thread [DH-Parent Update Queue [overworld] Thread[0]] terminated.
[15:19:35] [Render thread/INFO]: Closed DhClientLevel for Wrapped{ClientLevel@overworld}
[15:19:35] [Render thread/INFO]: Client on ClientOnly mode disconnecting.
[15:19:35] [Render thread/INFO]: Closed DhWorld of type Client_Only
[15:19:36] [Render thread/INFO]: Stopping worker threads
[15:19:36] [Render thread/ERROR]: Reported exception thrown!
net.minecraft.class_148: Rendering Block Entity
    at net.minecraft.class_824.method_3554(class_824.java:111) ~[client-intermediary.jar:?]
    at net.minecraft.class_824.method_3555(class_824.java:79) ~[client-intermediary.jar:?]
    at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.renderBlockEntity(SodiumWorldRenderer.java:367) ~[sodium-fabric-0.5.10+mc1.20.1.jar:?]
    at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.redirect$dfk000$iris$addToList(SodiumWorldRenderer.java:583) ~[sodium-fabric-0.5.10+mc1.20.1.jar:?]
    at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.renderBlockEntities(SodiumWorldRenderer.java:306) ~[sodium-fabric-0.5.10+mc1.20.1.jar:?]
    at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.renderBlockEntities(SodiumWorldRenderer.java:269) ~[sodium-fabric-0.5.10+mc1.20.1.jar:?]
    at net.minecraft.class_761.handler$emb000$sodium$onRenderBlockEntities(class_761.java:17099) ~[client-intermediary.jar:?]
    at net.minecraft.class_761.method_22710(class_761.java:1372) ~[client-intermediary.jar:?]
    at net.minecraft.class_757.method_3188(class_757.java:1110) ~[client-intermediary.jar:?]
    at net.minecraft.class_757.method_3192(class_757.java:880) ~[client-intermediary.jar:?]
    at net.minecraft.class_310.method_1523(class_310.java:1219) ~[client-intermediary.jar:?]
    at net.minecraft.class_310.method_1514(class_310.java:802) ~[client-intermediary.jar:?]
    at net.minecraft.client.main.Main.main(Main.java:250) ~[1.20.1-0.15.11.jar:?]
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.11.jar:?]
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.11.jar:?]
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.11.jar:?]
Caused by: java.lang.OutOfMemoryError: Failed to resize buffer from 2146435072 bytes to -2146435072 bytes
    at net.minecraft.class_311.method_37465(class_311.java:21) ~[client-intermediary.jar:?]
    at net.minecraft.class_287.method_1335(class_287.java:64) ~[client-intermediary.jar:?]
    at net.minecraft.class_287.push(class_287.java:2641) ~[client-intermediary.jar:?]
    at me.jellysquid.mods.sodium.client.render.vertex.buffer.SodiumBufferBuilder.push(SodiumBufferBuilder.java:94) ~[sodium-fabric-0.5.10+mc1.20.1.jar:?]
    at net.minecraft.class_4723.push(class_4723.java:1056) ~[client-intermediary.jar:?]
    at me.jellysquid.mods.sodium.client.render.immediate.model.EntityRenderer.renderCuboids(EntityRenderer.java:124) ~[sodium-fabric-0.5.10+mc1.20.1.jar:?]
    at me.jellysquid.mods.sodium.client.render.immediate.model.EntityRenderer.render(EntityRenderer.java:101) ~[sodium-fabric-0.5.10+mc1.20.1.jar:?]
    at net.minecraft.class_630.handler$dej000$iris$onRender(class_630.java:600) ~[client-intermediary.jar:?]
    at net.minecraft.class_630.method_22699(class_630.java) ~[client-intermediary.jar:?]
    at net.minecraft.class_630.method_22698(class_630.java:109) ~[client-intermediary.jar:?]
    at net.minecraft.class_826.method_22749(class_826.java:197) ~[client-intermediary.jar:?]
    at net.minecraft.class_826.method_3569(class_826.java:181) ~[client-intermediary.jar:?]
    at net.minecraft.class_824.method_23079(class_824.java:90) ~[client-intermediary.jar:?]
    at net.minecraft.class_824.method_23081(class_824.java:79) ~[client-intermediary.jar:?]
    at net.minecraft.class_824.method_3554(class_824.java:104) ~[client-intermediary.jar:?]
    ... 15 more