implement create opengl window on linux