T
tModLoader4mo ago
flat-fuchsia

Heavy lag spikes and overall bad framerate

I need help with fixing lag spiked during boss fights and just throughout the whole game. I'm playing on a legendary world with masochist mode on. could it be from a mod incompatibility or just having too many mods? I've realised my fps rises while I'm holding a weapon, and it decreases mid boss fight when it starts shooting projectiles and if I get near the ground. pls help Mod list: accessories+, advanced Ammunition A ranger expansion v1.0.5, alchemistNpc Lite, Artificier's accessories, boss checklist, calamity - fargo's souls Dlc, Calamity, calamity infernum mode, calamity mod music, calamity ranger expansion, calamity wrath of the gods, craftable calamity items, fargos loot bonus & mutant mod & soulds mod, heart crystal and life fruit glow, helpful npcs, infinite boss summons, instant housing, luminance, magic storage, more accessory slots(more accessories), more endless ammo, ore excavator, potion save, pylons prevent evils, recepie browser, unlimate potions mod, vacuumm ore bag, whacky npcs, absoluteaquarian utilities, androlib
3 Replies
tModLoader
tModLoader4mo ago
Welcome to #support-forum. Before someone helps you, please first consult the information in #TML Troubleshooting Guide and try all the suggestions that might fit your particular issue, especially in the linked FAQ page. If the information in the pinned thread does not solve your issue, please post all log files by dragging and dropping them into this chat. In Steam right click on tModLoader in the library, then hover over Manage and click on Browse local files. In the folder that appears find tModLoader-Logs and open that folder. Inside that folder are the logs files. Select them all except the Old folder and drag them into this chat. If you need a visual guide to this process watch this: https://github.com/tModLoader/tModLoader/assets/4522492/3f4efa43-753f-4733-b630-ba85e711340c
flat-fuchsia
flat-fuchsiaOP4mo ago
I've removed a few mods and the base framerate slightly increased well ive just reloaded the game so ill see I can record boss fights if needed bosses cause extreme lag where ill basically go slowmotion dodging its attacks works worst on eater of worlds when he does the circular attack on masochist (when its split into two or more parts) im playin on the FOW seed on masorchist mode, i started playing with a frend and nothing lagged (he rage quit), and ever since the game just got pregressively more laggy
tModLoader
tModLoader4mo ago
Tag: performance There is no magic performance fix we can give you. But I have []GB of RAM!! Having a large amount of memory will not magically make the game run faster, much like having a bigger trunk wont magically make your car drive faster. TModLoader will use as much memory as it needs from your system already, you cannot and would have no benefit to 'using more RAM', much like filling your trunk with random junk wont make your car go faster. But the CPU/GPU usage is only []%!! Much like memory, the game will use as much processing power as it needs. Ultimately the majority of the game is single threaded with a few exceptions, and as such is usually limited by single core clock speed. But why is it not multithreaded?!?! Multithreading isn't a universal cure-all nor is it simple to handle. The game relies on consistent execution order to calculate things, and often the cost of lock contention, or threads waiting on others for sensitive memory, can exceed the cost of simply running everything sequentially on one thread. A full re-write of the game designed with thread safety in mind would be needed, and the gains would likely be less than expected. But I have a GTX5090 giga super mega card!! While having a powerful graphics card can help a little, Terraria is still largely considered a CPU bound game. Additionally, the advancements in newer cards are more focused on features such as 3D raytracing cores and tensor cores for processing things like global illumination and frame generation AI models, which wont help. So what can I even do?!?! The only guaranteed way to improve your performance is to use less mods, ultimately no hardware will make up for poorly made mods! Most mods are made by hobbyists and novices with limited time/knowledge.

Did you find this page helpful?