You are not logged in.

#51 2025-11-23 08:24:41

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,565

Re: Problems Installing MATLAB R2025b

matlab-mpm is an optional (and build) dependency for matlab, you could try to just remove that (and all other optional deps) to see whether it's coming from there (and simplify the process and eliminate pot. trouble sources)
matlab itself wasn't udpated since october.

Make sure to restore the bundled abseil libraries, they seem rpath linked

Offline

#52 2025-11-24 00:20:45

konokaiden
Member
Registered: 2025-11-17
Posts: 32

Re: Problems Installing MATLAB R2025b

We'll have to put this on hold, my computer now has a broken RDSEED32 and won't boot. Downgrading Linux kernel and headers didn't help, and my bios manufacturer hasn't put out anything new yet.

Offline

#53 2025-11-24 08:21:51

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,565

Offline

#54 2025-11-24 09:11:47

konokaiden
Member
Registered: 2025-11-17
Posts: 32

Re: Problems Installing MATLAB R2025b

"Clearcpuid=rdseed" doesn't exist on the page you linked. Or at least, the "find on page" function on my phone didn't find it.

In other news, I read the post by AMD about the issue and temporary fixes, and Grok already told me to put that same thing under

 GRUB_CMDLINE_LINUX_DEFAULT 

for the file

 /etc/default/grub 

and that didn't improve anything. I did everything as root, and used

$ grub-mkconfig -o /boot/grub/grub.cfg
$ sudo mkinitcpio -P 

afterwards. But I have a post under newbie corner for this issue, so it's probably better we address it there. For the record though, I only used Grok to try and clear things up quickly, as I didn't expect responses until many hours / days later. And I work remotely, usually on this same computer, so "time is money" is a bit more literal for this situation.

Last edited by konokaiden (2025-11-24 09:16:23)

Offline

#55 2025-11-24 09:54:17

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,565

Re: Problems Installing MATLAB R2025b

"Clearcpuid=rdseed" doesn't exist on the page you linked.

It's a kernel parameter and the page explains how to add them…
It's also case-sensitive.

Grok already told me to put that same thing under

double-facepalm.jpg?0

If you're using grub, you can add it at the bootloader (press e to edit the entry)
If you're not using grub, configure the proper bootloader, not grub
If you did the from the install iso w/o chrooting and mounting the boot partition, you did't configure anything but wrote some stale config and a pointless initramfs somewhere.

You can

cat /proc/cmdline

to see what applied.

I only used Grok to try and clear things up

double-facepalm.jpg?0

I don't care to what bs-generator you talk, but blindly following their instructions without filtering them through your brain will run you into more problems.

Offline

#56 2025-11-24 10:01:36

konokaiden
Member
Registered: 2025-11-17
Posts: 32

Re: Problems Installing MATLAB R2025b

I already replied to that page. I'm grateful it worked. As someone who came from Windows, the wiki is very dense, and I can't always follow it, so rather than simply posting links, paraphrasing and "did you try" might be more productive use of time.

I don't care to what bs-generator you talk, but blindly following their instructions without filtering them through your brain will run you into more problems.

I did filter through the suggestions. That was the most promising of the ones remaining, and at least it doesn't just throw links at me expecting me to understand everything I read, because that's crazy naive.
But maybe you're the kind of person who can sit down and read a biochemistry textbook and follow the entire thing on one pass, I don't know, I sure am not.

On that note (and this topic), please explain to me what is meant by

If one need to set environment variable, one could prepend env in Exec, for example, to system's libfreetype:

Exec=env LD_PRELOAD=/usr/lib/libfreetype.so.6 matlab

One might want to use the system's libstdc++.
Running on Wayland

To make MATLAB run on Wayland, set the environment variable QT_QPA_PLATFORM=xcb.

https://wiki.archlinux.org/title/MATLAB

As I don't mind using R2024b, and it seems like I can get it running at least, my problem with that version seems to be that it just doesn't show up.
In that case, it's probably a Wayland issue, which seems faster to solve than the one we have been discussing so far. But I don't know how to turn what the wiki says into a command.
Putting this in a .desktop file, should it then read

Exec=env QT_QPA_PLATFORM=xcb /usr/local/MATLAB/R2024b/bin/matlab -desktop -useStartupFolderPref

or is there slightly different formatting for this?

I have tried running X11 for matlab, but x11 doesn't have the features needed to scale my monitors correctly (as it seems most of the modern monitor scaling settings came afterwards). I do have the xorg-xwayland package installed, so there should be a way to make matlab work with wayland.

Last edited by konokaiden (2025-11-24 10:14:52)

Offline

Board footer

Powered by FluxBB