Hi everyone,
We're running x2go on a compute server. Some of our apps are written in Matlab with interactive GUI:s. We are seeing quite poor graphics performance after moving from Matlab R2014a to R2019a, especially when using transparency in 3D graphics. This might be connected to the fact that Matlab goes into a software OpenGL mode.
Does anyone have experience with this? Any solutions?
Ubuntu 18.04 LTS MATE desktop environment Matlab R2019a x2goserver 4.1.0.3-0~1708~ubuntu1 libnx-x11-6:amd64 2:3.5.99.22-0+git20190 nxagent 2:3.5.99.22-0+git20190
Associate Senior Lecturer Cardiac MR Group Department of Clinical Sciences Lund, Clinical Physiology Lund University, Sweden
On Wed, May 27, 2020 at 9:51 AM Johannes Töger <johannes.toger@med.lu.se> wrote:
We’re running x2go on a compute server. Some of our apps are written in Matlab with interactive GUI:s. We are seeing quite poor graphics performance after moving from Matlab R2014a to R2019a, especially when using transparency in 3D graphics. This might be connected to the fact that Matlab goes into a software OpenGL mode.
X2go using NX cannot use hardware acceleration. Depending on your setup you can try one of these approaches:
Uli
Thanks for your quick reply.
It turns out that Matlab by default uses an older Mesa software rendering module (17.3) when there is no hardware OpenGL. I tried to compile my own version with additional optimizations and LLVMPipe etc, but Matlab wouldn't accept it. No more time to debug it today, but maybe later.
Is there any documentation on using VirtualGL with x2go? I tried to google it, but no luck.
— Johannes Töger
Associate Senior Lecturer Cardiac MR Group Department of Clinical Sciences Lund, Clinical Physiology Lund University, Sweden
-----Original Message----- From: Ulrich Sibiller <uli42@gmx.de> Sent: Wednesday, May 27, 2020 10:09 To: Johannes Töger <johannes.toger@med.lu.se> Cc: x2go users <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Matlab graphics performance when running in x2go
On Wed, May 27, 2020 at 9:51 AM Johannes Töger <johannes.toger@med.lu.se> wrote:
We’re running x2go on a compute server. Some of our apps are written in Matlab with interactive GUI:s. We are seeing quite poor graphics performance after moving from Matlab R2014a to R2019a, especially when using transparency in 3D graphics. This might be connected to the fact that Matlab goes into a software OpenGL mode.
X2go using NX cannot use hardware acceleration. Depending on your setup you can try one of these approaches:
Uli
On Wed, May 27, 2020 at 1:07 PM Johannes Töger <johannes.toger@med.lu.se> wrote:
Thanks for your quick reply.
It turns out that Matlab by default uses an older Mesa software rendering module (17.3) when there is no hardware OpenGL. I tried to compile my own version with additional optimizations and LLVMPipe etc, but Matlab wouldn't accept it. No more time to debug it today, but maybe later.
Is there any documentation on using VirtualGL with x2go? I tried to google it, but no luck.
Not that I am aware. I have never checked it out practically. Generally you will have to dedicate the graphics hardware to that (only) session which might make it a no-go, depending on your setup.
Uli