Lithium crashing the game whenever I join my server
Cheremenin opened this issue ยท 14 comments
Modpack Version
0.5.14
Describe your issue.
A new issue surfaced in 0.5.14 (after updating from 0.5.11), and it seems to be related to the new mod Lithium.
Whenever I join my server now the game has a VERY high chance of crashing with either ticking entity or unexpected error. Sometimes I can join but most of the time it will crash instantly.
I've been told by someone who analyzed the logs that one of the issues could be connected to a blaze farm. There is indeed one where I spawn after joining. The unexpected error crash seems to be harder to track, though. And that one can happen at essentially any time - for example the last time I teleported into a friend's base I was only able to stay there for a few seconds before another unexpected error crashed my game.
Is there a fix besides removing either blaze industry or Lithium from my server?
Also, I run Optifine. No shaders at the moment, but Optifine is installed. Could it be adding to the issue?
Crash Report
https://drive.google.com/file/d/121huYk5F_hCFavLISJFqtKED8Hb5oAwh/view?usp=sharing - example of Ticking entity
https://drive.google.com/file/d/12-iK3KxB7ZaNZxtFBbmO2iqq58iIC_mT/view?usp=sharing - example of Unexpected error
Latest Log
https://drive.google.com/file/d/12-Pi8fr10PaH9Y_LvT-k9ryRPdnVdYHR/view?usp=sharing
Have you modified the modpack?
Yes
User Modifications
OptiFine HD U G8
Did the issue happen in singleplayer or on a server?
Server
Remove Optifine and retest please.
Yeah, that was Optifine causing the crashes. Didn't really realize how incompatible it is with Lithium and the like from the get-go.
However now I have severe FPS lag and very bad stuttering once it's out
Possibly caused by FTB Chunks?
Additionally, all of my IE wiring on the server broke visually - it is still there but it is invisible
Can it be fixed somehow? There's so many IE wires all over the place by this point that fixing everything manually with wirecutters would take way too much time
If you've allocated 6GB+, the vast majority of lag issues ought to be fixed by making sure CurseForge is using a new Java version, the default one is ancient :)
@NillerMedDild I've got Java 1.8.0.301, is that not it?
Got 16 GB total, DDR3, got 8 allocated. Only Optifine can help me actually get buttery smooth, high FPS.
For real, can't really play a lot of modpacks w/o it.
The launcher you're using (I'm guessing CurseForge) isn't picking up on that unfortunately, head into the Minecraft settings and select the correct one.
The launcher you're using (I'm guessing CurseForge) isn't picking up on that unfortunately, head into the Minecraft settings and select the correct one.
Huh, the more you know. So the official launcher that is used to launch modpacks from Curse could have been using some internalized Java versions of its own instead of actually running on the latest Java machine installed on my system the whole time?
Thanks, I have pointed the thing to use javaw from its installation folder. Maybe it will change something. Will test soon.
edit: Huh. So after I manually pointed the launcher to the actual, system-wide Java installation a Windows firewall popup appeared asking to allow/deny connection from the Java application when trying to connect to a server, indicating that it DOES run through a different version now.
It does indeed, the default is Java 8 version 51 :/
Unfortunately there is zero change in my clientside performance even when using the latest Java :(
In all honesty, I think the thing that keeps my FPS together is "Smart Animations" from Optifine, it basically triples the performance for me and other players on my server. But seeing as the pack is essentially incompatible with OF (version-dependent though, on 0.5.11 it's just a few, occasional minor visual/rendering glitches, but 0.5.14 is fully incompatible without modification) I have to make some form of compromise
You could always try removing RoadRunner (probably both client and server side) and using Optifine instead. OF is basically impossible to support for us, but we have players using it (generally with Optiforge).
It does indeed, the default is Java 8 version 51 :/
Unfortunately there is zero change in my clientside performance even when using the latest Java :(
In all honesty, I think the thing that keeps my FPS together is "Smart Animations" from Optifine, it basically triples the performance for me and other players on my server. But seeing as the pack is essentially incompatible with OF (version-dependent though, on 0.5.11 it's just a few, occasional minor visual/rendering glitches, but 0.5.14 is fully incompatible without modification) I have to make some form of compromise
Interestingly enough I am seeing a pattern in my lag. The spikes happen when you turn most of the time. So you could run 50-100 blocks forward with stable, smooth FPS but then it would just grind down to 1 or begin micro-stuttering or freezing whenever you turn by 90 degrees. Even worse when turning full 180.
Edit:
Yep, did some more testing and for some reason my game lags specifically when you look into different directions - which does not happen when using Optifine. Going to need to investigate that one further.
If you have processor, that has decent amount of cores/threads, you can try changing one thing in Forge config file (forge-client.toml)
alwaysSetupTerrainOffThread
, change that to True, so it offloads terrain loading to other cores and might help your situation, if your processor has free resources.
Interestingly enough I am seeing a pattern in my lag. The spikes happen when you turn most of the time. So you could run 50-100 blocks forward with stable, smooth FPS but then it would just grind down to 1 or begin micro-stuttering or freezing whenever you turn by 90 degrees. Even worse when turning full 180.
Edit: Yep, did some more testing and for some reason my game lags specifically when you look into different directions - which does not happen when using Optifine. Going to need to investigate that one further.
FWIW, 0.5.14 will boot with OF/OForge with RoadRunner updated to 1.2.2 -- I'm not sure if I'm secretly ruining my game as OF often does :) but that's alright -- maybe check it out if you've got a potato? I've had some decent success here -- I've also turned 'smart animation' on just now after reading this post, perhaps I'll get even more performance?
I also have FTBChunks disabled -- it was wrecking my performance when 0.5.14 first dropped -- less so updated to build 65 -- but overall my experience is smoother without it.
Well, my processor is an i5 3570K which isn't really a total potato, but it is 10 years old. So when running heavy packs, 200-300 mods it will often struggle, and my bandaid to that has almost always been Optifine. Which isn't always a good option due to compatibility issues it has.
Fixed - I've tossed Road Runner out of the mods folder and put in Optifine. Has been working flawlessly ever since, plus I got my crazy high framerate back & there's zero stuttering.
Roadrunner/Lithium and Optifine kind of do the same things clientside apparently and will therefore never properly work together. Good thing is you can safely remove/disable the former in a modpack without any problems.
Kept Roadrunner on the server though, could be actually useful for the performance gains on there. Obviously not seeing instant massive differences, but I'm pretty sure the lightning has been updating much quicker? Either way I doubt it'll hurt anything, so I'm keeping it on there.