White screen occurs when Matlab 2025a is run under VirtualGL
When Matlab 2025a is launched with VirtualGL enabled in a NoMachine virtual desktop, a white screen occurs.
This behaviour doesn't occur if VirtualGL is disabled or the session is connected to the physical display.
Note
A possible workaround is the following
1. install VirtualGL 3.1.4 on the system, with symlinks in NX/scripts/vgl -> /usr
2. Start matlab by using the EGL interposer:
vglrun -d /dev/dri/card0 matlab
To try Vulkan backend instead of EGL, use:
MW_CEF_STARTUP_OPTIONS=--use-angle=vulkan vglrun -d /dev/dri/card0 matlab
