Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Breaks shaders, degrades performance of some shaders and doesn't load shaders :O #1013

Open
VOLKOUL opened this issue Dec 6, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@VOLKOUL
Copy link

VOLKOUL commented Dec 6, 2024

Describe the bug
This started with the Photon shaders. They failed to load ~80% of the the time and when they did, performance dropped from 130fps to 20fps. My game crashed with Photon a few times. Complementary got affected soon afterwards. (see screenshots below)

Log: https://mclo.gs/cVi5SRO (ignore resource pack spam lol) Crash: https://mclo.gs/w4OzQ2R
Latest release of Physics Mod has the same issue: https://mclo.gs/Vq1cQOh

Screenshots
2024-12-06_16 30 05

Minecraft Version: <1.21.1>
Physics Mod Version: <v172 NeoForge 1.21.1>

Could this be a config issue?

@VOLKOUL VOLKOUL added the bug Something isn't working label Dec 6, 2024
@VOLKOUL
Copy link
Author

VOLKOUL commented Dec 6, 2024

I think part of it was config related. I deleted the old config file and reconfigured the mod. Performance seems to be a lot better now. I will close the issue for now and try and do some more observations.

@VOLKOUL VOLKOUL closed this as completed Dec 6, 2024
@VOLKOUL VOLKOUL reopened this Dec 6, 2024
@VOLKOUL
Copy link
Author

VOLKOUL commented Dec 6, 2024

So the Photon shader lag SEEMS to be gone, but Complementary 4.7.2 (not to be confused with the latest release) still behaves like in the screenshot attached. There are also noticeable fps drops in other shaders.

@haubna
Copy link
Owner

haubna commented Dec 7, 2024

You have a lot of mods installed, can you reproduce this issue with only iris + sodium + physics mod?

@VOLKOUL
Copy link
Author

VOLKOUL commented Dec 8, 2024

No, I can't reproduce this with a minimal set of mods :D it seems to be a mod incompatibility. I am in the process of thanossnapping my modpack to determine the cause. I thought I had found the problematic mod at first but turns out the issue doesn't happen every time and I missed it. I will give an update soon.

@haubna
Copy link
Owner

haubna commented Dec 9, 2024

Much appreciated, thanks!

@VOLKOUL
Copy link
Author

VOLKOUL commented Dec 9, 2024

Sooo forget about me saying that I can't reproduce this with just Physics Mod, Sodium and Iris because unfortunately I can. The issue seems to be caused by Physics Mod (and Iris, duh). Since the bug doesn't happen every time I initially thought that there was another mod causing this, sorry for the misinformation. I made a fresh installation with just the three mods mentioned above and removing Physics Mod makes the issue disappear (AT LEAST FROM WHAT I'VE OBSERVED, I HOPE I'M NOT WRONG AGAIN AAA) Here's the clean Log: https://mclo.gs/ioB1PoI I also asked about this in the Iris discord before making the bug report here and they said that it was caused by Physics Mod, I just wasn't sure and thought that doing some testing wouldn't do bad. I will upload a video demonstrating the issue soon.

@haubna
Copy link
Owner

haubna commented Dec 10, 2024

It seems like some shaders are not properly linking on your system. Even ones that the physics mod doesn't even touch. I don't know why that happens though. You could try newer versions of Minecraft (1.21.4) and see if that problem still persists there. Oh and could you use the Complementary shaderpack for testing? Photon isn't officially supported by the physics mod so there might be issues due to that.

[17Nov2024 16:14:08.802] [Render thread/WARN] [com.mojang.blaze3d.shaders.ProgramManager/]: Error encountered when linking program containing VS entities_alpha and FS entities_alpha. Log output:
4430 | [17Nov2024 16:14:08.803] [Render thread/WARN] [com.mojang.blaze3d.shaders.ProgramManager/]: Link info
4431 | ---------
4432 | error: interpolation modifier mismatch for varying parameter (named tbn) between shader stages
4433

@haubna
Copy link
Owner

haubna commented Dec 10, 2024

Ok from my testing it appears to be a problem with the Photon shaderpack. In 1.21.4 however it simply doesn't load the shaderpack and switches to the default vanilla one. I will look further into it.

@haubna
Copy link
Owner

haubna commented Dec 11, 2024

I've fixed the Photon shaderpack to now load with the physics mod in 1.21.4, if you want ocean physics support you can ask the shaderpack creator to implement it. All the information about it can be found here: https://github.com/haubna/PhysicsMod

@VOLKOUL
Copy link
Author

VOLKOUL commented Dec 11, 2024

Thank you! Any possibility that 1.21.1 gets the fix too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants