I am currently working on a mod pack, and I have been running into a extremely annoying bug. I've been trying to troubleshoot it, thinking that it might be being caused by an incompatibility between certain mods, but I can't seem to pin down what is causing it. It refuses to behave predictably as I add and subtract mods, and frankly doesn't even affect my game play that much, but I want to squash this bug now before it grows into something bad later.
I am getting the console flooded with "OpenGL Error 1283: Stack Overflow" messages. We're talking, like, hundreds of them in an instant. I don't lose FPS, I'm not even getting a ton of TPS lag (at least, not any more than vanilla MC 1.12.2 has anyway). But, what I am getting when this happens is this:
I am currently running minecraft 1.12.2 with forge version 12.23.5.2807. If it's relevant, here are the JVM arguments I'm using as well:
I wouldn't allocate 8G to MC. Java doesn't handle large amounts of memory efficiently. Try lowering to 4G, then stepping up from there. Don't forget, never allocate more than half of the PC's system RAM.
I would also make sure you have the latest graphics drivers installed. Go to the manufacturer's website, don't use Windows Update.
Rollback Post to RevisionRollBack
"We live on a placid island of ignorance in the midst of black seas of infinity, and it was not meant that we should voyage far."
Thanks for the reply, majesty! I Updated my graphics card driver (I've got an Nvidia Card) to v353.30 and reduced minecraft's ram allocation from 8G to 4G. My system had 16G of ram to spare, so I wasn't in danger of running out of memory but I didn't know that it stops being helpful after 4gb.
Here's my system specs, in case they're relevant as well. I honestly doubt not having enough horsepower in my rig is the issue, but hey, I can't asume:
Intel core i7-6700k 4GHz
16.0Gb Ram
nVidia Geforce GTX980Ti GPU
Whelp, the issue is back, in spite of these changes. I'm not entirely sure what is going on here... Is there a incompatability? Do I simply just have too many mods on all at once?
I've just tested every mod in my list and it appears it is not a direct incompatability. Strangely, when I let each mod use its default configs it worked fine but I got the error once I configured each mod to my liking...
Now I'm going to go through them all again and this time I'm going to see which mod configuration (and then after that, which specific setting) is causing the issue.
I have right now the same problem as you @shadowbast96143
I am currently playing at 1.7.10 with Forge and 50 Mods
In my Case, the textures of the game are really buggy and its very complicated. I tried to reinstall minecraft and every mod (not seperately), updated the gpu driver but nothing worked. It seems that a mod is a problem but I'm not sure. The Problem happend right after I filled my buckets since 3. Jan 2021 at ~3:00 am.
This is caused by buggy rendering code* in a mod and has nothing to do with drivers or anything outside of the game, perhaps due to two or more mods trying to access/modify the same vanilla code at once; I don't know which one(s) it could be but you can try removing half the mods then see if the issue still occurs, testing the other half or another combination of mods if not, then when it happens try removing half of the remaining mods and repeat until you have one or two mods which reproduce the issue.
*For example, note the calls to glPushMatrix() and glPopMatrix(), which must be matched or a stack over/underflow will occur and in the worst case break everything rendered after the error within the current frame (fortunately OpenGL is pretty tolerant of errors so an outright crash doesn't occur, unlike a stack overflow in Java code):
Hello,
I am currently working on a mod pack, and I have been running into a extremely annoying bug. I've been trying to troubleshoot it, thinking that it might be being caused by an incompatibility between certain mods, but I can't seem to pin down what is causing it. It refuses to behave predictably as I add and subtract mods, and frankly doesn't even affect my game play that much, but I want to squash this bug now before it grows into something bad later.
I am getting the console flooded with "OpenGL Error 1283: Stack Overflow" messages. We're talking, like, hundreds of them in an instant. I don't lose FPS, I'm not even getting a ton of TPS lag (at least, not any more than vanilla MC 1.12.2 has anyway). But, what I am getting when this happens is this:
I am currently running minecraft 1.12.2 with forge version 12.23.5.2807. If it's relevant, here are the JVM arguments I'm using as well:
-mx8G -XX:InitiatingHeapOccupancyPercent=10 -XX:AllocatePrefetchStyle=1 -XX:+UseSuperWord -XX:+OptimizeFill -XX:LoopUnrollMin=4 -XX:LoopMaxUnroll=16 -XX:+UseLoopPredicate -XX:+RangeCheckElimination -XX:+CMSCleanOnEnter -XX:+EliminateLocks -XX:+DoEscapeAnalysis -XX:+TieredCompilation -XX:+UseCodeCacheFlushing -XX:+UseFastJNIAccessors -XX:+CMSScavengeBeforeRemark -XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses -XX:+ScavengeBeforeFullGC -XX:+AlwaysPreTouch -XX:+UseFastAccessorMethods -XX:+UnlockExperimentalVMOptions -XX:G1HeapWastePercent=10 -XX:G1MaxNewSizePercent=10 -XX:G1HeapRegionSize=32M -XX:G1NewSizePercent=10 -XX:MaxGCPauseMillis=250 -XX:+OptimizeStringConcat -XX:+UseParNewGC -XX:+UseNUMA -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:SurvivorRatio=2 -XX:+DisableExplicitGC
Here's my full list of mods at the moment:
Advanced Grapple Hooks
Antique Atlas
Artisan’s Worktables
Athenaeum
Atlas Extras
AutoregLib
Baby Animals Model Swapper
Base Metals
BetterFPS
Bountiful
Bullseye
Crafttweaker2
Disenchanter
Familiar Fauna
FoamFix
ForgeEnderTech
Forgelin
Geographicraft
Hardcore Darkness
Ice and Fire
LLibrary
Lilliputian
Muon
Multimob
Optifine
MMD Orespawn
Primitive Mobs
Quark
QuarkOddities
Roguelike Dungeons
Rustic
SaltyMod
Signposts
SoundFilters
Spartan Weaponry
Spartan Weaponry - Base Metals Compatibility
TextureFix
Tough As Nails
VanillaFix
Villager Trade Tables
Waystones
What do you guys think is causing this?
I wouldn't allocate 8G to MC. Java doesn't handle large amounts of memory efficiently. Try lowering to 4G, then stepping up from there. Don't forget, never allocate more than half of the PC's system RAM.
I would also make sure you have the latest graphics drivers installed. Go to the manufacturer's website, don't use Windows Update.
"We live on a placid island of ignorance in the midst of black seas of infinity, and it was not meant that we should voyage far."
Thanks for the reply, majesty! I Updated my graphics card driver (I've got an Nvidia Card) to v353.30 and reduced minecraft's ram allocation from 8G to 4G. My system had 16G of ram to spare, so I wasn't in danger of running out of memory but I didn't know that it stops being helpful after 4gb.
Here's my system specs, in case they're relevant as well. I honestly doubt not having enough horsepower in my rig is the issue, but hey, I can't asume:
Intel core i7-6700k 4GHz
16.0Gb Ram
nVidia Geforce GTX980Ti GPU
Whelp, the issue is back, in spite of these changes. I'm not entirely sure what is going on here... Is there a incompatability? Do I simply just have too many mods on all at once?
I'd recommend re-making the mod pack and installing the mods a few at a time to make sure everything works and hopefully ID the problem mod(s).
"We live on a placid island of ignorance in the midst of black seas of infinity, and it was not meant that we should voyage far."
UGH.
I've just tested every mod in my list and it appears it is not a direct incompatability. Strangely, when I let each mod use its default configs it worked fine but I got the error once I configured each mod to my liking...
Now I'm going to go through them all again and this time I'm going to see which mod configuration (and then after that, which specific setting) is causing the issue.
Hello everyone
I have right now the same problem as you @shadowbast96143
I am currently playing at 1.7.10 with Forge and 50 Mods
In my Case, the textures of the game are really buggy and its very complicated. I tried to reinstall minecraft and every mod (not seperately), updated the gpu driver but nothing worked. It seems that a mod is a problem but I'm not sure. The Problem happend right after I filled my buckets since 3. Jan 2021 at ~3:00 am.
Can someone help me pls? What should I do next?
This is caused by buggy rendering code* in a mod and has nothing to do with drivers or anything outside of the game, perhaps due to two or more mods trying to access/modify the same vanilla code at once; I don't know which one(s) it could be but you can try removing half the mods then see if the issue still occurs, testing the other half or another combination of mods if not, then when it happens try removing half of the remaining mods and repeat until you have one or two mods which reproduce the issue.
*For example, note the calls to glPushMatrix() and glPopMatrix(), which must be matched or a stack over/underflow will occur and in the worst case break everything rendered after the error within the current frame (fortunately OpenGL is pretty tolerant of errors so an outright crash doesn't occur, unlike a stack overflow in Java code):
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?