Exordium icon indicating copy to clipboard operation
Exordium copied to clipboard

Some elements flicker when rendered

Open Karashok-Leo opened this issue 10 months ago • 29 comments

When turning off forceUpdates in the hotbarSettings to fix some sluggish updates to the hotbar, some elements start flickering, including some of the tab icons as well as the entities rendered in the modonomicon's book. This issue occurs in the modpack Spell Dimension.

Karashok-Leo avatar Jan 10 '25 15:01 Karashok-Leo

This mod is not designed to work in Modpacks (especially if they do anything to the UI). You can try to use the latest dev build from Actions, that might fix something about the flickering. grafik

tr7zw avatar Jan 10 '25 16:01 tr7zw

Hi tr7zw,

How can i download builds from the action tab? :)

MennoGamed avatar Jan 10 '25 16:01 MennoGamed

Clicking on Actions at the top, then the top main branch build, at the bottom is an Artifact download button grafik In that zip is the latest build for each version. During the attempt to update for 1.21.3/4 I did notice an issue that I fixed, this might resolve the flickering(or not). Currently going into f5 in 1.21.4 just entirely crashes the graphics 😅.

tr7zw avatar Jan 10 '25 16:01 tr7zw

Now you're forcing me to open my F5 screen in 1.21.4! 😂 And yet, I'm going to try running it in that version to see what I can find xD

MennoGamed avatar Jan 10 '25 16:01 MennoGamed

2025-01-10_17 47 37

Surprise! My F5 in 1.21.4 seems to work without any issues.

MennoGamed avatar Jan 10 '25 16:01 MennoGamed

Huh, in my install I had to delete the dev build of the mod after it really badly crashed my game. Just shows what a total nightmare it is to work on and debug this mod.

tr7zw avatar Jan 10 '25 16:01 tr7zw

Yes, understandable. I personally think it's one of the best mods I could wish for. If there's anything I can help with, feel free to let me know. I'm happy to help 🤗

MennoGamed avatar Jan 10 '25 16:01 MennoGamed

https://github.com/user-attachments/assets/96f1742a-9037-4dfc-88b2-f2b9608a2cc0

Gave it a shot again, can't confirm 😅

tr7zw avatar Jan 10 '25 17:01 tr7zw

Bruh, how though haha. I used the latest dev build, and I’m not having any issues at all 🫤

MennoGamed avatar Jan 10 '25 17:01 MennoGamed

grafik Pause menu also just turning the entire screen black. God knows whats going on there.

tr7zw avatar Jan 10 '25 17:01 tr7zw

afbeelding

Somehow, works for me. Maybe it's because of Feather?

MennoGamed avatar Jan 10 '25 17:01 MennoGamed

Turning off all buffering still breaks the pause menu, so theres something fundementally broken there. Apparently Fast Crosshair breaks F5. Also I'm suprised Feather runs at all with Exordium.

tr7zw avatar Jan 10 '25 17:01 tr7zw

I'm dumb, Fast Crosshair is broken with ImmediatlyFast due to general implementation details, and I do have that installed. I really need to just remove that option and turn it off when ImmediatlyFast is installed.

tr7zw avatar Jan 10 '25 17:01 tr7zw

afbeelding

Not just Feather client, I’m running almost 50 other mods too haha. If you want, I can make a .zip or .rar and send them.

afbeelding afbeelding

These are some basic settings, along with the settings of the mod itself.

MennoGamed avatar Jan 10 '25 17:01 MennoGamed

XSDeyYkXiL.mp4  Suxdeoxyl.MP4 Gave it a shot again, can't confirm 😅又试了一次,无法确认 😅

The flickering I've encountered is different from this, acting as a shift in brightness that doesn't affect normal play.

Karashok-Leo avatar Jan 10 '25 17:01 Karashok-Leo

Does the dev build fix it? I think it was double rendering some stuff, causing transparency to flicker.

tr7zw avatar Jan 10 '25 17:01 tr7zw

The mod is definitely a mess. Maybe you can test if you experience the same thing with no other mods installed on your own PC? For me, everything works without any issues, as you could read. For tr7zw, it doesn't work at all. These would be 3 different results with 1 mod xD

MennoGamed avatar Jan 10 '25 17:01 MennoGamed

https://github.com/user-attachments/assets/d591dbb3-8328-4d15-b78c-38c576ac6dc1

Arg, I see whats going on. When its doing the pause menu blur, Exordium has the blend mode in the wrong state, breaking the blur. Because for some reason, the world behind the hud is at 0% alpha at that point, because why not.

tr7zw avatar Jan 10 '25 17:01 tr7zw

Well, this was 3+ hours well spent. Tons of debugging, tons of fixing weird crap. Looks like it's now all working without blowing up, with and without mods, even might have patched #164 somehow? I think #160 got fixed by this too(probably more issues too).

If there's anything I can help with, feel free to let me know. I'm happy to help 🤗

Testing this latest dev build on different versions/with other mods. At least with my setup I can't find any issues right now: grafik

tr7zw avatar Jan 10 '25 20:01 tr7zw

Sorry for forgetting to mention, my game version is 1.20.1 and I can't find a dev build for it. are you no longer maintaining this version?

Karashok-Leo avatar Jan 11 '25 03:01 Karashok-Leo

Correct, only the versions in that zip are currently maintained. I can try to expand it down to older versions, but Mc had tons of breaking changes, making this rather tricky.

tr7zw avatar Jan 11 '25 11:01 tr7zw

2025-01-11_14 55 14

Just gave the latest build a quick test, and everything seems to be running stably. I'm now getting about 400 FPS more than without the mod! It's crazy to realize how much rendering power is wasted on useless parts of the game.

MennoGamed avatar Jan 11 '25 13:01 MennoGamed

Currently already 2 hours in trying to get 1.20.4 to work correctly, but after patching all the code the debug screen refuses to render for some reason. Fun times. Update: I'm dumb, copy paste fail while backporting code.

tr7zw avatar Jan 11 '25 13:01 tr7zw

Welp, spent basically the entire day on it, but there is a 1.20.1 build now to test.

tr7zw avatar Jan 11 '25 16:01 tr7zw

2 more hours later, somehow get xaerosmimimap to behave correctly in a buffer too 🤔

tr7zw avatar Jan 11 '25 19:01 tr7zw

https://github.com/user-attachments/assets/77ff70a2-1163-435a-98b2-5d2fe340f35f

Unfortunately the dev build still doesn't solve this problem.

Karashok-Leo avatar Jan 12 '25 08:01 Karashok-Leo

UHHHH that looks like a bug of that book ui. It uses renderstate stuff that was set before, without setting it to whatever it really wants. I can try to better fake the "expected" state which will eat more performance, but in the end, the book ui should just set stuff to what it actually wants^^. Also that's not an important bug, I thought your issue was about some part of the UI flickering during gameplay, not a screen.

tr7zw avatar Jan 12 '25 14:01 tr7zw

In addition to the book, the vanilla creative inventory tab icon flickers, and I'm only showing the book because it looks more obvious

Karashok-Leo avatar Jan 13 '25 02:01 Karashok-Leo

Can't reproduce it in vanilla 1.20.1 or 1.21.4 with that setting. Possible it's some side effect of another mod in combination?

tr7zw avatar Jan 13 '25 07:01 tr7zw