MacOS Low Framerate
Hello! My laptop is an M2 MacBook Air, and I am trying to play tmodloader through Steam. I have put the argument
/gldevice:Vulkan in my launch options. Regardless, the game performs poorly, and it is fragile and prone to crash. Any suggestions to bring up the frames and stability?2 Replies
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-ba85e711340cTag: 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.