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

fails to start on linux with wayland #253

Closed
ibotty opened this issue Feb 5, 2018 · 3 comments
Closed

fails to start on linux with wayland #253

ibotty opened this issue Feb 5, 2018 · 3 comments

Comments

@ibotty
Copy link

ibotty commented Feb 5, 2018

A version just now compiled from git.

$ citybound 
["citybound"]
All mapped
thread 'main' panicked at 'Library libwayland-egl.so could not be loaded.', libcore/option.rs:917:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

When symbolic linking libwayland-egl.so.1 to libwayland-egl.so, it fails at the following error.

$ citybound 
["citybound"]
All mapped
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: GlutinCreationError(NotSupported)', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
@ibotty
Copy link
Author

ibotty commented Feb 5, 2018

See rust-windowing/glutin#949

@daboross
Copy link

To anyone looking to fix this: I would recommend setting the env variable WINIT_UNIX_BACKEND=x11 before starting glutin/glium.

Running export WINIT_UNIX_BACKEND=x11 before running it fixes it for me.

See rust-windowing/winit#305.

@aeplay
Copy link
Member

aeplay commented Aug 10, 2018

This will be obsolete in the next version, which will fully rely on a browser UI.

@aeplay aeplay closed this as completed Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants