Tetra

Tetra

12M Downloads

[Bug] tetra weapons drastically reduce fps

SeanChengN opened this issue · 16 comments

commented

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
tetra-5
FPS Changed: 525 → 465 → 445 → 475 → 530 (drop 85)

[2] My modpack
tetra-6
FPS Changed: 160 → 80 → 28 → 80 → 165 (drop 137)

Expected behaviour

No fps drop

Steps to reproduce

  1. Modify parts at will.
  2. Put weapons in your hand or in a chest or inventory.
  3. 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)

commented

Whether it's a drop, inventory, or handheld, as long as you can see the item, the fps will decrease

commented

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

commented

Yes, I also found this problem

commented

tetra-1.18.2-4.9.2 still the same.

commented

I'm unable to reproduce this issue.

commented

I'm unable to reproduce this issue.

More details:
Turn off vertical sync, the maximum frame rate is unlimited, others keep the default.
tetra-7

In order to rule out the problem of fps display, I replaced it with FPS-Monitor-1.18.2-1.2.1, the issue remains.

commented

me too

commented

the fps reducing changes with the weapons, and i found this reduces the most
)4B8Q5(1_D`X{9TXPSBI@OA

commented

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.

commented

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.

commented

I don't know why, I don't have this problem recently

commented

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.

commented

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

commented

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.

commented

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:

  1. Use HMCL launcher, install rubidium, and then you will have this problem
  2. Use PolyMC launcher, install rubidium, add the java arguments as described above, and then you will get this problem
commented

Closing, scrapped the item renderer.