Singleplayer rubberbanding
Sunconure11 opened this issue · 23 comments
I'm not sure how to word this issue, so I'll try as best as I can.
You know how on some MC servers if you teleport really far the game craps itself and you have to exit the server and come back to load properly? I'm noticing something similar when going through doors in dungeons.
I've noticed one such thing that happens to me where I go through a door and I start glitch falling on the spot, and usually my way of fixing it is to fire one of my hook shots to unstick myself or jump around violently if I don't have one.
When this was happening i did have an item that provided me with slow fall and various other skill based augments from mods like cybernetics and matter overdrive.
Here's a post of mine ripped from discord, reporting the bug in a bit more detail.
"entering the dungeon the first time around is fine
once i enter another door in the dungeon, everything is black, and i can't move around. some tile entities, such as doors, are not fully loaded, effectively rendering as half doors.
going back to the previous dungeon i was in seems to be fine, but when i go through the door again, i suffer from this issue"
I'm not quite sure what to think of this issue. Could you record a short clip of this issue or provide a small guide on how to reproduce it?
You seem to have performance issues in general and the top halves of the Doors don't seem to be rendering like they are supposed to either... but the rubberbanding issue is surreal. :O
Does the "rubberbanding" stop after a while or does it persist for longer than 5 minutes?
Also, do the client and/or server log say/spam anything while you are rubberbanding?
I have not tested long enough to see if the rubberbanding goes away.
I think the log may be posting messages about it being unable to keep up, but I'm uncertain. I'll recreate the bug.
It does indeed spam can't keep up errors, but nothing else. The dimension also does not fix itself after a few minutes.
The problem here is: your rubberbanding is caused by the lag, but we have no real way of knowing where the lag comes from.
Perhaps you could install VanillaFix and use the tickprofiler?
I have VanillaFix installed. I could try tickprofiler, how would I use that to find where the lag is coming from though?
@Sunconure11 Shift + F3, then F3 + S to alternate between the server and client profilers. Use the number keys to expand a section which uses up a large percentage of the tick, and the 0 key to go up a level.
Since my pack is quite huge, and what not, I will push out another update for it, link it here, and see what data you can gather.
https://minecraft.curseforge.com/projects/compitum-magia/files/2599093 This update should be approved by curse soon. I'm only deciding to go the lazy route in this case due to the fact I might not have a lot of time over the next few days to figure it out fully myself. Needless to say, this bug has gone on long enough.
Another minor thing is that I'm using sevtech's suggested arguments.
-XX:+UseG1GC -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
If another mod is indeed causing this, what kind of mods could cause the latency shown here?
I tried your modpack with your launcher arguments and with 8GB of assigned RAM, but was unable to reproduce the rubberbanding or rendering glitches you showed in the video.
The overall performance of the modpack wasn't all that great and the tickprofiler gave more-or-less the same results for the categories you shared screenshots of.
The only significant differences between our setups that I can think of are our graphics cards (yours is an AMD Radeon and mine is an NVidia GeForce) and our graphics settings (I changed the GUI size to normal and set brightness to bright).
It appears similar to what a user named [REDACTED] reported on Discord. Is there anything known for this, or any way to possibly resolve this, regardless of reproducibility?