Wezterm: Wezterm broken on Wayland

Created on 10 Oct 2020  路  2Comments  路  Source: wez/wezterm

Describe the bug

When I try to start wezterm, it crashes:

 2020-10-10T21:23:18.992Z ERROR wezterm::frontend::gui::termwindow > OpenGL initialized! AMD Radeon RX 5700 XT (NAVI10, DRM 3.38.0, 5.8.14-arch1-1, LLVM 10.0.1) OpenGL ES 3.2 Mesa 20.2.0 is_context_loss_possible=false
 2020-10-10T21:23:19.043Z ERROR wezterm                            > Error while flushing display: Broken pipe (os error 32); terminating
[1]    263867 segmentation fault (core dumped)  cargo run --bin wezterm

Environment

  • Linux with Wayland (using the sway window manager)
  • Version: wezterm 20200909-002054-4c9af461-79-g0c32963f

To Reproduce

Just try to run wezterm, like cargo run --bin wezterm

Additional context

I ran git bisect and found 025732d0 was the commit that introduced this error.

Linux Wayland bug

All 2 comments

Thanks for digging in and bisecting!

I've pushed a fix that seems to work for me when running Wayland against Weston under X11. I know that setup isn't an ideal Wayland implementation, but it was sufficient to reproduce the issue and it now appears to be resolved for me.

Awesome, that fixes it for me too!

Was this page helpful?
0 / 5 - 0 ratings