I am trying to run an OpenGL 2.1+ application over SSH.
[my computer] --- ssh connection --- [remote machine] (application)
I use X forwarding to run this application and with that in mind I think there are a couple of ways for this application to do 3D graphics:
- Using LIBGL_ALWAYS_INDIRECT, the graphics hardware on my computer can be used. According to this post this is generally limited to OpenGL version 1.4.
- Using Mesa software rendering on the remote machine. This supports higher versions of OpenGL, but uses the CPU.
However, in my case the remote machine has a decent graphics card. So rather than software rendering, I was wondering if it could do hardware rendering remotely instead.
Also, if there is another way to use my machine's graphics card that would be great too.