mojira.dev
MCL-12341

[LINUX] Launcher is invisible on Wayland

Launcher log: https://pastebin.com/0YLG4EDG

Output:

[1017/185507.466303:ERROR:sandbox_linux.cc(346)] InitializeSandbox() called with multiple threads in process gpu-process.

(minecraft-launcher:22724): Gdk-WARNING **: 18:55:07.547: gdkwindow-x11.c:5633 drawable is not a native X11 window
[1017/185507.592902:ERROR:cache_util.cc(134)] Unable to move cache folder GPUCache to old_GPUCache_000
[1017/185507.592929:ERROR:disk_cache.cc(172)] Unable to create cache
[1017/185507.592939:ERROR:shader_disk_cache.cc(601)] Shader Cache Creation failed: -2
^C

For some reason the launcher will not appear, and another previously-opened window is brought into focus. I am using Gnome 3.32

Linked issues

Comments 7

Uriel Salischiker

There was a new version of the launcher released yesterday. Can you check whether the issue still persists?

Hi, thank you for the help. This seems to be the same problem as MCL-12342. I downloaded the new version and verified that it is in fact different (both the files have different checksums, it would help to have a version number appended to the filename, or in a README, or VERSION.txt etc...), but I am getting the same output from the updated version, here's my program output and logs: https://pastebin.com/g6NrvdLE

I'm taking note of these two lines:

[Info: 2019-10-19 03:29:07.976119631: root_window_manager.cpp(64)] Main window has been opened: 0x1e97300
[Info: 2019-10-19 03:29:07.981031844: root_window_gtk.cpp(390)] RootWindowGtk::OnBrowserCreated

I am able to see "Minecraft Launcher" in the alt-tab/window switcher menu, but not the window itself.

Hold up y'all, I've got news.

I logged out and logged back in selecting "Gnome on Xorg" instead of "Gnome" and the launcher started right up! This is not a permanent fix, and I don't know enough about this sort of thing to provide any more insight.

Just to verify, this only happens when running Gnome on Wayland, Gnome on Xorg works fine.

This is duplicated by MCL-12215

The workaround `GDK_BACKEND=x11 ./minecraft-launcher` works like a charm.

 

Hi, I'm having the same issue here. Newer launcher didn't work.

Same issue here, Minecraft Launcher does not launch under GNOME Wayland Session, but it does under the GNOME XOrg Session.

EDIT: Galen's workaround, `GDK_BACKEND=x11 ./minecraft-launcher` did not work. Same problem.

migrated

(Unassigned)

Unconfirmed

Retrieved