Description:
When you run Minecraft with system GLFW library (to run minecraft on Wayland natively, without XWayland), the game crashes.
Steps to reproduce:
Install
glfw-wayland-minecraft-cursorfix,glfw-waylandorglfwpackage from Arch repositoryUse this library with Minecraft (using Prism Launcherβs settings or by adding
-Dorg.lwjgl.glfw.libname=/usr/lib/libglfw.so.3.4to Java VM optionsRun Minecraft 26.1.1
Expected result:
Minecraft launches normally, using Wayland (without XWayland).
Actual result:
The game crashes with NullPointerException in glfwSetPreeditCallback β this function appears to be a Mojang-specific patch to GLFW and is not present in upstream GLFW, causing LWJGL to receive a null pointer.s).
Logs:
Crash report: https://mclo.gs/7BTGHRC
Latest.log: https://mclo.gs/5dexS5u
Environment
OS: Arch Linux, kernel 6.19.10; GPU: NVIDIA RTX 4060, driver 595.58.03; Java: 25.0.1 (Microsoft); LWJGL: 3.4.1
Attachments
Comments 2
Hi!
Thank you for your report!
However, this issue is Invalid
Your game, launcher or server is modified.
If you can reproduce the issue in a vanilla environment, please recreate the issue.
Any non-standard client/server/launcher build needs to be taken up with the appropriate team, not Mojang.
A world which had previously been opened with a modified client might be corrupted. Please try reproducing the issue in a newly generated world.
Any plugin issues need to be addressed to the creator of the plugin or resource pack.
If you have problems on large servers like Hypixel, please contact them first as they run modified server software.
Quick Links:Β
πβ―Issue Guidelinesβ―β π¬β―Mojang Supportβ―β π§β―Suggestionsβ―β πβ―Minecraft Wiki
Thank you for helping us improve Minecraft! We saved your files: