Origins (Forge)

Origins (Forge)

7M Downloads

[1.18.2] CPU usage maxes out while moving camera around

redeven opened this issue ยท 4 comments

commented

Minecraft version: 1.18.2
Forge version: 40.1.0
Mod version: 1.4.1.1
Allocated client RAM: 8 GB
Allocated server RAM: 8 GB

While performing actions as simple as looking around or moving, all-core CPU usage spikes to 100% and holds for as long as actions are being performed. It only stops when I stay perfectly still, and resumes immediately as I continue moving or doing things, making the game effectively unplayable. Reproduced on both Singleplayer and Multiplayer.

Might be related to #131 ? EDIT: Fabric version works fine, might not be related after all?

mod_list
cpu_usage

commented

Since my computer doesn't do well with rendering anything at any time, you can test the 1.4.1.2-pre1 release and see if that does anything for you. It does very little in dev as far as I can tell.

commented

Looks like it works! No lag, at least nowhere near the level as before.

commented

Forge has a much larger overhead on block access. I'll see what I can do, but I'm don't have much experience with that kind of optimization.
Also, it's a hook used to change the render of certain blocks or fluids, so it won't do anything unless a power using it is present.

commented

Can confirm that it is the mixin in question, i removed it from apoli.mixins.json and the frames are perfectly fine now. Will see if it impacts the game in any way.