wrench crashes on Fedora 40 under Wayland
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: hovinen, Unassigned)
Details
Steps to reproduce:
git clone https://github.com/servo/webrender.git
cd webrender/wrench
RUST_BACKTRACE=1 cargo run --release -- load ~/wr-capture
(Same results with other commands, such as cargo run -- test_init)
Actual results:
Running `<redacted>/webrender/target/release/wrench load <redacted>/wr-capture`
interface 'wl_surface' has no event 2
thread 'main' panicked at wrench/src/main.rs:362:18:
called Result::unwrap()
on an Err
value: OsError("eglInitialize failed")
stack backtrace:
0: rust_begin_unwind
at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/std/src/panicking.rs:645:5
1: core::panicking::panic_fmt
at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/panicking.rs:72:14
2: core::result::unwrap_failed
at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/result.rs:1654:5
3: wrench::make_window
4: wrench::main
at ./src/main.rs:681:22
5: core::ops::function::FnOnce::call_once
at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with RUST_BACKTRACE=full
for a verbose backtrace
Expected results:
It should not have crashed.
Comment 1•4 months ago
|
||
We are stuck with an old winit version because of some android-related shenanigans. until this is sorted out, I've found that setting the environment variable WINIT_UNIX_BACKEND=x11
works around the wrench/winit issues I've had under wayland.
Description
•