Matlab2016a opengl in Ubuntu 14.04

7 views (last 30 days)
Guanfeng Gao
Guanfeng Gao on 18 Oct 2016
Commented: Zerui Wang on 23 Jul 2017
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?

Answers (1)

Kojiro Saito
Kojiro Saito on 22 Oct 2016
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 Comments
Kojiro Saito
Kojiro Saito on 22 Oct 2016
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 on 23 Jul 2017
I used "matlab -r "opengl info"" command for this problem, but after that my matlab crashed when I running. How to cancel this mode?

Sign in to comment.

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!