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

Crashes on wayland #33

Open
zaguragit opened this issue Oct 5, 2022 · 5 comments
Open

Crashes on wayland #33

zaguragit opened this issue Oct 5, 2022 · 5 comments

Comments

@zaguragit
Copy link

zaguragit commented Oct 5, 2022

When I try to run the basic example with cargo run it crashes with this error message

[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
fish: Job 1, 'cargo run' terminated by signal SIGABRT (Abort)
@jice-nospam
Copy link
Owner

it uses a completely outdated winit 0.16. To update it I have to replace the existing uni-gl/uni-app backend by something else (probably several libraries as unrust covers a lot of features including async ressources loading on wasm) I'll see if I can replace it but I already tried a lot of libraries without success (including macroquad, notan, bracket)

@jice-nospam
Copy link
Owner

It was a lot of work, but I upgraded the underlying unrust layer to the lastest glutin. Does it fix your issue ?

@zaguragit
Copy link
Author

I'm really sorry for responding so late
The example compiles & runs, but the window is completely transparent

@jice-nospam
Copy link
Owner

Do the glutin examples run on your system ?

@jice-nospam
Copy link
Owner

the examples run fine for me on Ubuntu 22.04 with wayland on the master branch.
cd www && cargo run --example basic

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

2 participants