GLMakie remote animations through ssh

Hello!

I am trying to create an animation with the results from a simulation remotely through “ssh -X”. When doing locally, it is quite fast. Through the ssh, it get extremely slow. It would be easier for me to simply get the resulting “.mp4”.

Is it possible to create the plot through the ssh on the remote machine, without sending it back? To keep the communication between computers just on the minimum as possible and then simply exporting the final file.

Thank you very much!

I haven’t tried this myself, but you might be able to copy what GLMakie does for CI using a virtual (in-memory) framebuffer with xvfb-run: Makie.jl/.github/workflows/reference_tests.yml at 5c8d07c6a48e294f1fff1ea4b8a6d27bbb10e933 · MakieOrg/Makie.jl · GitHub

I’ve also used Pluto/PlutoUI controls with Makie observables to handle interactive animations over slow/flaky connections, but that might be too big a change to your workflow.

1 Like

Thank you very much! This indeed sped up quite a bit the whole process!

You could also try WGLmakie, but maybe that has other performance problems in your setup

1 Like