Iris crashes after Minecraft loads, no crash report, help pls

110 Replies
⁺˖˚⊹ Derpü  ⊹˚˖⁺
I've binary searched twice and all I can find is iris crashing
Piotr Barcz YT
Piotr Barcz YT2mo ago
Animatica Athena Better End Better Third Person Dynamic FPS glsl-transformer These look suspicious to me, I don't know what Athena or Animatica do though get rid of GLSL transformer and try it again, that sounds like a GLSL shader something or other and Iris doesn't like other shader mods
⁺˖˚⊹ Derpü  ⊹˚˖⁺
glsl is a part of the iris mod aparently, I can try the others none of these mods caused the issue
Piotr Barcz YT
Piotr Barcz YT2mo ago
No it's not, I've neveer seen that before
⁺˖˚⊹ Derpü  ⊹˚˖⁺
if you look at the log closer, you'll see that its root file is iris
Piotr Barcz YT
Piotr Barcz YT2mo ago
Huh that's odd
⁺˖˚⊹ Derpü  ⊹˚˖⁺
and I have reinstalled different versions of iris twice, 1.7 for 1.20.4 should work fine
Piotr Barcz YT
Piotr Barcz YT2mo ago
Uuuh, it could be nullscape, but don't trust me on that
⁺˖˚⊹ Derpü  ⊹˚˖⁺
im down to these
No description
Piotr Barcz YT
Piotr Barcz YT2mo ago
I have no idea because Distant Horizons has freaked out at dimension mods before Have you tried removing modern fix? now that you're down to those you might just want to disable everything and go one by one actually, don't disable everything, keep the following and then add the rest back one at a time: Iris 1.7.0 Distant Horizons Indium Lithium Terralith Zoomify
⁺˖˚⊹ Derpü  ⊹˚˖⁺
yep thats what im doing now, the rest are all libs or used for other mods, hence why im checking them as I hadnt when doing the binary search before since it caused more issues
Infinity
Infinity2mo ago
I'm having the same issue after updating to Iris 1.7.0
hardester
hardester2mo ago
glsl-transformer is Iris internals... :harold: See #glsl-transformer for more info. Also, it appears that you're trying to load Iris via Quilt mod loader. Iris doesn't work on Quilt last time I checked.
Infinity
Infinity2mo ago
oh in that case I might have to make a different report if I don't find the issue since I use fabric loader
Piotr Barcz YT
Piotr Barcz YT2mo ago
My bad
⁺˖˚⊹ Derpü  ⊹˚˖⁺
the error is still happening on fabric, ive only now realised its generating these errors and placing them in .minecraft
⁺˖˚⊹ Derpü  ⊹˚˖⁺
any ideas? im completely lost ?? (this also happens on older versions) ^
Infinity
Infinity2mo ago
I have the exact same issue it seems and getting a similar log also
⁺˖˚⊹ Derpü  ⊹˚˖⁺
thank god its not just me
Infinity
Infinity2mo ago
there's a chance it may be fixed when using JRE 21 but even though I installed java 21, minecraft still seems to use 17 (yours seems to use 20, which version is it?) I'm thinking this may be the case since other mods for 1.20.4 give me an error that leads to this
⁺˖˚⊹ Derpü  ⊹˚˖⁺
ive tried with 20 and 22 and both caused an issue
Infinity
Infinity2mo ago
hmm would you mind explaining how to make it use 22 since it might solve some crashes for me
⁺˖˚⊹ Derpü  ⊹˚˖⁺
ah just download java 22 and set it to that in your launchers settings this issue still occurs with the newer version of iris, I imagine its an incompatible mod but I have no idea which
Timo of the Timoing
afaik 1.20.4 uses java 17 -Xms8000m seeing this you can use -Xms8G to make it use 8192m which is the proper number you're looking for also the entire thing smells like a driver problem with your GPU and also a memory problem -Xms8000m and -Xmx10000m means you're giving the GC 2GB of leeway to work around in since you're also using default G1GC (i don't see any other JVM arguments) that means it's probably running into lots of errors trying to squeeze itself between that gap i would remove -Xms entirely then i would update my GPU drivers from the official brand website - jei 17.3.0.52 might wanna use REI instead since there's performance options that makes it not use so much RAM i read this log over, thrice, and i can't find any other clues than these. i recommend double-checking your mods to see if you've got the right versions for everything.
ITL Supress
ITL Supress4w ago
Access Violation like that is 90% of the time the game requesting more ram than you have allocated, or you are trying to allocate more ram than you have available. 1.20.4 and most pre 1.20.5 versions use Java 17. 1.20.5 Switched to Java 21.
Timo of the Timoing
^ i imagine 1.20.5 had 21 in mind while 1.20.4 did not so chances are 1.20.4 would work better on 17
Angel
Angel4w ago
No, wait—I just had this error. OP, what's your GPU? @Infinity you're getting the same error as well? what GPU?
Grawmpy
Grawmpy4w ago
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005dfc6720, pid=7372, tid=3432
#
# JRE version: Java(TM) SE Runtime Environment (21.0.3+7) (build 21.0.3+7-LTS-152)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0.3+7-LTS-152, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C [atio6axx.dll+0x336720]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\samdh\AppData\Roaming\PrismLauncher\instances\Additive\.minecraft\hs_err_pid7372.log
[199.894s][warning][os] Loading hsdis library failed
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Process crashed with exitcode -1073740791.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005dfc6720, pid=7372, tid=3432
#
# JRE version: Java(TM) SE Runtime Environment (21.0.3+7) (build 21.0.3+7-LTS-152)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0.3+7-LTS-152, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C [atio6axx.dll+0x336720]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\samdh\AppData\Roaming\PrismLauncher\instances\Additive\.minecraft\hs_err_pid7372.log
[199.894s][warning][os] Loading hsdis library failed
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Process crashed with exitcode -1073740791.
Encountering the same error using additive for 1.20.6 from modrinth, I am also encountering the same error in 1.21 aswell, tried using just sodium and iris and still the result was the same
Angel
Angel4w ago
Hi 👋 what's your GPU, and when does this error happen?
Grawmpy
Grawmpy4w ago
My GPU is hd 5770 .. and the error occurs while or after loading the world(with shaders enabled) The same did not used to happen just like 2 days ago but now this happens with older versions as well
Angel
Angel4w ago
I have the Radeon HD 7470, and I also get this error when loading any shader; luckily, there's a Fabric and Forge mod that implements a temporary fix From my understanding, this error occurs because of the GPU being out of date with the software the shader is using This mod forces the shader to use an older version compatible with the GPU
Angel
Angel4w ago
Here's the link to the mod: https://modrinth.com/mod/forcegl20
Modrinth
ForceGL20 - Minecraft Mod
Forces the game to use OpenGL 2.0!
Angel
Angel4w ago
Let me know if this fixes the problem! Lots of people are reporting this specifically in 1.21, so I also wonder if it's a bug that should be raised to Minecraft itself Additionally, it might be helpful to post this explanation elsewhere so it can be easily linked to other users... I'll see about that... Let me quickly load up Optifine and a superflat world just to check if it's specific to Iris It works fine on Optifine without any mods :linus_bruh: I think we could confirm that to be an Iris issue then huh Let's open a bug report
Grawmpy
Grawmpy4w ago
Yes we should Does this work for 1.21 ?
Angel
Angel4w ago
Worked for me isn't officially supported, but it loads
Grawmpy
Grawmpy4w ago
Lemme check Lmao .. I might push an update if required for 1.21 .. should be easy enough if it loads
Angel
Angel4w ago
can you paste the full name of your iris installation and sodium installation?
Grawmpy
Grawmpy4w ago
Huh ? the version ?
Angel
Angel4w ago
like sodium-fabric-0.5.9+mc1.21.jar and iris-1.7.1+mc1.21.jar
Grawmpy
Grawmpy4w ago
exactly the same
Angel
Angel4w ago
bet
Grawmpy
Grawmpy4w ago
It loads up the shader but drops the fps from 50 to 4 lmao
Angel
Angel4w ago
yep :( gotta optimise that bad boy what does it return when you run this in command prompt?
%LocalAppData%\Packages\Microsoft.4297127D64EC6_8wekyb3d8bbwe\LocalCache\Local\runtime\java-runtime-delta\windows-x64\java-runtime-delta\bin\java.exe -version
%LocalAppData%\Packages\Microsoft.4297127D64EC6_8wekyb3d8bbwe\LocalCache\Local\runtime\java-runtime-delta\windows-x64\java-runtime-delta\bin\java.exe -version
Grawmpy
Grawmpy4w ago
not required as I specify the java installations myself
Angel
Angel4w ago
ah which version? shouldn't matter, but Iris gh asks
Grawmpy
Grawmpy4w ago
I was using 21.0.3 , also tried with 22.0.1
Angel
Angel4w ago
yeah I'm on 21.0.3 as well Interesting how forcing Minecraft to use a lower OpenGL version causes lower fps
Grawmpy
Grawmpy4w ago
Shaders used to work for me on iris 1.7.0 .. now it does not work on 1.7.0 as well
Angel
Angel4w ago
what did they dooo lol does it crash exclusively on iris + fabric?
Grawmpy
Grawmpy4w ago
Yeah lol .. it's not cause of the gl version .. it's kind of due to the official mappings being for the newer gl version nope .. Oculus(forge port) and iris on quilt also get the same crash
Angel
Angel4w ago
oh dear but Optifine is fine. what on earth @⁺˖˚⊹ Derpü ⊹˚˖⁺ Apologies for the ping—you mentioned you were experiencing the same issue. Would you mind sharing your GPU and what causes the crash?
Grawmpy
Grawmpy4w ago
The issue is probably caused by iris
Angel
Angel4w ago
may I tag you in the issues tracker?
Grawmpy
Grawmpy4w ago
yeah sure
Angel
Angel4w ago
oh yes see this thread as well #AMD Radeon HD crash
⁺˖˚⊹ Derpü  ⊹˚˖⁺
ah im not too sure, not at my computer right now the issue just happens when minecraft runs with iris, no other ideas
Angel
Angel4w ago
Does it occur when you turn shaders on, when you load into a world, or when you launch Minecraft?
⁺˖˚⊹ Derpü  ⊹˚˖⁺
id imagine its due to the memory allocation but im not certain it crashes before it opens
Angel
Angel4w ago
hm laptop or pc?
Angel
Angel4w ago
seems to be a different issue.. nonetheless, check your GPU model through Task Manager when you have the time they may be related even so I actually find this interesting, because all of the crashes I've found share the frame atio6axx.dll+0x346fb0, but yours has the frame atio6axx.dll+0x336720.
Angel
Angel4w ago
GitHub
Iris crashes when attempting to load shaders on AMD Radeon HD GPUs ...
Minecraft Version 1.2.1 Iris Version iris-1.7.1+mc1.21.jar Sodium Version sodium-fabric-0.5.9+mc1.21.jar Operating System Windows 10 22H2 What is your GPU? AMD Radeon HD 7470, 5770, 6670 Java Versi...
Grawmpy
Grawmpy4w ago
Hmm .. can't really say why that's the case Damn this is a well presented bug report
⁺˖˚⊹ Derpü  ⊹˚˖⁺
good report! should probably mention that its not always just on shader loading, mine wont even start minecraft
Grawmpy
Grawmpy4w ago
💀
Angel
Angel4w ago
The crash report log you posted actually mentions a different frame, which could imply this is a different error entirely; if your GPU belongs to the AMD Radeon HD series, the error might be related, otherwise, I have no idea
⁺˖˚⊹ Derpü  ⊹˚˖⁺
I believe mine is radeon if I remember correctly
Angel
Angel4w ago
Honestly, seeing how the issue tracker currently has 240 open, I'm not sure they'll ever get back to us lol
Grawmpy
Grawmpy4w ago
Lol .. I'll try fixing stuff rn for about 20 mins .. after that I'll try it tomorrow(after 12 hours ig) https://community.amd.com/t5/drivers-software/amd-driver-conflicts-with-java-and-causes-crash-atio6axx-dll/td-p/193499 Downgrade required ig ... Making this natively run on 1.21 is kind of tough .. so we will have to make do with the provided jar itself
Angel
Angel4w ago
then the question is, why doesn't it crash on optifine?
Infinity
Infinity4w ago
while using 22 in 1.20.4 did not fix the issue for me, it doesn't seem to cause problems either 3090 driver version 551.61 (will update drivers and try again) and yes same error
Angel
Angel4w ago
can you paste the header of the crash log here?
Angel
Angel4w ago
@Grawmpy here's something else you might be interested in https://community.amd.com/t5/drivers-software/amd-driver-problem/td-p/474097
AMD.com
AMD Driver Problem
Hello, I'm using AMD Radeon 6800 graphics card as my hardware, the problem happens only on this graphics card, previous ones (Radeon 590 and 380 are working properly). The problem happens since launch of the GPU, graphics drivers did not solve anything so far. The problem is the following - I'm usin...
Grawmpy
Grawmpy4w ago
Sure .. I just woke up so will paste it in a few minutes
hardester
hardester4w ago
Just curious, what driver version do you guys run?
Grawmpy
Grawmpy4w ago
25.20.15032.3007
hardester
hardester4w ago
Adrenaline driver (RX series) or Catalyst driver (HD series)?
Grawmpy
Grawmpy4w ago
Catalyst driver I have just booted into my Arch Linux installation.. I'll check if the problem persists even in linux.. if not .. it may be a driver issue in windows Most probably will be a driver issue then
hardester
hardester4w ago
:harold: Catalyst driver issue.
Grawmpy
Grawmpy4w ago
Yeah probably.. it works on linux with like 15 less frames though .. but if it works it works ig I get 28-30 fps on linux and 45-50 on windows (before the game crashes)
Timo of the Timoing
moan
Grawmpy
Grawmpy4w ago
And for some reason this driver issue only occurs with iris and not with optifine
Timo of the Timoing
dipaer full comment optifine garbo not use full GPU capabilities oog and then the booga
hardester
hardester4w ago
Might caused by Optifine being more lax in terms of OpenGL conformance.
Timo of the Timoing
conform to deez also there may be a workaround where you force minecraft to use opengl2.0
Grawmpy
Grawmpy4w ago
Can be the case .. I don't really want to work on getting shaders up on this messed up GPU anymore There is one
Timo of the Timoing
outdated but may avoid having it touch the newer functions
Grawmpy
Grawmpy4w ago
It brings my fps down to 4
Timo of the Timoing
think your system is what brings your fps down to 4
Grawmpy
Grawmpy4w ago
Nah .. without the workaround it is 10x faster
hardester
hardester4w ago
Talking about the Force OpenGL 2 mod?
Grawmpy
Grawmpy4w ago
Though I agree that my system is trash
Timo of the Timoing
id moan if i had to deal with a system like that 24/7 too i think so
Grawmpy
Grawmpy4w ago
This guy
hardester
hardester4w ago
There should be a new mod that instead, forces OpenGL 3.2, the baseline of modern Minecraft OpenGL requirement. :linus:
Grawmpy
Grawmpy4w ago
I tried updating it to 1.21 .. but oh god this thing breaks Ye
hardester
hardester4w ago
1.21 have major changes in the graphics stack. Things might have changed that makes the mod unstable on that version.
Grawmpy
Grawmpy4w ago
Possible Okay wtf is wrong with shaders .. loading up the forcegl mod now makes my Minecraft run as fast as it should and I can use shaders normally 🙃🙃
Timo of the Timoing
happy moment but mildly PTSD'd
Grawmpy
Grawmpy4w ago
Lmao Conclusion -> fkc shaders
Grawmpy
Grawmpy4w ago
GitHub
Release ForceGL2.0-Remapped 1.2.0 · coredex-source/ForceGL20-1.2x
forcegl20-forge-1.2.0+1.17.x-1.21.x.jar -> Forge 1.17.x to 1.21 forcegl20-fabric-1.2.0+1.21.jar -> Fabric 1.21 forcegl20-fabric-1.2.0+1.20.x.jar ...
Grawmpy
Grawmpy4w ago
I updated the ForceGL20 mod mappings .. if anyone wants to use it they can, Modrinth and Github pages will be live soon.
hardester
hardester4w ago
Wait the minute you're the author of ForceGL2?
Grawmpy
Grawmpy4w ago
Nope .. I forked the project and updated stuff It took about 12 hours of my life to do that
hardester
hardester4w ago
:harold:
⁺˖˚⊹ Derpü  ⊹˚˖⁺
wow this blew up, so did we get any good workarounds or?
Grawmpy
Grawmpy3w ago
The only working workaround
⁺˖˚⊹ Derpü  ⊹˚˖⁺
thanks! 👍