You are not logged in.

#1 2026-07-17 05:42:43

XIAYM
Member
Registered: 2026-07-01
Posts: 4

[SOLVED] Unable to play Minecraft under native wayland

Currently I'm using an intel-nvidia hybrid display strategy under KDE Plasma 6.7.3.
The game displays as fully transparent. Audio works, taskbar icon showed, but the game doesn't render at all.

Minecraft Version: 26.3-snapshot-4, which has switched the backend to SDL3

Kernel version: 7.1.3

CPU: i7-13620H
Mesa: 3:26.1.5-1

GPU: 4060 Laptop
Nvidia Driver: 580.173.02
nvidia_drm.modeset=1: yes
nvidia_drm.fbdev=1: yes

I've also disabled GSP due to various bugs via setting

options nvidia NVreg_EnableGpuFirmware=0

Besides, I've tried using XWayland, under which the OpenGL can't be initialized due to

com.mojang.renderpearl.api.device.BackendCreationException: OpenGL is not supported: Could not retrieve OpenGL functions
	at com.mojang.renderpearl.backend.opengl.GlBackend.loadLibrary(GlBackend.java:36)
	at net.minecraft.client.Minecraft.<init>(Minecraft.java:515)
	at net.minecraft.client.main.Main.main(Main.java:278)
	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)

Any suggestions here?

Last edited by XIAYM (2026-07-17 07:39:56)

Offline

#2 2026-07-17 05:44:08

XIAYM
Member
Registered: 2026-07-01
Posts: 4

Re: [SOLVED] Unable to play Minecraft under native wayland

Note: I didn't specify any custom environment variable, only enabling the "Use discrete GPU" option in Prism Launcher.

Versions other than 26.3-snapshot-4 don't render under native wayland too.

I switched from nvidia-open because it depends on GSP, which crashes my GPU frequently, but enabling it doesn't make my game work sad

Even only using nvidia gpu, it doesn't work. What the hell?

Last edited by XIAYM (2026-07-17 06:02:08)

Offline

#3 2026-07-17 06:43:03

XIAYM
Member
Registered: 2026-07-01
Posts: 4

Re: [SOLVED] Unable to play Minecraft under native wayland

UPDATE: I've resolved this issue by setting __GL_THREADED_OPTIMIZATIONS to 0.

Well done, Nvidia! smile

Offline

#4 2026-07-17 07:12:03

SimonJ
Member
From: Spain
Registered: 2021-05-11
Posts: 347
Website

Re: [SOLVED] Unable to play Minecraft under native wayland

I am glad you fixed it, can you please mark this thread as resolved by editing the title of post #1.


Rlu: 222126

Offline

#5 2026-07-17 07:35:20

XIAYM
Member
Registered: 2026-07-01
Posts: 4

Re: [SOLVED] Unable to play Minecraft under native wayland

Okay, thanks for noticing!

Offline

Board footer

Powered by FluxBB