JakobekS JakobekS - 3 months ago 25
C++ Question

OpenGL 3.3 GLX_ARB_create_context_profile is unavailable on Linux with bumblebee

I have problem with setting OpenGL 3.3 application with glfw. I get

OpenGL profile requested but GLX_ARB_create_context_profile is unavailable


error while I try to run my application through the optirun (I have Nvidia Optimus card, so there is no other way). Other OpenGL > 3.3 application works well with optirun (unigine heaven)... Here is code I try to run and here is result of "optirun glxinfo".

Answer

Are you sure you need this line?

glfwOpenWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);

Removing it should fix the problem.

If it segfaults check out this question.