mojira.dev
MC-306505

minecraft no longer works on wayland

snapshot 26.1 7 works well, but 26.1 8 and 26.1.9 does not work under wayland,

WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/bai/games/portablegame/PrismLauncher/libraries/net/java/dev/jna/jna/5.17.0/jna-5.17.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
[20:06:58] [Datafixer Bootstrap/INFO]: 291 Datafixer optimizations took 485 milliseconds
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by org.joml.MemUtil$MemUtilUnsafe (file:/bai/games/portablegame/PrismLauncher/libraries/org/joml/joml/1.10.8/joml-1.10.8.jar)
WARNING: Please consider reporting this to the maintainers of class org.joml.MemUtil$MemUtilUnsafe
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[20:07:03] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, profilesHost=https://api.mojang.com, name=PROD]
[20:07:03] [Render thread/INFO]: Setting user: Baturax
[20:07:03] [Render thread/INFO]: Backend library: LWJGL version 3.4.1+2
[20:07:04] [Render thread/WARN]: Failed to get system info for Render Extensions
java.lang.IllegalStateException: Can't getDevice() before it was initialized
	at com.mojang.blaze3d.systems.RenderSystem.getDevice(RenderSystem.java:293)
	at net.minecraft.client.Minecraft.lambda$fillSystemReport$2(Minecraft.java:2515)
	at net.minecraft.SystemReport.setDetail(SystemReport.java:91)
	at net.minecraft.client.Minecraft.fillSystemReport(Minecraft.java:2515)
	at net.minecraft.client.Minecraft.fillReport(Minecraft.java:2485)
	at net.minecraft.client.main.Main.main(Main.java:241)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:115)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
---- Minecraft Crash Report ----
// Would you like a cupcake?
Time: 2026-02-18 20:07:04
Description: Initializing game
java.lang.IllegalStateException: Failed to initialize GLFW, errors: [GLFW 0x1000E] X11: Failed to open display :0
	at com.mojang.blaze3d.platform.GLX._initGlfw(GLX.java:59)
	at com.mojang.blaze3d.systems.RenderSystem.initBackendSystem(RenderSystem.java:192)
	at net.minecraft.client.Minecraft.<init>(Minecraft.java:498)
	at net.minecraft.client.main.Main.main(Main.java:232)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:115)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
	at com.mojang.blaze3d.platform.GLX._initGlfw(GLX.java:59)
	at com.mojang.blaze3d.systems.RenderSystem.initBackendSystem(RenderSystem.java:192)
	at net.minecraft.client.Minecraft.<init>(Minecraft.java:498)
-- Initialization --
Details:
	Modules: 
Stacktrace:
	at net.minecraft.client.main.Main.main(Main.java:232)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:115)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
-- System Details --
Details:
	Minecraft Version: 26.1 Snapshot 9
	Minecraft Version ID: 26.1-snapshot-9
	Operating System: Linux (amd64) version 6.18.10_1
	Java Version: 25.0.2, Eclipse Adoptium
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
	Memory: 264245576 bytes (252 MiB) / 536870912 bytes (512 MiB) up to 4294967296 bytes (4096 MiB)
	Memory (heap): init: 512MiB, used: 256MiB, committed: 512MiB, max: 4096MiB
	Memory (non-head): init: 007MiB, used: 104MiB, committed: 105MiB, max: 000MiB
	CPUs: 8
	Processor Vendor: AuthenticAMD
	Processor Name: AMD Ryzen 5 7520U with Radeon Graphics
	Identifier: AuthenticAMD Family 23 Model 160 Stepping 0
	Microarchitecture: unknown
	Frequency (GHz): -0.00
	Number of physical packages: 1
	Number of physical CPUs: 4
	Number of logical CPUs: 8
	Graphics card #0 name: Mendocino [Radeon 610M]
	Graphics card #0 vendor: Advanced Micro Devices, Inc. [AMD/ATI] (0x1002)
	Graphics card #0 VRAM (MiB): 258.00
	Graphics card #0 deviceId: 0x1506
	Graphics card #0 versionInfo: unknown
	Virtual memory max (MiB): 24040.37
	Virtual memory used (MiB): 7554.75
	Swap memory total (MiB): 16384.00
	Swap memory used (MiB): 703.54
	Space in storage for jna.tmpdir (MiB): <path not set>
	Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): <path not set>
	Space in storage for io.netty.native.workdir (MiB): <path not set>
	Space in storage for java.io.tmpdir (MiB): available: 7633.30, total: 7656.38
	Space in storage for workdir (MiB): available: 35203.40, total: 103551.00
	JVM Flags: 2 total; -Xms512m -Xmx4096m
	Debug Flags: 0 total; 
	Launched Version: 26.1-snapshot-9
	Launcher name: PrismLauncher
	Backend library: LWJGL version 3.4.1+2
	Backend API: Unknown
	Window size: <not initialized>
	GFLW Platform: <error>
	Render Extensions: ERR
	GL debug messages: <no renderer available>
	Is Modded: Probably not. Client jar signature and brand is untouched
	Universe: 404
	Type: Client
	Locale: en_US
	System encoding: UTF-8
	File encoding: UTF-8
	CPU: 8x AMD Ryzen 5 7520U with Radeon Graphics
#@!@# Game crashed! Crash report saved to: #@!@# /bai/games/portablegame/PrismLauncher/instances/26.1-snapshot-9/minecraft/crash-reports/crash-2026-02-18_20.07.04-client.txt
Process exited with code 255.

Environment

void linux, niri (wayland)

Comments 0

No comments.

bai

(Unassigned)

Unconfirmed

(Unassigned)

26.1 Snapshot 9

Retrieved