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

Use headless context instead of OsMesa #23132

Closed
jdm opened this issue Mar 29, 2019 · 2 comments
Closed

Use headless context instead of OsMesa #23132

jdm opened this issue Mar 29, 2019 · 2 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Mar 29, 2019

Glutin's context builder supports a build_headless API. We should see if we can use that, since it will get us headless support on all platforms rather than the current OsMesa solution.

@SimonSapin
Copy link
Member

@SimonSapin SimonSapin commented Apr 3, 2019

As far as I can tell, on Linux the code behind this build_headless API relies on the presence of a X11 or Wayland server (only without creating a window). So I suspect it requires a hardware GPU, whereas OSMesa provides a CPU-based/software implementation of GL.

(Glutin also has glutin::os::unix::OsMesaContextExt, which might help simplify our code a bit but does not otherwise change much.)

@SimonSapin
Copy link
Member

@SimonSapin SimonSapin commented Apr 20, 2020

OSMesa-src and Glutin is are longer used since #25853.

@SimonSapin SimonSapin closed this Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.