How to use hardware opengl when remote on Linux

51 views (last 30 days)
Hi, I use a windows 10 PC to remote control a Linux server(Ubuntu 16.04), I use Mobaxterm to control that. When I use "matlab" command to start matlab2019, ite seems that matalb running at software opengl. How to make matlab use hardware opengl when I plot figures? I searched google, and not found any useful answears. My graphic card is GTX1080 Ti. Driver version : 410.48 .Thanks.
  1 Comment
Bruno Luong
Bruno Luong on 27 Oct 2020
My experience is opengl hardware always crashes when MATLAB runing under remote control. So my recommendation is let it as software.

Sign in to comment.

Answers (1)

Saurav Chaudhary
Saurav Chaudhary on 27 Oct 2020
Hardware-accelerated OpenGL, specified as hardware. All systems support using the opengl hardware command to switch from basic hardware to hardware OpenGL.
  • On Windows systems support using the opengl hardware command to switch from software to hardware OpenGL.
  • To switch from software to hardware on Linux systems, start MATLAB with the -nosoftwareopengl flag.
If your system automatically switched to using software OpenGL, then forcing your system to use hardware OpenGL can cause instabilities.
You can also refer to the following documentation for more information regarding same:

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!