OpenGl on WSL with VcXsrv

Hallo,
i am an Student that has to make his first steps in Shader Programming. For this context we have to use OpenGL Version 3.3 and doing very basic things. I am using VcXsrv to host a x server to my subsystem. But now i am getting this error when i trie to run my Programm:

X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  149 (GLX)
  Minor opcode of failed request:  34 ()
  Serial number of failed request:  23
  Current serial number in output stream:  22

This Error appears on a NVIDA/Intel and AMD based Computer with the same WSL/VcXsrv combo. So it maybe is a Problem with this? Do you have suggestions what is Missing or maybe it simply doesnt work?

Note: I can not use other frameworks or function outside of opengl/glew and so on because of the University Standards.

Are you starting VcXsrv with the -wgl switch?

Are you trying to use indirect rendering? That’s going to limit you to OpenGL 1.4.

I tried using indirect rendering and in the startup from VcXsrv i didnt changed anything.

A comilition has just given me a hint:

This fixed the problem.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.