Azanor / thaumcraft-beta

Location for Thaumcraft beta testers to report problems, suggestions and errors.
MIT License
139 stars 103 forks source link

Low FPS if Thaumcraft enabled #1595

Open Niduin opened 5 years ago

Niduin commented 5 years ago

[BETA26 for 1.12]

When i am using Thaumcraft, my FPS goes down.

For example: Without Thaumcraft: 60 FPS With Thaumcraft: ~30 FPS

I have already deactivated the Thaumcraft shader in the config, but it didn´t helped. There is no error. It is only the bad FPS and happens if Thaumcraft is enabled.

Attached the log, so maybe it helps for analyzing.

My PC specs: CPU 7700K - 4,7 GhZ 32 GB RAM GPU: NVIDIA 1080 TI

Is there a possible fix for this?

latest.log

VadersFist0501 commented 5 years ago

Just one of the consequences of Thaumcraft being in Beta... from what I have experienced in helping with a Thaumcraft server over the past 20 Betas, the aura mechanic in its current form is an FPS drain. The aura, over many different TC versions, has caused numerous chunk corruptions and is, in general, rather unstable. Additionally, the aura mechanic just seems to cause lag. Just think about it; it is an entirely new set of numbers that the game needs to crunch individually over each chunk, and on top of that requires a calculation of each chunk's interactions with its neighbor. Hopefully, as Thaumcraft develops it will stabilize and optimize its aura mechanic, though TC5 had similar problems. (Remember that TC4 had no aura and, therefore, did not have this problem)

256leon commented 5 years ago

tried increasing the RAM for minecraft AND java? this recovers a few FPS

Niduin commented 5 years ago

MInecraft and JAVA have more then 16 GB RAM. This doesent helped. i think it is like VadersFist0501 said.

yagomont commented 5 years ago

MInecraft and JAVA have more then 16 GB RAM. This doesent helped. i think it is like VadersFist0501 said.

The aura mechanic is bottlenecked by the CPU. You're just taxing it more with that much memory allocated, as the garbage collector has to do a lot more work mapping and scanning all that space each tick. By your logs, I can't see any lines relating to foamfix, so consider installing that mod for a bundle of optimizations for all the workloads in Minecraft. After making sure it's installed, allocate just as much memory as your game needs. Usually by checking the usage after startup with F3 and adding 512M for safety.

Niduin commented 5 years ago

Thanks for the tip with foamfix. I´ve installed it and adjusted the alocated RAM. With foamfix i can reduced the RAM round about 4 GB (before ~11GB - and now ~7GB). But the FPS didnt increased - always approx. 25 - 30 FPS. Only if i stand still the FPS shows 35 - 40 FPS

Update: After playing a while - the FPS stabilized and slightly increased to round about 35 FPS.

yagomont commented 5 years ago

These two lines in your log might be of interest: [12:41:21] [Thread-82/INFO] [THAUMCRAFT]: Starting aura thread for dim -2147483648 [12:41:22] [Server thread/WARN] [FML]: Ruins Mod loaded a new chunk [-15, 31] in dimension 0 (overworld) while populating chunk [-15, 32], causing cascading worldgen lag. Perharps Ruins conflicts with TC? Try removing it. There's also extrautils2 spamming the console really hard here: spam Just how many mods have you crammed into the modpack?

256leon commented 5 years ago

MInecraft and JAVA have more then 16 GB RAM. This doesent helped. i think it is like VadersFist0501 said.

oh sorry. i forgot that i can read how many RAM is given in to log >.>