DimensionalDevelopment / DimDoors

A rewrite of the classic mod: Dimensional Doors
https://minecraft.curseforge.com/projects/dimensionaldoors
GNU General Public License v3.0
90 stars 53 forks source link

Singleplayer rubberbanding #88

Open Sunconure11 opened 6 years ago

Sunconure11 commented 6 years ago

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.

Robijnvogel commented 6 years ago

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?

Sunconure11 commented 6 years ago

I'll record it, since I do have quite a few mods installed.

Sunconure11 commented 6 years ago

I was prepping to test this but another, unrelated bug fired.

Sunconure11 commented 6 years ago

https://www.youtube.com/watch?v=4EBEEewbqNQ&feature=youtu.be

Robijnvogel commented 6 years ago

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?

Sunconure11 commented 6 years ago

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.

Sunconure11 commented 6 years ago

It does indeed spam can't keep up errors, but nothing else. The dimension also does not fix itself after a few minutes.

Robijnvogel commented 6 years ago

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?

Sunconure11 commented 6 years ago

I have VanillaFix installed. I could try tickprofiler, how would I use that to find where the lag is coming from though?

Runemoro commented 6 years ago

@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.

Sunconure11 commented 6 years ago

screenshot 2018-08-06 16 04 04 screenshot 2018-08-06 16 03 53

Sunconure11 commented 6 years ago

screenshot 2018-08-06 16 09 53 screenshot 2018-08-06 16 09 46 screenshot 2018-08-06 16 09 31 screenshot 2018-08-06 16 05 40 screenshot 2018-08-06 16 10 08

Sunconure11 commented 6 years ago

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.

Sunconure11 commented 6 years ago

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.

Sunconure11 commented 6 years ago

Allocating 12 gigs of ram (maximum curse seems to allow) did nothing, although the game ran smoother.

Another thing of note is that when one enters a new dungeon, the Y axis coord is not displayed.

screenshot 2018-08-07 02 29 09

Sunconure11 commented 6 years ago

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

Sunconure11 commented 6 years ago

If another mod is indeed causing this, what kind of mods could cause the latency shown here?

Robijnvogel commented 6 years ago

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).

Sunconure11 commented 5 years ago

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?

Sunconure11 commented 5 years ago

See my comments on Discord when possible, based on some testing, I believe this to be an issue with another mod.

Darkmega18 commented 5 years ago

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.

Sunconure11 commented 5 years ago

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"

Sunconure11 commented 5 years ago

It's a chunkloading issue. I need some help pinning down the mod causing it.