I have a program that uses OpenGL+glsl to do computation. Currently I'm using GLFW to create a context in a hidden window via:
glfwWindowHint(GLFW_VISIBLE, GL_FALSE);
window = glfwCreateWindow(1, 1,"", NULL, NULL);
This is working great for me if I run my program locally on my server at work with a fancy GPU.
When I try to log on to this server from home via SSH, I get segmentation faults. I've tried ssh -X
and ssh -Y
but this doesn't help. I'm also not even sure that would run the program using the server's GPU (would it?).
All I'd like to do is run the program as if I was there at the keyboard issuing it on a local terminal. There's no window or graphics to forward. Is this possible?
Would this be easier with an alternative context manager to GLFW? I actually want to use OpenGL for my problem since it is trivially re-formulated as a direct rendering task (i.e., as opposed to rewriting my program in cuda).