Crashes on wayland
zaguragit opened this issue · comments
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)
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)
It was a lot of work, but I upgraded the underlying unrust layer to the lastest glutin. Does it fix your issue ?
I'm really sorry for responding so late
The example compiles & runs, but the window is completely transparent
Do the glutin examples run on your system ?
the examples run fine for me on Ubuntu 22.04 with wayland on the master branch.
cd www && cargo run --example basic