Jump to content
  • Advertisement
Sign in to follow this  
_gl_coder_one_

OpenGL Opening a glcontext on a remote machine

This topic is 3787 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I am trying to do the following : 1. ssh to a remote machine 2. Set the DISPLAY environment variable to localhost:0 3. Start an application that tries to create an openglcontext. This always fails giving the error "unable to open display on localhost:0" I need to create and opengl context on the remote machine, to use the graphics hardware on that machine. How can this be done ? Help

Share this post


Link to post
Share on other sites
Advertisement
Ugh, yeah, the dreaded client/server model of OpenGL. The biggest design mistake SGI has made while designing OpenGL back in the days, and the only thing that driver implementors hate even more than display lists and feedback mode... ;)

Seriously, I would consider using a completely different approach if I was you. This whole client/server mess is extremely obsolete, and prone to be removed in one of the next OpenGL versions (the sooner the better). As an alternative, you could look into remote procedure calls.

Share this post


Link to post
Share on other sites
Hi YannL
I am working on parallel rendering , and look at the sort last method for parallel rendering. In this method , I will would need to render different objects in the scene on different processors and get the final image by a depth compositing operation, so getting a GL context on a remote PC is indispensable for me. Any ideas or suggestions ?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!