
Modrinth · Minecraft mod
GLFW X11 Fix
Fixes GLFW X11 crashes with high file descriptors on Linux using GLFW natives from LWJGL 3.3.3.
Quick answer
Which GLFW X11 Fix release should I use?
GLFW X11 Fix 1.0.0 targets 1.19, 1.19.1, 1.19.2 with Fabric. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.
Where it goes
Is GLFW X11 Fix required on the client, server, or both?
It must be installed on the client. Do not install it on the dedicated server.
This file is marked client-only.
What else does GLFW X11 Fix 1.0.0 need?
1.0.0. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add GLFW X11 Fix without breaking your instance.
Built for GLFW X11 Fix 1.0.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.0. It targets 1.19, 1.19.1, 1.19.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
It must be installed on the client. Do not install it on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.
About this project
What does GLFW X11 Fix add?
Fixes GLFW/X11 crashes in Minecraft 1.19–1.20.1 modpacks on Linux x86_64 and ARM64.
Some modpacks open enough files for the X11 connection's file descriptor to
reach 1024 or higher. Older GLFW versions use select()/FD_SET, which cannot
handle these descriptor numbers and can crash the game.
Fabric Loader opens 2 file descriptors for each mod. Some mods also open additional file descriptors.
So if the displayed mod count (not the number of JAR files) exceeds around 450,
you most likely need this mod on the affected Minecraft versions.
This mod bundles GLFW natives from LWJGL 3.3.3 containing the upstream fix
discussed in GLFW PR #2024. It replacesselect() with poll() for X11 event waiting, fixing the crash without
reducing the number of open files.
Compatibility issues are not expected: adding the mod serves the same purpose
as pointing LWJGL at the updated GLFW library through a JVM argument such as-Dorg.lwjgl.glfw.libname=.... It does not modify Minecraft's Java code or
replace the LWJGL Java bindings.
The mod includes libglfw.so for Linux x86_64 and ARM64. Windows and macOS continue using
their normal native libraries, so adding the mod to a shared modpack is not
expected to affect the game on those platforms.
Project description from Modrinth.
Pick your setup
GLFW X11 Fix by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20
1 loader build1.19.4
1 loader build1.19.3
1 loader build1.19.2
1 loader build1.19.1
1 loader build1.19
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
GLFW X11 Fix versions and loaders
1.0.0
glfw-x11-fix-1.0.0.jar
7 Sept 2026
Looking for an older file? The official Modrinth project page is in Resources.