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 次查看(过去 30 天)
显示 更早的评论
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.
回答(1 个)
Dave Behera
2016-5-3
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!