very slow ginput() over remote X server

I am running MATLAB over a remote linux login. It uses the sortware opengl renderer. ginput() is unusable. very slow and laggy.
Is there anything I can do to improve ginput() response?
Plotting and even using the editor/debugger are quite responsive over the remote connection.
This issue seems to be due to some sort of extreme inefficiency in ginput().

Answers (1)

Hi Aaron,
I have few suggestions which might help to you to improve the responsiveness via your remote system:
  • creating/editing the 'java.opts' file to set the following option: Dsun.java2d.pmoffscreen=false
  • Switch to VNC for the remote connection
  • Changing display from 32 bit to 16 bit color depth.
I hope some this suggestions helps to improve the responsive over the remote connection.

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products

Release

R2019b

Asked:

on 18 Sep 2019

Answered:

on 16 Dec 2020

Community Treasure Hunt

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

Start Hunting!