Iris Shaders

Iris Shaders

36M Downloads

Trying to Reload Texture packs causes JVM Crash (atioa6xx.dll)

Blobanium opened this issue ยท 4 comments

commented

Version

iris-mc1.16.5-1.0.2.jar
This is with the sodium fork also (its version 1.16.5-0.2.0-IRIS2 btw)

Reproduction Steps

  1. start Minecraft and go into a world
  2. try to reload textures
  3. Game Crashes

Crash Report File Or Latest Log

hs_err_pid23888.log

Additional Information

some of the time it will actually reload the textures without crashing.

My Gpu is a AMD Radeon RX 570 on driver 21.6.1
My OS is windows 10

if you need anything else tell me thanks!

commented

Relevant part of stack trace (mapped to Yarn):

Stack: [0x000000cdaea00000,0x000000cdaeb00000],  sp=0x000000cdaeaf8df0,  free space=995k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [atio6axx.dll+0xbfca40]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.GL20C.nglShaderSource(IIJJ)V+0
j  org.lwjgl.opengl.GL20C.glShaderSource(ILjava/lang/CharSequence;)V+38
j  org.lwjgl.opengl.GL20.glShaderSource(ILjava/lang/CharSequence;)V+2
j  com.mojang.blaze3d.platform.GlStateManager.shaderSource(ILjava/lang/CharSequence;)V+10
j  net.minecraft.client.gl.GlShader.createFromResource(Lnet/minecraft/GlShader$Typeclass_282;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;)Lnet/minecraft/GlShader;+62
j  net.minecraft.client.gl.JsonGlProgram.getShader(Lnet/minecraft/ResourceManager;Lnet/minecraft/GlShader$Typeclass_282;Ljava/lang/String;)Lnet/minecraft/GlShader;+92
j  net.minecraft.client.gl.JsonGlProgram.<init>(Lnet/minecraft/ResourceManager;Ljava/lang/String;)V+543
j  net.minecraft.client.gl.PostProcessShader.<init>(Lnet/minecraft/ResourceManager;Ljava/lang/String;Lnet/minecraft/Framebuffer;Lnet/minecraft/Framebuffer;)V+39
j  net.minecraft.client.gl.ShaderEffect.addPass(Ljava/lang/String;Lnet/minecraft/Framebuffer;Lnet/minecraft/Framebuffer;)Lnet/minecraft/PostProcessShader;+11
j  net.minecraft.client.gl.ShaderEffect.parsePass(Lnet/minecraft/TextureManager;Lcom/google/gson/JsonElement;)V+137
j  net.minecraft.client.gl.ShaderEffect.parseEffect(Lnet/minecraft/TextureManager;Lnet/minecraft/Identifier;)V+197
j  net.minecraft.client.gl.ShaderEffect.<init>(Lnet/minecraft/TextureManager;Lnet/minecraft/ResourceManager;Lnet/minecraft/Framebuffer;Lnet/minecraft/Identifier;)V+78
j  net.minecraft.client.render.WorldRenderer.loadEntityOutlineShader()V+52
j  net.minecraft.client.render.WorldRenderer.apply(Lnet/minecraft/ResourceManager;)V+39

It appears to be crashing from vanilla compiling its own shaders.

commented

hold up i think theres a conflicting mod somewhere actually

lemme try finding it

commented

ok nvm there actually isnt a conflicting mod actually..

commented

This is actually a crash in a vanilla code path unlikely to be directly caused by Iris, but I have fixed it in Iris, and can probably fix it in vanilla pretty easily. Will take a look.