Jab125 / forge-early-loading-screen

Port of (Neo)Forge's earlydisplay to Fabric
GNU Lesser General Public License v2.1
7 stars 0 forks source link

Crashes under linux with Wayland #8

Open nathm-bit opened 2 months ago

nathm-bit commented 2 months ago

I am running Minecraft under native wayland with this patch: https://github.com/Admicos/minecraft-wayland The game seems to crash as soon as the early loading screen is done. I can see in the logs that I get this error related to wayland.

[14:44:32] [Render thread/WARN]: Failed to create window: net.minecraft.class_1041$class_4716: GLFW error 65548: Wayland: The platform does not provide the window position

I tried applying this fix from NeoForge, it kind of worked, however the error still happens, this time with no Minecraft crash report, just an error, seemingly because its being called somewhere else in the mod.

logs: https://mclo.gs/Ij7g5cp Logs with patch from neoforge: https://mclo.gs/WmIzgoh

Jab125 commented 2 months ago

Does it work now in 0.6.0? I've updated it to the latest NeoForge and FancyModLoader version.

Also, does it work in NeoForge?

nathm-bit commented 2 months ago

It seems like it's still not working. It does seem for sure it's being called outside of the NeoForge code because it does work when I use NeoForge, also I can see by when it handles the GLFW error in the logs that it's way before the error I'm getting.

I also did test it with no other mods present so that's not an issue either.

Logs: https://mclo.gs/iOQbGn3

Note: i did set the error handler in DisplayWindow.java to use logger.error instead of debug so I could see it.