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
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
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
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
Uuuh, it could be nullscape, but don't trust me on that
⁺˖˚⊹ Derpü  ⊹˚˖⁺
im down to these
No description
Piotr Barcz YT
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
Infinity4w ago
I'm having the same issue after updating to Iris 1.7.0
hardester
hardester4w 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
Infinity4w 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
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
Infinity4w ago
I have the exact same issue it seems and getting a similar log also
⁺˖˚⊹ Derpü  ⊹˚˖⁺
thank god its not just me
Infinity
Infinity4w 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
Infinity4w 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 Supress3w 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
Angel3w 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
Grawmpy3w 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
Angel3w ago
Hi 👋 what's your GPU, and when does this error happen?
Grawmpy
Grawmpy3w 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
Angel3w 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
Angel3w 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
Angel3w 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
Grawmpy3w ago
Yes we should Does this work for 1.21 ?
Angel
Angel3w ago
Worked for me isn't officially supported, but it loads
Grawmpy
Grawmpy3w ago
Lemme check Lmao .. I might push an update if required for 1.21 .. should be easy enough if it loads
Angel
Angel3w ago
can you paste the full name of your iris installation and sodium installation?
Grawmpy
Grawmpy3w ago
Huh ? the version ?
Angel
Angel3w ago
like sodium-fabric-0.5.9+mc1.21.jar and iris-1.7.1+mc1.21.jar
Grawmpy
Grawmpy3w ago
exactly the same
Angel
Angel3w ago
bet
Grawmpy
Grawmpy3w ago
It loads up the shader but drops the fps from 50 to 4 lmao
Angel
Angel3w 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
Grawmpy3w ago
not required as I specify the java installations myself
Angel
Angel3w ago
ah which version? shouldn't matter, but Iris gh asks
Grawmpy
Grawmpy3w ago
I was using 21.0.3 , also tried with 22.0.1
Angel
Angel3w ago
yeah I'm on 21.0.3 as well Interesting how forcing Minecraft to use a lower OpenGL version causes lower fps
Grawmpy
Grawmpy3w ago
Shaders used to work for me on iris 1.7.0 .. now it does not work on 1.7.0 as well
Angel
Angel3w ago
what did they dooo lol does it crash exclusively on iris + fabric?
Grawmpy
Grawmpy3w 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
Angel3w 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
Grawmpy3w ago
The issue is probably caused by iris
Angel
Angel3w ago
may I tag you in the issues tracker?
Grawmpy
Grawmpy3w ago
yeah sure
Angel
Angel3w 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
Angel3w 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
Angel3w ago
hm laptop or pc?
Angel
Angel3w 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
Angel3w 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
Grawmpy3w 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
Grawmpy3w ago
💀
Angel
Angel3w 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
Angel3w ago
Honestly, seeing how the issue tracker currently has 240 open, I'm not sure they'll ever get back to us lol
Grawmpy
Grawmpy3w 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
Angel3w ago
then the question is, why doesn't it crash on optifine?
Infinity
Infinity3w 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
Angel3w ago
can you paste the header of the crash log here?
Angel
Angel3w 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
Grawmpy3w ago
Sure .. I just woke up so will paste it in a few minutes
hardester
hardester3w ago
Just curious, what driver version do you guys run?
Grawmpy
Grawmpy3w ago
25.20.15032.3007
hardester
hardester3w ago
Adrenaline driver (RX series) or Catalyst driver (HD series)?
Grawmpy
Grawmpy3w 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
hardester3w ago
:harold: Catalyst driver issue.
Grawmpy
Grawmpy3w 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
Grawmpy3w 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
hardester3w 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
Grawmpy3w 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
Grawmpy3w ago
It brings my fps down to 4
Timo of the Timoing
think your system is what brings your fps down to 4
Grawmpy
Grawmpy3w ago
Nah .. without the workaround it is 10x faster
hardester
hardester3w ago
Talking about the Force OpenGL 2 mod?
Grawmpy
Grawmpy3w 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
Grawmpy3w ago
This guy
hardester
hardester3w ago
There should be a new mod that instead, forces OpenGL 3.2, the baseline of modern Minecraft OpenGL requirement. :linus:
Grawmpy
Grawmpy3w ago
I tried updating it to 1.21 .. but oh god this thing breaks Ye
hardester
hardester3w ago
1.21 have major changes in the graphics stack. Things might have changed that makes the mod unstable on that version.
Grawmpy
Grawmpy3w 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
Grawmpy3w ago
Lmao Conclusion -> fkc shaders
Grawmpy
Grawmpy3w 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
Grawmpy3w ago
I updated the ForceGL20 mod mappings .. if anyone wants to use it they can, Modrinth and Github pages will be live soon.
hardester
hardester3w ago
Wait the minute you're the author of ForceGL2?
Grawmpy
Grawmpy3w ago
Nope .. I forked the project and updated stuff It took about 12 hours of my life to do that
hardester
hardester3w ago
:harold:
⁺˖˚⊹ Derpü  ⊹˚˖⁺
wow this blew up, so did we get any good workarounds or?
Grawmpy
Grawmpy2w ago
The only working workaround
⁺˖˚⊹ Derpü  ⊹˚˖⁺
thanks! 👍