Dynamic Surroundings

Dynamic Surroundings

61M Downloads

[1.12.2] Aurora borealis - Huge display_update usage?

lilmayu opened this issue · 3 comments

commented

Mod Version:

3.6.3
Forge Version:

14.23.5.2860

Link to client log:

No crash

Link to crash log:

No crash

Description:

Basically, if you have enabled Aurora borealis, display_update skyrockets and is using all of the GPU - leaving no to render the actual game. Also, I don't actually expect this to be somehow fixed, I am more rather putting this here so somebody else who would experience the problem would find this and know that it is caused by Aurora borealis being enabled.

Workaround is to just disable them. Tho they are pretty when they are working.

Video:

2022-07-06.14-52-53.mp4

Modlist:

Click to expand [!] Removing weather2 and hardcore darkness did not fix the problem.

[✔️] AIImprovements-1.12-0.0.1b3
[✔️] AppleSkin-mc1.12-1.0.14
[✔️] bettercaves-1.12.2-2.0.4
[✔️] BetterFps-1.4.8
[✔️] BetterMineshaftsForge-1.12.2-2.2.1
[✔️] betternether-0.1.8.6
[✔️] Biome_Bundle_O_Plenty-1.12.2_v1.0
[✔️] BiomesOPlenty-1.12.2-7.0.1.2445-universal
[✔️] Born In A Barn V1.8-1.12-1.1
[✔️] ClientTweaks_1.12.2-3.1.11
[✔️] Clumps-3.1.2
[✔️] Controlling-3.0.10
[✔️] coroutil-1.12.1-1.2.37
[✔️] DynamicSurroundings-1.12.2-3.6.3
[✔️] FastFurnace-1.12.2-1.3.1
[✔️] FastLeafDecay-v14
[✔️] FastWorkbench-1.12.2-1.7.3
[✔️] Forgelin-1.8.4
[✔️] FullscreenWindowed-1.12-1.6.0-1
[✔️] HardcoreDarkness-MC1.12.2-2.0
[✔️] InventoryTweaks-1.63
[✔️] jei_1.12.2-4.16.1.302
[✔️] jeiintegration_1.12.2-1.6.0
[✔️] JustEnoughResources-1.12.2-0.9.2.60
[✔️] LagGoggles-1.12.2-5.8-132
[✔️] Magneticraft_1.12-2.8.5-dev
[✔️] Mekanism-1.12.2-9.8.3.390
[✔️] modelloader-1.1.7
[✔️] MouseTweaks-2.10.1-mc1.12.2
[✔️] NaturesCompass-1.12.2-1.8.5
[✔️] OpenTerrainGenerator-1.12.2-v9.4
[✔️] OptiFine_1.12.2_HD_U_G5
[✔️] OreLib-1.12.2-3.6.0.1
[✔️] particleculling-1.12.2-v1.3.1
[✔️] phosphor-forge-mc1.12.2-0.2.7-universal
[✔️] simple-rpc-1.12.2-2.2.1-all
[✔️] stg-1.12.2-1.2.3
[✔️] Surge-1.12.2-2.0.79
[✔️] TexFix V-1.12-4.0
[✔️] TickCentral-3.2
[✔️] V0id's+Smart+Backpacks-1.0.6
[✔️] VanillaFix-1.0.10-150
[✔️] waveycapes-forge-mc1.12.2-1.2.0
[✔️] weather2-1.12.1-2.6.12
[✔️] Xaeros_Minimap_22.10.0_Forge_1.12
[✔️] XaerosWorldMap_1.24.0_Forge_1.12

commented

I also experience this problem, it causes my fps to drop tremendously. Version 3.6.1 doesn't have this problem but I am required to use 3.6.3 in order to avoid crashes caused by 3.6.1 when using other mods.

I hope this gets fixed soon.

commented

Well, if it does not happen in 3.6.1 but in 3.6.3 it does, they can see changes between those two minor/patch versions, but I don't know if they still support 1.12.2. I might give it a look for a second if I'll have time.

commented

Same problem, however, the biggest FPS drop was not caused by the huge broken skybox and warped aurora. Despite the sky problems I was able to get from 20 FPS up to 70 FPS by tweaking the garbage collector (I have 34 JVM args now, lol). Tbh I did not know Dynamic Surroundings even had aurora so I didn't think to disable that.

Anyway, whenever I turned the camera in the direction of my automated chicken farm, the game's FPS absolutely tanked. Even when I wasn't nearby or looking at said farm it seemed the game engine was choking: both entities and blocks were lagging out of lockstep with frametime spikes. This was horribly unplayable.

I eventually narrowed it down to the redstone by standing next to the farm's main redstone timer with the camera pointed straight down. Bringing just a sliver of the timer into frame made the frametime spike by 200%-1000% on every tick. Moving it out of frame dropped frame times back to normal. I then determined walking around holding a torch (normal or redstone) caused the same problem. I then determined turning off Optifine's "Dynamic Lighting" made lag spikes go away for the handheld torches but not for redstone circuits. Upon disabling Dynamic Surroundings frametimes no longer drop more than a few dozen ms in this area. Additionally, the rubber band lag is also gone.

While I was fiddling with the garbage collector Optifine would show lag spikes as "chunk update," "garbage collection," or just "render" depending on my GC configuration. According to Optifine's garbage collection meter, the game was being swamped by almost a gigabyte of garbage every second, which initially made me think it was a GC issue. That is, until my tweaking merely made the problem "less catastrophic" rather than "playable."

Therefore, I believe this is a generalized problem with the mod's light rendering rather than only the skybox. The caveat here is that I had a similar problem in 3.6.1 but it was not nearly as severe. I ignored it because I assumed the problem was my redstone contraption rather than a mod bug. So I hadn't bothered to diagnose it until 3.6.3 made the game unplayable.

As for why I didn't suspect Dynamic Surroundings sooner? In hindsight, 3.6.1 was crashing my game just like the above poster. Those crashes were also randomly corrupting other mods' data. So I updated this mod and several others, While I didn't get any crashes (they were rare, so IDK) the game was now utterly unplayable. So I stopped playing for several months and forgot about it.

Hopefully my diagnostic steps are useful for the mod developer or anyone else reading this.