Package Details: mathematica 12.1.0-1

Git Clone URL: https://aur.archlinux.org/mathematica.git (read-only, click to copy)
Package Base: mathematica
Description: A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing.
Upstream URL: http://www.wolfram.com/mathematica/
Licenses: proprietary
Submitter: Feanor12
Maintainer: JP-Ellis
Last Packager: JP-Ellis
Votes: 67
Popularity: 2.60
First Submitted: 2011-03-03 21:27
Last Updated: 2020-04-02 23:28

Dependencies (69)

Required by (1)

Sources (1)

Pinned Comments

JP-Ellis commented on 2020-04-02 23:34

Update to Mathematica 12.1.0

Summary of new features: https://wolfr.am/NewIn12.1

Please let me know if you encounter any issues.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

kjslag commented on 2020-05-26 04:28

@bryango I think the -mesa option tells Mathematica to tell it's bundled Qt to use mesa llvmpipe to render graphics on the CPU.

bryango commented on 2020-05-26 04:11

@kjslag Yes! I can confirm both issues (segfault for 12.0 and blank 3D for 12.1) are gone with mesa. However, 11.3 works fine with OpenGL and displays better graphics (with less aliasing). It seems that 12+ is somehow incompatible with system's OpenGL implementation, which, I think (at least for me), is also mesa; by searching through my installed packages with keyword OpenGL, I find that the only related package is mesa v20.0.6. Hence I believe there might be conflicts betweeen the bundled mesa and system mesa. Weird since it worked fine in 11.3.

References: Mathematica documentation for RenderingOptions:

"Mesa"    use the bundled Mesa implementation of OpenGL, available on all systems
"OpenGL"  use the system's OpenGL driver, available only on non-Windows systems

kjslag commented on 2020-05-25 19:13

@bryango iyanmv's idea of starting Mathematica with -mesa fixes your issues for me. See also: https://mathematica.stackexchange.com/a/222365/36317

iyanmv commented on 2020-05-25 16:10

I upgraded from Mathematica 12.0.0 to Mathematica 12.1.0, and now I have some kind of render issue. When I'm typing in a notebook, there is a gray bar on top of the text. It is quite annoying to be honest. I have written to their support email, hope to get any answer. In the meantime, anyone facing a similar issue?

I have also tried to start Mathematica with -mesa option, but still same problem. I suspect this has something to do with the new support for HiDPI. They kind of change all default sizes.

kjslag commented on 2020-05-20 04:29

@JP-Ellis I think the packages that I listed, along with espeak, ncurses, qt5-, and java-, are all bundled with mathematica in that directory and shouldn't be listed as optional dependencies.

JP-Ellis commented on 2020-05-20 04:12

@kjslag The list of optional dependencies was initially produced using the inspect namcap. I'll admit I do know know which are strictly necessary and I would love to narrow it down; however, Mathematica has so many components that I don't even know where to start and if it would be all that useful ultimately.

kjslag commented on 2020-05-20 04:10

I can reproduce the issue of invisible 3D plots described on the stackexchange website. I also have an issue where the text on the frame of Plot3D is not rendered well, which I think also just started with mathematica 12.1. I do not know how to fix either issue. bryango, you should consider reporting this to Wolfram.

I'm using mathematica 12.1 (installed March 19) on arch linux with KDE, a 4k screen, and intel GPU. I last updated my packages on May 1st.

JP-Ellis, where did this list of optional dependencies come from? For example, why is intel-mkl, freetype2, gmp, libssh2, openssl on the list? I think Mathematica is bundled with these libraries (and probably many of the others) in /opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/

Below is my list of optional dependencies:

