LiquidBounce icon indicating copy to clipboard operation
LiquidBounce copied to clipboard

[BUG] Animations in the HUD are incredibly laggy

Open VillainsRule opened this issue 2 months ago • 13 comments

LiquidBounce Branch

Nextgen

LiquidBounce Build/Version

0.32.1 dev a2a7250

Operating System

macOS

Minecraft Version

1.21.4

Describe the bug

The HUD is SUPER laggy with rotations on bad computers, specifically Macs with limited CPU and low-end Windows computers.

LiquidBounce should have a setting to entirely turn all animations for things sliding in, fading out, disappearing, etc OFF.

This can easily be achieved with CSS variables.

This is NOT a feature request; it is an issue with a solution attached.

VillainsRule avatar Oct 01 '25 02:10 VillainsRule

Depending on what your computer specs are, check if you have XMP enabled in your BIOS, since one user was able to fix their ClickGUI lags by enabling XMP in their BIOS, but it depends on your setup if you can use XMP.

NULLYUKI avatar Oct 02 '25 13:10 NULLYUKI

Depending on what your computer specs are, check if you have XMP enabled in your BIOS, since one user was able to fix their ClickGUI lags by enabling XMP in their BIOS, but it depends on your setup if you can use XMP.

I'm using a computer at my school with a bad processor. Not sure I can actually access the BIOS.

VillainsRule avatar Oct 02 '25 14:10 VillainsRule

Also, this happens on Macs, which don't have a BIOS.

VillainsRule avatar Oct 02 '25 14:10 VillainsRule

This has nothing to do with the BIOS, the high GPU usage is simply due to the poor execution efficiency of CSS. Lowering the window resolution can solve it.so idk

Chasteful avatar Oct 03 '25 04:10 Chasteful

This has nothing to do with the BIOS, the high GPU usage is simply due to the poor execution efficiency of CSS. Lowering the window resolution can solve it.so idk

How is this done on Prism Launcher/MacOS?

VillainsRule avatar Oct 03 '25 18:10 VillainsRule

What are the specs and version of the Mac that you are using?

NULLYUKI avatar Oct 06 '25 18:10 NULLYUKI

8gb ram, Mac M1, mac CPU/GPU/etc

VillainsRule avatar Oct 06 '25 20:10 VillainsRule

We do not own Apple devices, so it is very unlikely to be addressed. Though it is probably very easy to solve, since CEF uses GL/Metal to draw and we could just use the GL texture handle instead of texture uploading.

1zun4 avatar Oct 24 '25 09:10 1zun4

We do not own Apple devices, so it is very unlikely to be addressed. Though it is probably very easy to solve, since CEF uses GL/Metal to draw and we could just use the GL texture handle instead of texture uploading.

I don't know if this could be reproduced inside of a VM if you limited the memory and CPU. I'm still using the first Apple Silicon Mac released in 2020 (with the worst specs). This is a daily struggle.

VillainsRule avatar Oct 24 '25 11:10 VillainsRule

What Java runtime are you using to use LiquidBounce?

NULLYUKI avatar Oct 25 '25 03:10 NULLYUKI

When playing (I have less issues due to memory allocation being 3/4 of my computer)

Image

In development (I cannot allocate as much memory due to VSCode)

Image

Oracle for play, Homebrew OpenJDK or whatever for dev

VillainsRule avatar Oct 25 '25 19:10 VillainsRule

Make sure you are using an ARM installation of Java/Java runtime for good performance, since you have an ARM CPU.

NULLYUKI avatar Oct 26 '25 13:10 NULLYUKI

Image

Both report to be ARM installations.

VillainsRule avatar Oct 26 '25 14:10 VillainsRule