mojira.dev
MC-77782

Cannot start Minecraft with XWayland

Minecraft crash on startup on wayland desktops (crash report is attached). Tested on both Gnome and Weston.

The future is coming. Minecraft should be ready, if not for native wayland, at least for Xwayland.

Attachments

Comments 10

Dupe of MC-297

Please follow these instructions on how to update your graphics drivers: https://help.mojang.com/customer/portal/articles/928493-updating-video-card-drivers

If that doesn't resolve the issue, then please use this for assistance: https://help.mojang.com

Yes, my drivers are up to date and Minecraft works on Xorg. I am not using wayland with outdated drivers.

Did you read my report before posting that? Are you a bot?

Yes, I did read the report and double checked before posting. No, I'm not a bot.

How can you link that to outdated drivers? I am talking about compatibility with an upcoming display server protocol (wayland) or its compatibility layer (xwayland).

I realize it is a very low priority bug, and it may be marked as wontfix but not resolved.

I can confirm that this is still an issue in GNOME 3.16 on Arch. This definitely has nothing to do with driver issues, and is not a duplicate of MC 297.

I've replicated this on Debian Testing, using Gnome on Wayland with Minecraft 1.8.5. 1.7.10 works just fine on the exact same setup.

There's a bug report on Red Hat's Bugzilla that identifies the issue as an error with LWJGL parsing xrandr under Wayland and a possible workaround. (link below)

https://bugzilla.redhat.com/show_bug.cgi?id=1236389

my xrandr output when running wayland is below on fedora 23 x64
xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
XWAYLAND0 connected 1920x1080+0+0 600mm x 340mm
[email protected] 0.00*+

So I think it's that bug referenced in redhat bugzilla but they mark it as cannot fix for them. I hope someone has a chance to check it out now that wayland is in widespread testing for fedora and going to be standard in 24 release.

The same developer clarified on a similar bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1287864
The issue is with LWJGL 2.x, and needs to be fixed there (outside of Minecraft or Red Hat.) The LWJGL developers are aware of the issue: https://github.com/LWJGL/lwjgl/issues/118
Whether or not the LWJGL developers fix it in LWJGL 2.x is uncertain given that LWJGL 3.x is in development.

It should also be mentioned, Wayland support is currently not worthwhile until relative/locking pointer confinement is implemented (FPS-style games, including Minecraft, have unusable mouse/pointer control under Wayland because of this.)
Here's a bug report tracking the progress for this on the GNOME Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=744104

Clément Vuchener

(Unassigned)

Unconfirmed

Minecraft 1.8.2

Retrieved