Mekanism Tools

Mekanism Tools

77M Downloads

FPS drop near multiple Advanced Solar Plants

iiiCpu opened this issue · 1 comments

commented

Issue description:

Placing 4 Thermal Boiling Tanks with Solar Plants in same chunk on same height is a very good idea. Or not.
image
Bad Minecraft!!! Bad!!! Gimme back my FPS!
image
Better...
image
Now we're talking!

The issue might be in sound engine. Мore precisely, it might be because too many continuous sound sources are located in the same place. Thus, calculating this much 3D sound takes too much time in almost singlethreaded game engine. Best solution is to rewrite sound event system. Easiest is to limit maximal sound event count that might be emitted by Mekanizm. Nah, lag happen when camera is higher than ASP block position i.e. when you have the high ground.

For the record, some sound mods like Extreme sound muffler do fix the issue. No, they don't.

Steps to reproduce:

  1. Place 16 Advanced Solar Plant near the same point.
  2. Come closer to them.
  3. Voila!

Version:

Minecraft: 1.16.3
Forge: 34.1.42
Mekanism: 10.0.15.441
OptiFine: HD U G5

Hardware:

CPU: Ryzen R5 3600
RAM: 32 GB (-Xmx10G)
GPU: nVidia GeForce RTX 2080

commented

Works good in Mekanism 10.0.15.444