WayFix icon indicating copy to clipboard operation
WayFix copied to clipboard

Not really a bug but Performance impact

Open Mafy-17 opened this issue 1 year ago • 15 comments

When using sodium shaders and distant horizon and few texturepacks one of which is fresh animations Fps goes from 50[low]-60[avg also fps limit] to 30-44 fps with wayfix and wayland-glfw about 35% impact mc version 1.20.1- latest mod version for 1.20.1 Note: not a propper test just something I noticed and also this is not a full modlist since I noticed this in a modpack of mine Also this test was performed on a server not in singleplayer

Mafy-17 avatar Dec 16 '24 16:12 Mafy-17

Agreed with the performance impact.

umbrageodotus avatar May 10 '25 18:05 umbrageodotus

Can confirm. My gpu gets limited to like 60-70% usage (RTX 4070, Linux). Removing this mod gets me back to 99%.

renhiyama avatar May 12 '25 06:05 renhiyama

What GPU do y'all have? AMD/Nvidia?

Damglador avatar Jun 01 '25 21:06 Damglador

What GPU do y'all have? AMD/Nvidia?

Nvidia rtx 2060

Mafy-17 avatar Jun 01 '25 21:06 Mafy-17

Nvidia on Wayland moment. I tested Barony on Xwayland and Wayland, my Nvidia GPU also caps at 67% usage on Wayland, but on Xwayland goes all the way to 100%. So I guess there's nothing the mod author can do. I bet the mesa driver doesn't inherit this issue, but its performance is even worse

Damglador avatar Jun 01 '25 21:06 Damglador

Mine's Nvidia RTX 4070

renhiyama avatar Jun 02 '25 15:06 renhiyama

I have Intel Xe 😭

umbrageodotus avatar Jun 07 '25 13:06 umbrageodotus

no way this is actually unsolvable

prufaraSS avatar Jul 16 '25 18:07 prufaraSS

no way this is actually unsolvable

Whose to say

Mafy-17 avatar Jul 22 '25 12:07 Mafy-17

It seems like the game is actually running at way higher than native resolution in some cases with this mod enabled

My display is 2560x1440, but the game runs at 4452x2504 even with the in-game resolution set to "Current"

https://github.com/not-coded/WayFix/issues/47

Luracasmus avatar Jul 30 '25 14:07 Luracasmus

using the newest LWJGL and passing path to it through java args fixed the issue: -Dorg.lwjgl.librarypath=/usr/share/lwjgl/lwjgl-glfw/lwjgl-glfw-natives-linux.jar

prufaraSS avatar Sep 07 '25 10:09 prufaraSS

using the newest LWJGL and passing path to it through java args fixed the issue:

does not work for me, downloaded from lwjgl-glfw-natives-linux.jar https://www.lwjgl.org/browse/stable/bin/lwjgl-glfw

road2react avatar Dec 15 '25 01:12 road2react

swapBuffers is slow and waits (for unknown), limiting fps

road2react avatar Dec 23 '25 07:12 road2react

setting env var __NV_DISABLE_EXPLICIT_SYNC=1 fixed the issue

road2react avatar Dec 23 '25 07:12 road2react

It seems like the game is actually running at way higher than native resolution in some cases with this mod enabled

My display is 2560x1440, but the game runs at 4452x2504 even with the in-game resolution set to "Current"

#47

Yeah this is the same issue I'm having. Ironically I installed the mod to fix that issue. Without the mod, on my external monitor it would run at a higher resolution, but with the mod it runs native. On my internal screen, with the mod it runs higher resolution, but without the mod it runs native resolution.

Butterscotch-P1e avatar Nov 05 '26 17:11 Butterscotch-P1e