Giter Site home page Giter Site logo

Comments (3)

bnbailey-psl avatar bnbailey-psl commented on August 22, 2024

The issue is that OpenGL graphics cannot be forwarded over SSH without a 3rd party utility. As mentioned in the error message, one option is to install the VirtualGL utility. You need to follow their install instructions carefully, as it can be tricky in some cases. Another option is to use a VNC server/client like TurboVNC to remotely connect using a virtual desktop rather than over SSH. This is our preferred method because you can run CLion on the remote sever.

from helios.

pasquierjb avatar pasquierjb commented on August 22, 2024

Ok thanks, I will try these options.

I am surprised that forwarding glxgears (based on OpenGL) works fine though...

from helios.

pasquierjb avatar pasquierjb commented on August 22, 2024

I managed to get the Visualizer working commenting out these two lines in Visualizer.cpp:

 glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); // To make MacOS happy; should not be needed
 glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); //We don't want the old OpenGL

Apparently it's an error with GLX_ARB_create_context_profile, it seems to be a common issue with X11 forwarding on Mac.

GLX: An OpenGL profile requested but GLX_ARB_create_context_profile is unavailable
GLX: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable

I got the above error when adding some glfw debugging in my script:

 static void glfwError(int id, const char* description)
    {
  std::cout << description << std::endl;
}
int main(){
   glfwSetErrorCallback(&glfwError);
  [...]
  }

from helios.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.