GTNewHorizons / Angelica

OptiFine replacement for 1.7.10
Other
259 stars 50 forks source link

UI darkening/flickering if logistic pipes are in inventory and GL State Cache is enabled #540

Closed KnightosMaster closed 3 weeks ago

KnightosMaster commented 4 months ago

Your GTNH Discord Username

Knightos

Mod Version

1.0.0-alpha50

Java Version

Java 21

Graphics Card Vendor

NVidia

Bug Report

Whenever I have any logistic pipes in my inventory the UI flickers between regular and "dark" mode. Regular: 24-07-03-15:43:38 Dark: 24-07-03-15:43:49 I tried to capture a gif of the flickering but it's probably too fast for it. Interestingly the flickering appears in different places in different cases. If the item is in my hand, the UI is dark, but if I pull the chat up it starts flickering (along with the whole ui) If the item is not my hand, the UI flickers, but if I pull the chat up that does not flicker, the chat itself is not dark but the UI stays dark. If the item is not on the hotbar, nothing flickers and it is not dark.

501 also holds true, and also shows to the Personal Dimension Portal, in fact all the items that are affected by the bug are dark in NEI, while others are not, you can see in the image below that it is darker than usual.

24-07-03-15:53:09 Other items like the Treasure Chest Tier 3 which you can see is not dark is not affected by default, but turns dark whenever a pipe is connected to it. 24-07-03-15:54:57 24-07-03-15:55:01

I am on Linux, using the NVidia driver 550.90.07, and am using X11. Turning off the GL State Cache fixes all of the above issues.

Mod List or GTNH Pack Version

GTNH 2.6.1

Final Checklist

Caedis commented 4 months ago

@mitchej123 think this could be renderPass related? https://github.com/search?q=repo%3AGTNewHorizons/LogisticsPipes%20renderPass&type=code

Cleptomania commented 3 weeks ago

This was fixed in Logistics Pipes