Dynamic Surroundings

Dynamic Surroundings

61M Downloads

[1.16.5] Significant FPS drops

Omni35 opened this issue ยท 7 comments

commented

Mod Version: DynamicSurroundings-1.16.4-4.0.3.12

Forge Version: 36.0.40

Link to client log: https://pastebin.com/ZGgwa39m

Link to MultiMC log: https://paste.ee/p/3iSBH

Link to MultiMC Settings: https://i.imgur.com/KzFp0Lk.png

Description: There's a significant FPS drop and frequent stuttering after the mod is added, in both existing and new worlds. The RAM usage barely goes above 3GB from the allocated 8 before a GC cycle is done. My guess is that it's caused by the sound processing, if it's anything like Sound Filters was, I needed to decrease the "Number of blocks reverb will check through" from the default 1024 to 124 to avoid similar issues.

Did you just add the mod to a pack?
Yes

Did it just start crashing, or has it always crashed?
No crashes.

Did you update/add any other mods in your pack?
Yes, although the issue doesn't appear without Dynamic Surroundings.
Added mods with DS:

  • OreExcavation-1.8.154
  • InventoryHud_[1.16.2-1.16.5].forge-3.2.2
  • itemzoom-1.16.4-2.3.0
  • horsestandstill-1.16.3-1.0.1
  • StorageDrawers-1.16.3-8.2.2
  • cloth-config-4.11.14-forge

Updated one mod, from 1.0.0 to 1.1.0

  • Stupendous+Travels+1.16.4+v1.1.0

If updating multiple mods did you update one by one or all at once? To help narrow the problem down adding one by one is helpful.
All at once.

Is the modpack you are using available online somewhere? If the crash is due to mod interaction having the pack available makes things much easier. It is much harder to work these types of issues with a private kitchen sink pack containing 250 mods.
It's a public pack (Odisea, version 1.1.0) but modified by me since I'm helping with issues/suggestions.
Mods I added:

  • OreExcavation-1.8.154
  • InventoryHud_[1.16.2-1.16.5].forge-3.2.2 (Inventory HUD+)
  • itemzoom-1.16.4-2.3.0
  • horsestandstill-1.16.3-1.0.1 (Stupid Horse Stand Still)
  • StorageDrawers-1.16.3-8.2.2
  • cloth-config-4.11.14-forge
  • DynamicSurroundings-1.16.4-4.0.3.12
  • mcw-doors-1.0.2-mc1.16.5 (Macaw's Doors)
  • mcw-windows-1.0.3-mc1.16.5 (Macaw's Windows)
  • armorplusplus-1.16.4-1.2 (Armor Points ++ / Health Stacking)
  • Jade-1.16.4-2.4.2
  • preview_OptiFine_1.16.5_HD_U_G8_pre1
  • CraftingTweaks_1.16.3-12.2.0

Mods I removed:

  • durability101-1.16-0.0.3
  • veinmining-forge-1.16.5-0.8
  • Stupendous Travels 1.16.4 v1.0.0 and Stupendous+Travels+1.16.4+v1.0.0 (accidental duplication, so removed both and updated to Stupendous+Travels+1.16.4+v1.1.0)
commented

Have you tried it with the base pack plus DS?

EDIT: Also, have you tried without OptiFine?
EDIT2: Changelog for OptiFine G7 indicates it is compatible with Forge 36.0.42. Modpack installs with 36.0.40. Not sure if it is an issue. (I see that you have a preview of G8 installed.)
EDIT3: I tried the base pack + OptiFine G7 and do not see any issues.

commented

I've tried the base pack with OptiFine+DS and it still persists, regular fps stuttering every 4 seconds, drops even lower when I'm in the water or look down. I'm sorry but I can't check without OptiFIne since my fps is basically trash unless I disable "Terrain Animated" option with OF.

I have tried adding Sound Filters and it does remedy it a bit, but the gameplay still isn't as smooth as it was before adding DS.

I don't know if this helps with anything, but here's a screenshot of my F3 when all mods are present. https://i.imgur.com/9Vncrwx.png
And one before DS was added: https://i.imgur.com/zeP1D02.png

commented

@Omni35 Try this updated JAR and let me know if there is a difference. I changed how the handshake works when connecting to a server. https://github.com/OreCruncher/DynamicSurroundings2/releases/tag/1.16.4-4.0.4.1

commented

I've been testing around and the issue persists, although now it stays even after I remove DS and load an existing world (regular fps drop every 5th second, cutting my FPS in half), which doesn't happen in new worlds.

With 4.0.3.12 the issue disappears when I remove DS, and it's less frequent (every 10th second) if I add Sound FIlters.

Idk man, it might even be some interaction with OptiFine, but I can't test without it which bothers me since I'd like to help better.

commented

Based on the screenshot timing information (right side toward the bottom under the HUD info) things look normal. What you can do is enable debug logging in all 4 configs, and load up your world. Hit F3. You will see a lot more debug info displayed. If you could change your screen resolution and take a screenshot I can review the detailed info to see if I can find out. If you can, wait until you hit a lag spike and take a screenshot right after.

commented

Added more just in case.

Before a spike: https://i.imgur.com/JwLcozt.jpeg
After a spike: https://i.imgur.com/v2fh0Vw.jpeg
After a GC: https://i.imgur.com/RmhmYap.jpg
MultiMC Log: https://paste.ee/p/4JwRU

commented

i'm also having same issue on 1.16.5 Frame dropping and don't have optifine installed also when i remove the mod it fixes frames and there back to normal