Wayland is the new Display Server Protocol for Linux based Operating-Systems. It replaces the X11-Display Server Protocol.
Many distributions will ship Wayland in the next months and it is very important that Minecraft, a such well-known game can run native upon Wayland.
This would increase the security as well as the performance massive.
Minecraft has several critical issues with the compatibility layer XWayland. (MC-92305) (MC-92318) (And more...)
In addition, Linux distributions for smartphones like Sailfish OS, Ubuntu Touch or Tizen are also using Wayland, it would greatly increase the portability and productivity of Minecraft.
Linked issues
is duplicated by 2
relates to 2
Attachments
Comments 24
Minecraft currently runs with the compatibility layer XWayland, this is for legacy applications that don't use the Wayland Display Server Protocol, but instead using the old X11 Protocol.
The difference is, that MC-92305 and MC-92318 are two bugs describing problems when Minecraft is running on this compatibility layer.
Applications, especially games have an extreme overhead, if they are running on the XWayland compatibility layer.
Updated today and tried to run again in fedora 23. Get this below crash. Hope it helps! Thanks for your hard work.
Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.
Time: 4/2/16 7:56 AM
Description: Initializing game
java.lang.ExceptionInInitializerError
at bcc.ar(SourceFile:620)
at bcc.an(SourceFile:428)
at bcc.a(SourceFile:377)
at net.minecraft.client.main.Main.main(SourceFile:124)
Caused by: java.lang.RuntimeException: org.lwjgl.LWJGLException: No modes available
at org.lwjgl.opengl.Display.<clinit>(Display.java:141)
... 4 more
Caused by: org.lwjgl.LWJGLException: No modes available
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:740)
at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
... 4 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
– Head –
Stacktrace:
at bcc.ar(SourceFile:620)
at bcc.an(SourceFile:428)
– Initialization –
Details:
Stacktrace:
at bcc.a(SourceFile:377)
at net.minecraft.client.main.Main.main(SourceFile:124)
– System Details –
Details:
Minecraft Version: 1.9.2
Operating System: Linux (amd64) version 4.4.6-300.fc23.x86_64
Java Version: 1.8.0_77, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 154993264 bytes (147 MB) / 250871808 bytes (239 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 5 total; -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 1.9.2
LWJGL: 2.9.4
OpenGL: ~ERROR~ RuntimeException: No OpenGL context found in the current thread.
GL Caps:
Using VBOs: No
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs:
Current Language: ~ERROR~ NullPointerException: null
Profiler Position: N/A (disabled)
CPU: <unknown>
@unknown The crash is MC-79573
The issue is still not resolved, nor is it a feature request. Wayland support is necessary to ensure the game runs properly upon Linux as Wayland gains more and more adoption going further.
On Arch Linux (meaning the system software is very up to date) using with with a Nvidia 1660 Ti with the 470 driver, launching the game would be met with severe graphical glitches that blocked out much of the game window, making the game unplayable.
On Pop!_OS 21.04 (meaning the system software is somewhat up to date) with the Nvidia 1660 Ti and 470 driver, the game would launch but would be running using generic mesa drivers instead of the actual system drivers, leading to very poor performance (this issue is not present if using Xorg, the system would default to the correct, much faster Nvidia drivers).
This is a real issue and not just a feature request, as (on top of some reported glitches) the performance of the game is impacted negatively a lot by not supporting Wayland natively (the refresh rate is very low even if Minecraft says that the FPS rate is high - this issue is not present in a legacy XOrg session).
In my opinion, a bad refresh rate is one of the biggest issues a game can have, therefore I don't see why this issue is marked as resolved.
Wayland is the default or about to become the default on nearly all Linux distros in the foreseeable future, so it might be a good idea to support it.
Not resolved for me, running Minecraft on XWayland is not so smooth (refresh rate low but high FPS), and I tried <https://github.com/Admicos/minecraft-wayland>, while it has some bugs, native Wayland is very smooth.
I've posted a feature request on the feedback site. See here and please upvote.
From feedback website
For bug reports, lag, and rendering issues, please use bugs.mojang.com! Share your thoughts on graphics issues like lighting, animations, colors, textures, icons, and effects related to graphics.
According to the guidelines on the feedback website, this should belongs here, as using XWayland can be a source of lag.
Uhm, where's the difference of this ticket against MC-92305 and MC-92318 ?