Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lag spike when block update #114

Open
Dueris opened this issue Jan 17, 2023 · 6 comments
Open

Lag spike when block update #114

Dueris opened this issue Jan 17, 2023 · 6 comments

Comments

@Dueris
Copy link

Dueris commented Jan 17, 2023

When pairing Optifabric with Ferrite Core, whenever a block updates it causes a massive lag spike. The fps quickly goes down but back up so f3 doesn't notice but while playing in-game, whenever you break a block or a block updates like water or sand, then lag spikes occur. Everything else is normal with tiny lag spikes when loading chunks or placing blocks

@malte0811
Copy link
Owner

What version of MC, FerriteCore, Optifine and Optifabric are you using? Is the lag spike definitely worse than without FC? You can see a graph of the time per frame by pressing Alt+F3.

@Dueris
Copy link
Author

Dueris commented Jan 17, 2023

1.19.2 all of them updated to the latest version that supports 1.19.2. The lag spike only happens when using FC. If you remove it, no more lag spikes. On the graph, the spike goes from a nice stable green but right once a block updates it goes off the chart into a high red and back down to a stable green

@malte0811
Copy link
Owner

I'm unable to reproduce this in a clean superflat world with default settings. Did you change any settings? Are you using shaders or resource packs? Is there anything special in the chunks this happens in?

@Dueris
Copy link
Author

Dueris commented Jan 17, 2023

I am using a default world and a render distance of 13-27. I am also experiencing this issue when I am on my minecraft server that has the terra world generator. I have my own resource pack that is based off of the Stay True texture pack. The settings I am using is 9-11 simulation distance, 13-27 render distance, all settings turned on in performance tab, and nothing else is changed that i can think of. I am currently not on my computer but when I can go on it I can provide a screenshot.

@malte0811
Copy link
Owner

Please upload screenshots when you can. The only scenario where I get that level of lag spikes is with chunk building set to blocking and a chunk filled with fences, but the lag is about the same with and without FC.

Also, please install Spark. Run /sparkc profiler start --thread *, cause as many of the laggy block updates as quickly as possible, then run /sparkc profiler stop and post the link generated by that. That should/might give a rough idea of what's happening.

@Dueris
Copy link
Author

Dueris commented Jan 17, 2023

Alright I will. I will also include a list of mods that are with Optifine/Optifabric. I have included other mods like voicechat and memory leak fix and others. I will also include pc specs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants