-
Notifications
You must be signed in to change notification settings - Fork 89
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
no backend available #321
Comments
Checking the code ryo33 linked it seems backends are Wayland or X, I tried to run in another machine and it worked so the problem is in my machine, now why "X" is not available is beyond my understanding, any tips on how can I debug this? |
@mathgamain You can fork the Glutin project and override it locally PistonDevelopers/piston#482. Look for the error message "no backend is available" in the source. |
I'm getting this issue too:
Forking and overriding isn't very successful on nixos. What other ways are there to mitigate this issue? |
The window backend can be changed to SDL2: extern crate sdl2_window;
use sdl2_window::Sdl2Window;
let window = PistonWindow<(), Sdl2Window> = ...; |
Actually, as we're loading so many dylibs at roughly the same time, and that the behaviour sometimes works it probably means dlopen is not thread safe. We'll need to implement something like this: https://sourceware.org/ml/libc-help/2014-11/msg00008.html |
Happen to stumble upon this long lost open issue here; I experienced the same issue with Glutin and was able to fix it by installing some sdl packages ( |
Hi, I don't know where to seek help so I decided to post here as this error occurs on these examples as well, when I try to create a window, the unwrap panicks and returns "no backend is available", what does it mean?
The text was updated successfully, but these errors were encountered: