Matlab2016a opengl in Ubuntu 14.04
12 views (last 30 days)
Show older comments
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157249/image.png)
Anyone know how to fix it?
0 Comments
Answers (1)
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
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
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?
See Also
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!