
Modrinth · Minecraft mod
Wayland Fix
Run Minecraft natively using Wayland
Quick answer
Which Wayland Fix release should I use?
Wayland Fix 1.1 targets 1.0, 1.1, 1.2.1 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 Wayland 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 Wayland Fix 1.1 need?
1.1. 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 Wayland Fix without breaking your instance.
Built for Wayland Fix 1.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.1. It targets 1.0, 1.1, 1.2.1 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.1. It opens that exact file at the source.
About this project
What does Wayland Fix add?
Note: if you do not use Linux, this mod is not for you
"Wayland is a replacement for the X11 window system protocol and architecture with the aim to be easier to develop, extend, and maintain."
With the increasing popularity of Wayland compositors on Linux, including several desktop environments switching to Wayland by default, application support for Wayland makes the Linux desktop experience all the better.
While Minecraft does run under XWayland, features like per-monitor HiDPI scaling do not function. If you experience problems related to XWayland, this mod is for you.
Requirements
A Wayland-supported system GLFW installation and the following JVM flag is required:
-Dorg.lwjgl.glfw.libname=/usr/lib/libglfw.so
To install the proper GLFW on Arch Linux, run:
sudo pacman -S glfw-wayland
Motivation
I wrote this mod after using Sway WM with a HiDPI display. All XWayland applications look blurry, so it is not an option. The community solution was to patch the system glfw, but I'd rather not do that.
Bug Reports
If you continue to experience problems with Minecraft on Wayland after installing this mod, file a bug report on the issue tracker if it hasn't already been reported.
Project description from Modrinth.
Pick your setup
Wayland Fix by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.6
1 loader build1.20.5
1 loader build1.20.4
1 loader build1.20.3
1 loader build1.20.2
1 loader build1.20.1
1 loader build1.20
1 loader build1.19.4
1 loader build1.19.3
1 loader build1.19.2
1 loader build1.19.1
1 loader buildShowing the newest 12 of 87 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Wayland Fix versions and loaders
1.1
WaylandFix-1.1.jar
18 Jun 2024
1.0
WaylandFix-1.0.jar
3 Dec 2023
Looking for an older file? The official Modrinth project page is in Resources.