alsa-lib [installed]
atk [installed]
cairo [installed]
clucene [installed]
cuda
curl [installed]
espeak [installed]
ffmpeg [installed]
fluidsynth [installed]
fontconfig [installed]
freetype2 [installed]
gdk-pixbuf2 [installed]
glib2 [installed]
glu [installed]
gmime
gmp [installed]
gtk2 [installed]
harfbuzz [installed]
icu [installed]
intel-mkl [installed]
intel-tbb [installed]
java-environment [installed]
java-runtime [installed]
lame [installed]
lcms2 [installed]
leptonica
libbson
libffi [installed]
libjpeg-turbo [installed]
libmad [installed]
libmongoc
libnet [installed]
libogg [installed]
libpng12 [installed]
libselinux
libsm [installed]
libssh2 [installed]
libutil-linux [installed]
libwebp [installed]
libx11 [installed]
libxml2 [installed]
libxslt [installed]
libxtst [installed]
libxxf86vm [installed]
mesa-demos: for improved graphics output [installed]
ncurses [installed]
nvidia-utils [installed]
opencv
openssl-1.0 [installed]
pango [installed]
pixman [installed]
portaudio [installed]
postgresql-libs [installed]
qt5-multimedia [installed]
qt5-svg [installed]
qt5-webengine [installed]
qt5-xmlpatterns [installed]
r [installed]
tesseract
zlib [installed]

JP-Ellis commented on 2020-05-20 04:10

@bryango From the log, I would start with installing the Qt dependencies. Not sure which exactly is the culprit, but that's my first guess :) Thanks for the help!

bryango commented on 2020-05-20 04:07

@JP-Ellis Thank you very much for the hint! It is indeed a front end issue; the buggy commands works fine when executed from wolfram command line. However, the crash log seems to be less useful... I've put it here: https://pastebin.com/k8hUQNzL. I'll start checking optional dependencies; it might take some time though.

Update: I've checked, I got all your dependencies, and more... Maybe the issue lies in the packages that you do not have... I'll check later!

JP-Ellis commented on 2020-05-20 03:29

@bryango I can't replicate this issue on my end so I'm going to guess this is an issue due to a missing optional dependency.

Can you do two things:

  1. Can you launch mathematica from the command line, cause it to crash, and tell me if there's any indication as to which library might be the culprit?

  2. If the above doesn't help at all, can you check which dependency you are missing that I have installed. You can check the optional dependencies you have with pacman -Qi mathematica (the ones I have installed are below). Once we have narrowed down which package, I'll make sure to give an explicit description to inform others what the dependency is for.

I don't intend to make it a required dependency because I suspect this is an issue purely related to the GUI and thus a server installation with no GUI would not have the issue.

alsa-lib [installed]
atk [installed]
cairo [installed]
clucene
cuda
curl [installed]
espeak
ffmpeg [installed]
fluidsynth [installed]
fontconfig [installed]
freetype2 [installed]
gdk-pixbuf2 [installed]
glib2 [installed]
glu [installed]
gmime
gmp [installed]
gtk2 [installed]
harfbuzz [installed]
icu [installed]
intel-mkl
intel-tbb [installed]
java-environment
java-runtime [installed]
lame [installed]
lcms2 [installed]
leptonica [installed]
libarchive [installed]
libbson
libffi [installed]
libjpeg-turbo [installed]
libmad [installed]
libmongoc
libnet [installed]
libogg [installed]
libpng12
libraw [installed]
libselinux
libsm [installed]
libssh2 [installed]
libutil-linux [installed]
libwebp [installed]
libx11 [installed]
libxcomposite [installed]
libxml2 [installed]
libxrandr [installed]
libxslt [installed]
libxss [installed]
libxtst [installed]
libxxf86vm [installed]
mesa-demos: for improved graphics output
ncurses [installed]
nss [installed]
nvidia-utils
opencv [installed]
openssl-1.0
pango [installed]
pixman [installed]
portaudio [installed]
postgresql-libs [installed]
python [installed]
qt5-declarative [installed]
qt5-multimedia [installed]
qt5-svg [installed]
qt5-svg [installed]
qt5-webengine [installed]
qt5-xmlpatterns [installed]
r
tesseract
zlib [installed]