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!