Matlab2016a opengl in Ubuntu 14.04

30 ビュー (過去 30 日間)
Guanfeng Gao
Guanfeng Gao 2016 年 10 月 18 日
コメント済み: Zerui Wang 2017 年 7 月 23 日
Whenever I do some plot, there comes the error: JavaSceneServerPeer problem: Couldn't create JOGL canvas--using painters I use the software opengl option. My opengl info output is:
Anyone know how to fix it?

回答 (1 件)

Kojiro Saito
Kojiro Saito 2016 年 10 月 22 日
Could you give me your machine's graphics driver version?
You can know the version by the following command in the Terminal,
cat /proc/driver/nvidia/version
In my case, it returns "NVRM version: NVIDIA UNIX x86_64 Kernel Module 340.65 Tue Dec 2 09:50:34 PST 2014"
Anyway, there's a workaround by running MATLAB forcing openGL, by the following command in the Terminal when starting MATLAB.
matlab -r "opengl info"
  3 件のコメント
Kojiro Saito
Kojiro Saito 2016 年 10 月 22 日
I think you have already installed graphics driver. You might confirm the video card and kernel module by
lspci -k | grep -A 2 -i "VGA"
then the drive version by,
modinfo nvidia | grep version
Zerui Wang
Zerui Wang 2017 年 7 月 23 日
I used "matlab -r "opengl info"" command for this problem, but after that my matlab crashed when I running. How to cancel this mode?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by