[Bug] tetra weapons drastically reduce fps
SeanChengN opened this issue · 16 comments
Observed behaviour
Holding a tetra weapon in your hand or in your inventory will drastically reduce fps.
I did two experiments, as shown below:
[1] Clean client
FPS Changed: 525 → 465 → 445 → 475 → 530 (drop 85)
[2] My modpack
FPS Changed: 160 → 80 → 28 → 80 → 165 (drop 137)
Expected behaviour
No fps drop
Steps to reproduce
- Modify parts at will.
- Put weapons in your hand or in a chest or inventory.
- Check the fps.
Crashlog
No response
Tetra version
tetra-1.18.2-4.9.1
mutil/mGui version
mutil-1.18.2-4.5.0
Forge version
1.18.2-40.1.25
Other mods
FpsReducer2-forge-1.18.2-2.0 (To show fps)
Whether it's a drop, inventory, or handheld, as long as you can see the item, the fps will decrease
I'm unable to reproduce this issue.
@mickelus Try installing rubidium?
After testing, I found that holding the item after installing rubidium will cause the fps to drop
But installing optifine doesn't cause fps drop
Can confirm there's a severe issue possibly in conjunction with Rubidium. With tetra installed it was causing constant low-level stuttering, particularly while holding a weapon or tool from the mod, and even caused certain other mods to start stuttering in certain situations. Uninstalling tetra stopped all performance problems I had.
Can confirm there's a severe issue possibly in conjunction with Rubidium. With tetra installed it was causing constant low-level stuttering, particularly while holding a weapon or tool from the mod, and even caused certain other mods to start stuttering in certain situations. Uninstalling tetra stopped all performance problems I had.
This error can be reproduced without Rubidium.
Have encountered this problem too.
Was tested with Rubidium, Rubidium Extra, Rubidium Dynamic Lights, Starlight. All mods are latest.
Tetra's enchantment glitters are OFF.
On personal test kitchen sink(333 mods) in barren superflat:
Rendering a few unimproved items(only tetra's materials & module types, same below) causes fps drop from 230 to around 50
Rendering a whole chest of somewhat improved items causes fps drop to 7
Rendering one item with many improvements causes fps drop to around 35
Without Rubidium, fps drop still exists, but not that severe as mentioned above.
I seem to have found the problem
This problem is caused by startup java arguments
This problem does not occur when you start the game without any java arguments
I think those of us with problems can try removing the java arguments and try again
For example me, the java arguments I use is this one below
-XX:+UseG1GC -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -Dfml.ignoreInvalidMinecraftCertificates=True -Dfml.ignorePatchDiscrepancies=True -Dlog4j2.formatMsgNoLookups=true
I seem to have found the problem This problem is caused by startup java arguments This problem does not occur when you start the game without any java arguments I think those of us with problems can try removing the java arguments and try again For example me, the java arguments I use is this one below
-XX:+UseG1GC -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -Dfml.ignoreInvalidMinecraftCertificates=True -Dfml.ignorePatchDiscrepancies=True -Dlog4j2.formatMsgNoLookups=true
Incidentally, I can add that even if I don't add java arguments when using the HMCL launcher, the frame rate will be reduced, but only when I add java arguments when using the PolyMC launcher.
I seem to have found the problem This problem is caused by startup java arguments This problem does not occur when you start the game without any java arguments I think those of us with problems can try removing the java arguments and try again For example me, the java arguments I use is this one below
-XX:+UseG1GC -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -Dfml.ignoreInvalidMinecraftCertificates=True -Dfml.ignorePatchDiscrepancies=True -Dlog4j2.formatMsgNoLookups=true
Incidentally, I can add that even if I don't add java arguments when using the HMCL launcher, the frame rate will be reduced, but only when I add java arguments when using the PolyMC launcher.
I think this should be the problem, please ask the author has time to test it?
@mickelus
There are two cases and the test conditions are described below:
- Use HMCL launcher, install rubidium, and then you will have this problem
- Use PolyMC launcher, install rubidium, add the java arguments as described above, and then you will get this problem