Matlab2016a opengl in Ubuntu 14.04

24 次查看(过去 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 CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by