MATLAB hangs on startup at splash screen, possible Java runtime issue (Ubuntu 19.04)

I am having a similar problem to the question posted here with a few differences that I can't resolve.
When starting, my whole computer freezes when reaching the splash screen, and CPU usage maxes out. This is persistent if I use the -nodesktop, -nosplash, and -nodisplay options.
MATLAB runs and functions from my terminal when the -nojvm option is used, but this severely limits plotting capabilitiies, and I'd like to use MATLAB without the -nojvm option.
I've tried the solutions here with no success since the test.log created is blank. The accepted answer at this post is not ideal for me, since I need the grub option "nomodeset" to be unused when booting.
My specs are as follows:
OS: Ubuntu 19.04
Processor: AMD Ryzen 5 2500u with radeon vega mobile gfx × 8
Graphics: AMD Raven
I suspect that the combination of the AMD CPU and graphics is forcing the machine to use certain drivers that are incompatible with starting MATLAB, but am entirely unsure.

6 件のコメント

R.G.
R.G. 2019 年 8 月 31 日
Hello! Check java environment and i think you can try different JRE version. For example if you use distribution from openJDK, you can try to install Oracle's JRE (recommended).
Huy Pham
Huy Pham 2019 年 8 月 31 日
Thanks for replying. I've switched over to Oracle's JRE 1.2.0_221 (it was previously openJDK). MATLAB startup now still freezes the computer, but this time I can still control mouse movement for some reason.
Running htop at the same time shows that a CPU core is hitting 100% usage.
I've run this with no options, and then with the -nodisplay -nodesktop -nosplash options (still without -nojvm). The issue is persisting with the logfile being blank.
R.G.
R.G. 2019 年 8 月 31 日
Ok. Let's assume that the problem is related to grphics (in fact, we do not know anything), so you can try run it with the -softwareopengl argument.
Huy Pham
Huy Pham 2019 年 8 月 31 日
Okay. Startup is similar to my most recent attempt. Freezes the computer after a few flashes of responsiveness.
htop shows two cores hitting 100% usage (before it freezes).
R.G.
R.G. 2019 年 8 月 31 日
編集済み: R.G. 2019 年 8 月 31 日
Just another idea. Maybe you have encrypted swap partition?
FERNANDO Angeles medina
FERNANDO Angeles medina 2019 年 12 月 26 日
I found that BIOS of the motherboard which supports RYZEN processor must be updated to avoid matlab 2019b hangs on startup at splash screen when is running on linux. I did that and the problem was solved. I have a customized machine contening motherboard ASUS-A320M-K, processor AMD® Ryzen 3 2200g with radeon vega graphics × 4, 8GBi RAM, BIOS's version lower than Octuber 2018(which was updated to a more recent 2019/10/30). I had been using Ubuntu 18.04.3 64 bits but after I installed Debian 10 Buster 64 bits without any problem.

サインインしてコメントする。

 採用された回答

Huy Pham
Huy Pham 2020 年 2 月 9 日
編集済み: Huy Pham 2020 年 2 月 11 日

0 投票

@Fernando Angeles Medina THANK YOU my MAN. This solution worked for me.
I am using Ubuntu 19.10 and I updated/flashed my BIOS to Lenovo's latest release for my Laptop (November 2019). I am then able to boot MATLAB normally.
Thanks everyone!
Referenced post:

その他の回答 (1 件)

JOHAN AUGUSTO BOCANEGRA CIFUENTES
JOHAN AUGUSTO BOCANEGRA CIFUENTES 2020 年 2 月 10 日

1 投票

Hi, I have a similar problem with UBUNTU 19.10, I can only see the startup logo and then chrash.
I solve the problem running all updates related with JAVA from synaptic.
Hope works for someone else.

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

2019 年 8 月 31 日

編集済み:

2020 年 2 月 11 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by