When switching to java-1.7 the desktop configuration file can be read again, but the glitches are back again. For java-1.8 graphics work, but MATLAB does not support this version entirely. So it is a java-1.7 problem, and not MATLABs fault, although it would be nice to have java-1.8 support.
Ubuntu 16.04 graphics glitches in profiler
1 view (last 30 days)
Show older comments
With Intel Sky Lake Integrated Graphics (i915_bpo) and Ubuntu 16.04 i get "weird" graphics glitches when using the profiler. An example is
profile on;
test=rand(100,1);
profile viewer;
Nevertheless the problem seems to disappear when switching to the default java version shipped with ubuntu:
MATLAB_JAVA=/usr/lib/jvm/default-java/jre matlab
or the openjdk
MATLAB_JAVA=/usr/lib/jvm/java-8-openjdk-amd64/jre/ matlab
I prefer Oracle java, so the following works also
MATLAB_JAVA=/usr/lib/jvm/java-8-oracle/jre matlab
But now matlab complains
The desktop configuration was not saved successfully
First I want to share this information and ask how I could debug the problem stemming from the JAVA version shipped with matlab. Also switching to software opengl didn't change anything. The problem definitely stems from java.
Answers (1)
Dave Behera
on 3 May 2016
The error you mentioned usually comes when MATLAB does not have permissions to write to a particular folder. Try running your command as root user. It should help.
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!