Weird Stack Overflow error with Atomic Disassembler
FaeyUmbrea opened this issue ยท 11 comments
Issue description:
Alright, I saw that this issue (or a similar one) was already reported around 1.10 but I'm going to file it again because it puzzles me.
For whatever reason, when playing with heavily modded minecraft, sometimes having the Atomic Disassembler in your inventory, no matter in which slot, will cause opengl to stack-overflow on what I assume to be the GPU, since the game does otherwise run fine. The result of this stack overflow only affects the inventory menu, as opening it will result in no items being displayed in any of the slots.
All other inventory views are fine, all other graphics are fine.
What confuses me about this issue, is that the only consitency I could find is that it only ocurrs after a few hours of gameplay, only in specific areas or when tile entity blocks from other mods are used in an area with a lot of such blocks around. It also almost never happens if only mekansim blocks are used in the area.
A bit of research also brought up OptiFine as an influence on the issue. The issue ocurred over multiple systems of players using the same mod configuration based on the Direwolf 20 1.12 Modpack.
We only have evidence concerning the AMD RX 580 graphics adapter though.
Possible cause for this would be incompatibility with either OptiFine or Astral Sorcery based on the installed mods that affect rendering that were present around the time it ocurred. Or DeepResonance and Actual Additions, which both added in crystals at world gen, which could technically have been loaded underground at the time of the issue ocurring.
As a sidenote, a secondary issue that also happened around one of the areas that also triggered this bug, was the entire upper half of the atomic disassemblers model just disappearing if you looked in a very specific direction.
Finally, the issue immideately resolves if one is to unequip the atomic disassembler. No other configuration of inventory items was able to cause the issue to appear so far.
Version (make sure you are on the latest version before reporting):
Forge: 14.23.2.2618
Mekanism: 1.12.2-9.4.3.330
A) need a crashlog
B) yeah some Mek items have hacky rendering that won't play nice with optifine and the like. There's not a lot we can do about it at current as the forge support for item fullbright is not there last I knew
I can't provide you with a crashlog if the game doesn't crash.
What happens is that either the OpenGL client thread or the shader program on the GPU stack overflow, likely due to the hacky rendering you mentioned. Which I then assume is an issue at least worth looking into.
All evidence of anything going wrong is a chat message that displays an OpenGL error, with the error number for stack overflow. I've been googling this issue up and down and all I found is someone proclaming an issue with optifine.
I have no idea what kind of error you're talking about, even a screenshot would help.
Alright, I don't have one on my person right now, I'll ask the people on my server to take one for me since I can't play myself the next few days.
Alright so, this is the error message:
https://cdn.discordapp.com/attachments/196723953279041536/423842293376614410/2018-03-15_14.53.47.png
And this is the inventory issue I mentioned:
https://cdn.discordapp.com/attachments/196723953279041536/423842407340048386/2018-03-15_14.54.45.png
https://cdn.discordapp.com/attachments/196723953279041536/423842425031884802/2018-03-15_14.57.06.png
Never seen it before, so if it happens only with optifine installed it's an optifine issue (or at least they'd be able to shed more light)
There are some rather large textures in Mekanism, though I'm not sure how it would only affect the disassembler, as there are probably larger ones
I'd have to see if it does happen without optifine installed first.
I'll get back to you if it does or crossreference this issue with the optifine people if it doesn't.
Okay so, after about a third of a month of waiting, I could finally test this properly. While the error message in chat is no longer displayed without optifine, probably because there is no longer a debugger posting these messages to chat, the issue of both the head of the Atomic Disassembler aswell as the inventory screens entire content except for the player preview are still disappearing.
Sadly, I don't have time to run any tests myself.
I'll close the issue and ask the player to test this case for you and instruct them to come back to you if the error persists.
Sorry if this isn't helpful. I'm having a similar issue (OpenGL Error: 1283 Stack Overflow) and it seems to also be linked with the atomic dissasembler.
HOWEVER, please check if you have back tools, Aetheros! It seems to be iChun's mod causing issues as it attempts to render the device on your back! I was jsut about to add to this with my own complaint, but realized I got the issue when wheeling off the tool. BackTools hates 3D models.
Hope this helps!