mojira.dev

Galen Asphaug

Assigned

No issues.

Reported

MCL-12341 [LINUX] Launcher is invisible on Wayland Fixed

Comments

The new version works fine on Wayland without any workaround.

Have you tried the workaround in MCL-12215? Run the launcher like this:

GDK_BACKEND=x11 ./minecraft-launcher

Same issue on Fedora 30 running Gnome/Wayland, the workaround works great, thank you.

This is duplicated by MCL-12215

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

 

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

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.

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.

I'm having the same issue. I downloaded the undocumented tarball for "Other Linux" from <https://www.minecraft.net/en-us/download/alternative/> because the link from the official minecraft.net navbar <https://my.minecraft.net/en-us/store/minecraft/> did not load.

 

I extracted the minecraft-launcher folder to /opt, and ran it with ./minecraft-launcher but it quit without any console output. It makes this log in ~/.minecraft/launcher_log.txt:

[Info: 2019-10-18 00:46:22.840418332: LauncherMain.cpp(134)] Running Launcher
[Info: 2019-10-18 00:46:22.843108245: LauncherMain.cpp(50)] Initiated models
[Info: 2019-10-18 00:46:22.843127962: NetQueue.cpp(202)] NetQueue: Setting up.
[Info: 2019-10-18 00:46:22.843207167: LauncherMain.cpp(59)] Initiated launcher controller
[Info: 2019-10-18 00:46:22.843214158: NetQueue.cpp(207)] NetQueue: Initiating shutdown.
[Info: 2019-10-18 00:46:22.843452199: LauncherMain.cpp(161)] Initialization completed
[Info: 2019-10-18 00:46:22.843509235: LauncherMain.cpp(169)] Exiting new Launcher process

 

EDIT:

The above error was caused by a separate instance of the launcher running. (It quits without error when there is more than one instance running)

 

Now when I run the launcher, it brings my browser window in to focus for some reason, and then outputs these messages:

 

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

(minecraft-launcher:19160): Gdk-WARNING **: 18:19:29.684: gdkwindow-x11.c:5633 drawable is not a native X11 window
[1017/181929.729854:ERROR:cache_util.cc(134)] Unable to move cache folder GPUCache to old_GPUCache_000
[1017/181929.729887:ERROR:disk_cache.cc(172)] Unable to create cache
[1017/181929.729903:ERROR:shader_disk_cache.cc(601)] Shader Cache Creation failed: -2

 

Here is a pastebin with the contents of ~/minecraft-launcher/launcher_log.txt:

https://pastebin.com/0YLG4EDG