Back to mods
GLFW X11 Fix project artwork

CurseForge · Minecraft mod

GLFW X11 Fix

Fixes GLFW X11 crashes with high file descriptors on Linux using GLFW natives from LWJGL 3.3.3.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which GLFW X11 Fix release matches 1.19.1?

Updated last month
Best match for your filters glfw-x11-fix-1.0.0.jar
Game version 1.19.3, 1.19.4, 1.20.1
Loader Fabric

GLFW X11 Fix glfw-x11-fix-1.0.0.jar targets 1.19.3, 1.19.4, 1.20.1 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is GLFW X11 Fix required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does GLFW X11 Fix glfw-x11-fix-1.0.0.jar need?

glfw-x11-fix-1.0.0.jar on 1.19.1. Every mod below is checked against that same setup.

No extra mods listed for this file

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 glfw-x11-fix-1.0.0.jar on 1.19.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use glfw-x11-fix-1.0.0.jar. It targets 1.19.3, 1.19.4, 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 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.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside glfw-x11-fix-1.0.0.jar. 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 replaces select() 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 CurseForge.

Pick your setup

GLFW X11 Fix by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

7 available setups

Check 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 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.