mojira.dev
MCL-21060

(Linux) Launcher fails to start

EDIT:

After reinstalling a few more times (and re-downloading the app), the window stayed up and got stuck at "Cleaning Up..."
I have attached a screenshot of this. Other than the window staying up, everything is the same.

 

Summary:

The launcher does not launch after the initial update window (see attachment) on Ubuntu 20.04.

 

Description:

After switching to Linux, I have had some issues installing the Minecraft launcher. When installing (using all methods I've tried, including files from https://www.minecraft.net/en-us/download/alternative) the launcher opens the "Updating" window (see attachments), and the progress bar finishes. After that nothing else pops up (although the process idles at 4% CPU usage). When terminating the process and launching again, no window pops up at all. If the launcher is run from the terminal, a link to a .json pops up (see attachment for more details).

After the first launch, some files are written to /home/(username)/.minecraft, including two logs. All files in the .minecraft, excluding the "launcher" folder and the files within (due to attachment size limits), have been attached. I have also attached the same files after launching the game a second time.

When reinstalling the launcher, I have removed the package, .minecraft folder, and any temp files in /tmp/. I have also tried copying the .minecraft folder from a machine I got it working on, but this did not fix the problem.

Running the launcher in a VM results in the same problem. I have however been able to launch the game on another machine (also running Ubuntu 20.04).

 

Steps to reproduce:

1. Find yourself a machine running Ubuntu 20.04. I'm not sure what other factors are at play, so I'll stick with this.
2. Download the launcher (I have tested with both normal and alternative downloads, as well as different installation methods)
3. Install and try to launch it.
4. The update-window pops up (see attachments), and the progress bar finishes. If this is the last thing that happens, you have reproduced this successfully.

Linked issues

Attachments

Comments 24

Hi there! 
Could you answer few questions regarding this issue, it will help with the investigation: 

  • Does this issue occur on the newest version of the Launcher?

  • Have you tried resetting your PC after each deletion of the .minecraft folder?

  • Do you have enough free space on your disc drive?

  • Do you have an antivirus on your PC that might cause launching problem?

This ticket will automatically reopen when you reply.

1. Yes, I've just tried this again with the same result.
2. Yes.
3. Yes, I have plenty of space available.
3. No, I do not have any antivirus or similar applications installed.

Something I forgot to add in the original post is that I'm on the "5.13.0-28-generic" kernel version, in case that helps with anything. I have also noticed that if you run the launcher from the terminal and almost instantly exit out of it (ctrl+c), the window pops up again with the same "Cleaning up..." message and gets stuck there. This does not happen if you wait a few seconds. Not sure if it helps, but I thought I'd include it here either way. If you try to cancel it via the button on the launcher updater, it will log "Segmentation fault (core dumped)" in the terminal.

Hi there! 

  • Have you tried installing Launcher in offline?

  • Please reinstall Java.

  • You might also want to update/reinstall Chrome browser.

This ticket will automatically reopen when you reply.

1. Yes. Trying to install the browser offline stops the update files from being downloaded, getting the bar stuck there instead until the internet is plugged back in. If the internet is removed during the install, after the "Downloading update files..." stage but before "Cleaning up...", it will still continue to the "Cleaning up..." phase.
2. I have reinstalled Java, trying both OpenJDK versions (8, 11, and 17), as well as Oracle versions (1.8.0_321).
3. I've removed Chromium completely, as I use Firefox as my main browser. I do have some Electron apps installed though (Spotify, Discord) that I left.

Looking around, I have also found a crash log in /var/crash. I'll throw it in here in case it helps. Worth noting is that I removed about 4MB of base64-data from the bottom, as I was not sure if it could potentially contain anything I would not want public, so if that is needed, let me know.

[media]

Hi there!

Could you install Chrome/Chromium and restart your PC?

This ticket will automatically reopen when you reply.

 

14 more comments

I'm assuming you don't have any saves there because you are installing. Try deleting ~/.minecraft then re-open Minecraft. Also try sudo apt update && sudo apt upgrade

@Nicholas Allyn Thank you, but we have already tried both these, along with many other common troubleshooting steps, as documented earlier in the thread.

Extremely slow reply here, but I went over to my friends place and after a series of unsuccessful troubleshooting attempts we managed to fix the issue!

I noticed that any Flakpat app was also not running properly (strange issues each time, different for most apps), and he was experiencing unstable OS issues fairly regularly. I got tipped off by a flash of a dmesg before the login and logout. After getting his dmesg output, I noticed the particularly sinister looking line of:

[ 0.000000] RDRAND gives funky smelling output, might consider not using it by booting with "nordrand"

A quick search shows this is an issue with some Ryzen motherboards and the Linux kernel. In our case the X570, and a simple BIOS update immediately solved the issue. Just don't forget to disable the Windows-Only BIOS boot feature as that might be enabled by default (and updates will reset your settings) and scared my buddy a bit after he couldn't boot post BIOS update.

A few hours after installing the updates he was successfully mining away while running other games under WINE at the same time. Everything seems great now!

Extremely slow reply here too, but this seemed to fix the main issue! Thanks a lot for your help digging!

Closing the ticket as cannot reproduce.

hgbf

(Unassigned)

Unconfirmed

launcher, linux

Retrieved