Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glfwInit fails without DISPLAY #1882

Closed
kgreenek opened this issue Apr 14, 2021 · 1 comment
Closed

glfwInit fails without DISPLAY #1882

kgreenek opened this issue Apr 14, 2021 · 1 comment
Milestone

Comments

@kgreenek
Copy link

I'm trying to use GLFW together with EGL in an environment where there is no X11 server (an arm nvidia xavier).

I found various forum posts and documentation suggesting that egl is supported by setting the GLFW_EGL_CONTEXT_API window hint. However, glfw is failing in the call to glfwInit(). I see the following error in the error handling callback.

GLFW ERROR (65544): X11: The DISPLAY environment variable is missing

Is it currently supported to run glfw in a headless mode (i.e. without x11)?

Any help appreciated!

@kgreenek
Copy link
Author

After more searching, I realized this feature isn't implemented yet.
See: #1592

There appear to be a couple of abandoned PRs that are open to implement this, but they have not been merged.
e.g. #1608

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants