wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

Protocol violation when launching in Hyprland

Open MariaSolOs opened this issue 5 months ago • 38 comments

What Operating System(s) are you seeing this problem on?

Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

Hyprland

WezTerm version

20240221_075452_95581d86

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

When using the main image of Hyprland, wezterm crashes.

To Reproduce

  1. Within Hyprland, use a keybinding like bind = SUPER, T, exec, wezterm in hyprland.conf to launch wezterm.
  2. Notice how wezterm quickly flashes and crashes.

Configuration

No config

Expected Behavior

For wezterm and Hyprland to work nicely together <3

Logs

Here's the output I obtain when running WAYLAND_DEBUG=1 wezterm within Hyprland:

[ 920526.164] -> [email protected]_registry(new id wl_registry@2) [ 920526.189] -> [email protected](new id wl_callback@3) [ 920526.294] [email protected]_id(3) [ 920526.304] [email protected](1, "wl_shm", 1) [ 920526.317] [email protected](2, "wl_drm", 2) [ 920526.323] [email protected](3, "zwp_linux_dmabuf_v1", 4) [ 920526.326] [email protected](4, "wl_compositor", 6) [ 920526.329] [email protected](5, "wl_subcompositor", 1) [ 920526.332] [email protected](6, "wl_data_device_manager", 3) [ 920526.334] [email protected](7, "zwlr_export_dmabuf_manager_v1", 1) [ 920526.337] [email protected](8, "zwlr_data_control_manager_v1", 2) [ 920526.339] [email protected](9, "zwp_primary_selection_device_manager_v1", 1) [ 920526.342] [email protected](10, "wp_viewporter", 1) [ 920526.345] [email protected](11, "zwlr_gamma_control_manager_v1", 1) [ 920526.347] [email protected](12, "zwlr_output_power_manager_v1", 1) [ 920526.350] [email protected](13, "xdg_wm_base", 6) [ 920526.352] [email protected](14, "wl_seat", 9) [ 920526.355] [email protected](15, "wp_presentation", 1) [ 920526.357] [email protected](16, "ext_idle_notifier_v1", 1) [ 920526.360] [email protected](17, "zwlr_layer_shell_v1", 4) [ 920526.363] [email protected](18, "org_kde_kwin_server_decoration_manager", 1) [ 920526.365] [email protected](19, "zxdg_decoration_manager_v1", 1) [ 920526.368] [email protected](20, "zwlr_output_manager_v1", 4) [ 920526.370] [email protected](21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1) [ 920526.373] [email protected](22, "zwp_pointer_constraints_v1", 1) [ 920526.375] [email protected](23, "zwp_relative_pointer_manager_v1", 1) [ 920526.377] [email protected](24, "zwp_virtual_keyboard_manager_v1", 1) [ 920526.380] [email protected](25, "zwlr_virtual_pointer_manager_v1", 2) [ 920526.382] [email protected](26, "zwlr_foreign_toplevel_manager_v1", 3) [ 920526.385] [email protected](27, "wp_drm_lease_device_v1", 1) [ 920526.387] [email protected](28, "zwp_tablet_manager_v2", 1) [ 920526.390] [email protected](29, "zwp_idle_inhibit_manager_v1", 1) [ 920526.392] [email protected](30, "zxdg_exporter_v1", 1) [ 920526.394] [email protected](31, "zxdg_importer_v1", 1) [ 920526.397] [email protected](32, "zxdg_exporter_v2", 1) [ 920526.399] [email protected](33, "zxdg_importer_v2", 1) [ 920526.402] [email protected](34, "zwp_pointer_gestures_v1", 3) [ 920526.404] [email protected](35, "zwp_text_input_manager_v3", 1) [ 920526.407] [email protected](36, "zwp_input_method_manager_v2", 1) [ 920526.409] [email protected](37, "xdg_activation_v1", 1) [ 920526.411] [email protected](38, "ext_session_lock_manager_v1", 1) [ 920526.414] [email protected](39, "wp_cursor_shape_manager_v1", 1) [ 920526.416] [email protected](40, "wp_tearing_control_manager_v1", 1) [ 920526.419] [email protected](41, "wp_single_pixel_buffer_manager_v1", 1) [ 920526.421] [email protected](42, "xwayland_shell_v1", 1) [ 920526.423] [email protected](43, "hyprland_toplevel_export_manager_v1", 2) [ 920526.426] [email protected](44, "wp_fractional_scale_manager_v1", 1) [ 920526.428] [email protected](45, "zwp_text_input_manager_v1", 1) [ 920526.431] [email protected](46, "hyprland_global_shortcuts_manager_v1", 1) [ 920526.433] [email protected](47, "zwlr_screencopy_manager_v1", 3) [ 920526.436] [email protected](48, "zxdg_output_manager_v1", 3) [ 920526.438] [email protected](49, "wl_output", 4) [ 920526.441] [email protected](13) [ 920526.453] -> [email protected](1, "wl_shm", 1, new id [unknown]@3) [ 920526.474] -> [email protected]_pool(new id wl_shm_pool@4, fd 11, 1) [ 920526.486] -> [email protected](4, "wl_compositor", 5, new id [unknown]@5) [ 920526.491] -> [email protected](5, "wl_subcompositor", 1, new id [unknown]@6) [ 920526.498] -> [email protected](49, "wl_output", 4, new id [unknown]@7) [ 920526.502] -> [email protected](48, "zxdg_output_manager_v1", 3, new id [unknown]@8) [ 920526.511] -> [email protected]_xdg_output(new id zxdg_output_v1@9, wl_output@7) [ 920526.522] -> [email protected](35, "zwp_text_input_manager_v3", 1, new id [unknown]@10) [ 920526.529] -> [email protected](14, "wl_seat", 7, new id [unknown]@11) [ 920526.534] -> [email protected](13, "xdg_wm_base", 5, new id [unknown]@12) [ 920526.537] -> [email protected](19, "zxdg_decoration_manager_v1", 1, new id [unknown]@13) [ 920526.541] -> [email protected](6, "wl_data_device_manager", 3, new id [unknown]@14) [ 920526.545] -> [email protected](9, "zwp_primary_selection_device_manager_v1", 1, new id [unknown]@15) [ 920673.104] [email protected](0) [ 920673.147] [email protected](1) [ 920673.154] [email protected](875709016) [ 920673.159] [email protected](875708993) [ 920673.164] [email protected](875710274) [ 920673.169] [email protected](842094674) [ 920673.174] [email protected](842088786) [ 920673.178] [email protected](892426322) [ 920673.183] [email protected](892420434) [ 920673.188] [email protected](909199186) [ 920673.193] [email protected](808665688) [ 920673.197] [email protected](808665665) [ 920673.202] [email protected](1211384408) [ 920673.206] [email protected](1211384385) [ 920673.211] [email protected](942948952) [ 920673.216] [email protected](942948929) [ 920673.220] [email protected](0, 0, 302, 189, 0, "Unknown", "Unknown", 0) [ 920673.230] [email protected](1, 3024, 1890, 60000) [ 920673.236] [email protected](2) [ 920673.241] [email protected]("eDP-1") [ 920673.246] [email protected]("(null) (null) (eDP-1)") [ 920673.251] [email protected]() [ 920673.255] [email protected]("eDP-1") [ 920673.261] [email protected]("(null) (null) (eDP-1)") [ 920673.266] [email protected]_position(0, 0) [ 920673.272] [email protected]_size(1512, 945) [ 920673.277] [email protected]() [ 920673.282] [email protected]("seat0") [ 920673.288] [email protected](3) [ 920673.875] -> [email protected]_keyboard(new id wl_keyboard@16) [ 920673.897] -> [email protected]_text_input(new id zwp_text_input_v3@17, wl_seat@11) [ 920673.913] -> [email protected]_pointer(new id wl_pointer@18) [ 920673.927] -> [email protected]_data_device(new id wl_data_device@19, wl_seat@11) [ 920673.935] -> [email protected]_device(new id zwp_primary_selection_device_v1@20, wl_seat@11) [ 920681.461] -> [email protected]_surface(new id wl_surface@21) [ 920681.495] -> [email protected]_surface(new id wl_surface@22) [ 920681.511] -> [email protected]_xdg_surface(new id xdg_surface@23, wl_surface@21) [ 920681.520] -> [email protected]_toplevel(new id xdg_toplevel@24) [ 920681.528] -> [email protected]_toplevel_decoration(new id zxdg_toplevel_decoration_v1@25, xdg_toplevel@24) [ 920681.536] -> [email protected]_mode(2) [ 920681.543] -> [email protected]_app_id("org.wezfurlong.wezterm") [ 920681.549] -> [email protected]_title("wezterm") [ 920681.555] -> [email protected]_mode(2) [ 920681.585] -> [email protected]_pool(new id wl_shm_pool@26, fd 23, 1) [ 920681.604] -> [email protected]_surface(new id wl_surface@27) [ 920681.614] -> [email protected]_subsurface(new id wl_subsurface@28, wl_surface@27, wl_surface@21) [ 920681.623] -> [email protected]_sync() [ 920681.628] -> [email protected]_surface(new id wl_surface@29) [ 920681.634] -> [email protected]_subsurface(new id wl_subsurface@30, wl_surface@29, wl_surface@21) [ 920681.642] -> [email protected]_sync() [ 920681.648] -> [email protected]_surface(new id wl_surface@31) [ 920681.655] -> [email protected]_subsurface(new id wl_subsurface@32, wl_surface@31, wl_surface@21) [ 920681.661] -> [email protected]_sync() [ 920681.666] -> [email protected]_surface(new id wl_surface@33) [ 920681.672] -> [email protected]_subsurface(new id wl_subsurface@34, wl_surface@33, wl_surface@21) [ 920681.678] -> [email protected]_sync() [ 920681.683] -> [email protected]_surface(new id wl_surface@35) [ 920681.689] -> [email protected]_subsurface(new id wl_subsurface@36, wl_surface@35, wl_surface@21) [ 920681.706] -> [email protected]_sync() [ 920681.712] -> [email protected]() [ 920681.719] -> [email protected]() [ 920681.726] -> [email protected]() [ 920681.731] -> [email protected]() [ 920681.737] -> [email protected]() [ 920681.741] -> [email protected]() [ 920681.747] -> [email protected]() [ 920681.752] -> [email protected]() [ 920681.757] -> [email protected]() [ 920681.762] -> [email protected]() [ 920681.768] -> [email protected]_min_size(32, 32) [ 920681.775] -> [email protected]_window_geometry(0, 0, 640, 504) [ 920681.781] -> [email protected]() [ 920681.817] [email protected](1, fd 23, 64756) [ 920681.828] [email protected]_info(25, 600) [ 920691.505] [email protected]_id(28) [ 920691.514] [email protected]_id(27) [ 920691.517] [email protected]_id(30) [ 920691.519] [email protected]_id(29) [ 920691.520] [email protected]_id(32) [ 920691.522] [email protected]_id(31) [ 920691.524] [email protected]_id(34) [ 920691.525] [email protected]_id(33) [ 920691.527] [email protected]_id(36) [ 920691.529] [email protected]_id(35) [ 920691.530] [email protected]_capabilities(array[16]) [ 920691.534] [email protected](0, 0, array[0]) [ 920691.536] [email protected](2) [ 920691.538] [email protected](14) [ 920691.565] -> [email protected]_configure(14) [ 920692.930] -> [email protected]_registry(new id wl_registry@35) [ 920692.937] -> [email protected](new id wl_callback@36) [ 920692.981] [email protected]_id(36) [ 920692.988] [email protected](1, "wl_shm", 1) [ 920692.991] [email protected](2, "wl_drm", 2) [ 920692.993] [email protected](3, "zwp_linux_dmabuf_v1", 4) [ 920692.996] -> [email protected](3, "zwp_linux_dmabuf_v1", 4, new id [unknown]@33) [ 920692.999] [email protected](4, "wl_compositor", 6) [ 920693.001] [email protected](5, "wl_subcompositor", 1) [ 920693.003] [email protected](6, "wl_data_device_manager", 3) [ 920693.004] [email protected](7, "zwlr_export_dmabuf_manager_v1", 1) [ 920693.006] [email protected](8, "zwlr_data_control_manager_v1", 2) [ 920693.008] [email protected](9, "zwp_primary_selection_device_manager_v1", 1) [ 920693.010] [email protected](10, "wp_viewporter", 1) [ 920693.011] [email protected](11, "zwlr_gamma_control_manager_v1", 1) [ 920693.013] [email protected](12, "zwlr_output_power_manager_v1", 1) [ 920693.015] [email protected](13, "xdg_wm_base", 6) [ 920693.017] [email protected](14, "wl_seat", 9) [ 920693.018] [email protected](15, "wp_presentation", 1) [ 920693.020] [email protected](16, "ext_idle_notifier_v1", 1) [ 920693.022] [email protected](17, "zwlr_layer_shell_v1", 4) [ 920693.024] [email protected](18, "org_kde_kwin_server_decoration_manager", 1) [ 920693.025] [email protected](19, "zxdg_decoration_manager_v1", 1) [ 920693.027] [email protected](20, "zwlr_output_manager_v1", 4) [ 920693.029] [email protected](21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1) [ 920693.031] [email protected](22, "zwp_pointer_constraints_v1", 1) [ 920693.032] [email protected](23, "zwp_relative_pointer_manager_v1", 1) [ 920693.034] [email protected](24, "zwp_virtual_keyboard_manager_v1", 1) [ 920693.036] [email protected](25, "zwlr_virtual_pointer_manager_v1", 2) [ 920693.037] [email protected](26, "zwlr_foreign_toplevel_manager_v1", 3) [ 920693.039] [email protected](27, "wp_drm_lease_device_v1", 1) [ 920693.041] [email protected](28, "zwp_tablet_manager_v2", 1) [ 920693.042] [email protected](29, "zwp_idle_inhibit_manager_v1", 1) [ 920693.044] [email protected](30, "zxdg_exporter_v1", 1) [ 920693.046] [email protected](31, "zxdg_importer_v1", 1) [ 920693.048] [email protected](32, "zxdg_exporter_v2", 1) [ 920693.052] [email protected](33, "zxdg_importer_v2", 1) [ 920693.054] [email protected](34, "zwp_pointer_gestures_v1", 3) [ 920693.055] [email protected](35, "zwp_text_input_manager_v3", 1) [ 920693.062] [email protected](36, "zwp_input_method_manager_v2", 1) [ 920693.064] [email protected](37, "xdg_activation_v1", 1) [ 920693.066] [email protected](38, "ext_session_lock_manager_v1", 1) [ 920693.067] [email protected](39, "wp_cursor_shape_manager_v1", 1) [ 920693.069] [email protected](40, "wp_tearing_control_manager_v1", 1) [ 920693.071] [email protected](41, "wp_single_pixel_buffer_manager_v1", 1) [ 920693.073] [email protected](42, "xwayland_shell_v1", 1) [ 920693.074] [email protected](43, "hyprland_toplevel_export_manager_v1", 2) [ 920693.076] [email protected](44, "wp_fractional_scale_manager_v1", 1) [ 920693.078] [email protected](45, "zwp_text_input_manager_v1", 1) [ 920693.079] [email protected](46, "hyprland_global_shortcuts_manager_v1", 1) [ 920693.081] [email protected](47, "zwlr_screencopy_manager_v1", 3) [ 920693.083] [email protected](48, "zxdg_output_manager_v1", 3) [ 920693.084] [email protected](49, "wl_output", 4) [ 920693.086] [email protected](14) [ 920693.089] -> [email protected]_default_feedback(new id zwp_linux_dmabuf_feedback_v1@36) [ 920693.091] -> [email protected](new id wl_callback@34) [ 920693.169] [email protected]_id(34) [ 920693.173] [email protected]_device(array[8]) [ 920693.290] [email protected]_table(fd 23, 3136) [ 920693.298] [email protected]_target_device(array[8]) [ 920693.300] [email protected]_flags(0) [ 920693.302] [email protected]_formats(array[392]) [ 920693.306] [email protected]_done() [ 920693.308] [email protected]() [ 920693.310] [email protected](14) [ 920693.312] -> [email protected]() [ 920704.481] -> [email protected]_surface_feedback(new id zwp_linux_dmabuf_feedback_v1@34, wl_surface@21) [ 920704.502] -> [email protected](new id wl_callback@31) [ 920704.577] [email protected]_id(36) [ 920704.583] [email protected]_id(31) [ 920704.585] [email protected](14) [ 920705.462] [email protected]_device(array[8]) [ 920705.469] [email protected]_table(fd 26, 3136) [ 920705.475] [email protected]_target_device(array[8]) [ 920705.478] [email protected]_flags(0) [ 920705.481] [email protected]_formats(array[392]) [ 920705.485] [email protected]_done() [ 920705.488] [email protected]() [ 920713.210] -> [email protected](new id wl_callback@31) [ 920714.176] -> [email protected](new id wl_callback@36) [ 920714.183] -> [email protected]_params(new id zwp_linux_buffer_params_v1@32) [ 920714.196] -> [email protected](fd 28, 0, 0, 2560, 184549376, 2) [ 920714.200] -> [email protected]_immed(new id wl_buffer@29, 640, 504, 875713089, 0) [ 920714.204] -> [email protected]() [ 920714.206] -> [email protected](wl_buffer@29, 0, 0) [ 920714.209] -> [email protected](0, 0, 2147483647, 2147483647) [ 920714.212] -> [email protected]() [ 920720.385] [email protected]_id(32) [ 920720.392] [email protected]_id(31) [ 920720.394] [email protected]_id(36) [ 920720.395] [email protected](16, wl_surface@21, array[0]) [ 920720.399] [email protected](17, 0, 0, 0, 0) [ 920720.402] [email protected](nil) [ 920720.404] [email protected](nil) [ 920720.406] [email protected](nil) [ 920720.408] [email protected](wl_output@7) [ 920720.411] [email protected](18, wl_surface@21, 1507.00000000, 919.00000000) [ 920720.414] [email protected]() [ 920720.415] [email protected](1504, 916, array[24]) [ 920720.418] [email protected](15) [ 920720.420] [email protected](805206) [ 920720.427] -> [email protected]() [ 920720.430] -> [email protected]() [ 920725.195] -> [email protected]_configure(15) [ 920725.223] -> [email protected]_title("bash") [ 920725.229] -> [email protected]() [ 920725.247] -> [email protected]_window_geometry(0, 0, 3008, 1832) 09:51:49.770 WARN wezterm_gui::termwindow::resize > cannot resize window to match Some(RowsAndCols { rows: 24, cols: 80 }) because window_state is MAXIMIZED [ 920734.454] -> [email protected](64) [ 920734.470] -> [email protected]_buffer(new id wl_buffer@31, 0, 2, 2, 8, 0) [ 920734.477] -> [email protected](wl_buffer@31, 0, 0) [ 920734.481] -> [email protected]_buffer_scale(2) [ 920734.484] -> [email protected]() [ 920734.488] -> [email protected]() [ 920734.502] -> [email protected](new id wl_callback@32) [ 920734.675] [email protected](805206) [ 920736.834] -> [email protected](new id wl_callback@36) [ 920736.840] -> [email protected]_params(new id zwp_linux_buffer_params_v1@30) [ 920736.849] -> [email protected](fd 29, 0, 0, 12032, 184549376, 2) [ 920736.853] -> [email protected]_immed(new id wl_buffer@27, 3008, 1832, 875713089, 0) [ 920736.855] -> [email protected]() [ 920736.857] -> [email protected](wl_buffer@27, 0, 0) [ 920736.859] -> [email protected](0, 0, 2147483647, 2147483647) [ 920736.861] -> [email protected]() [ 920736.892] -> [email protected]_cursor_rectangle(0, 0, 7, 20) [ 920736.896] -> [email protected]() [ 920740.377] [email protected]_id(31) [ 920740.425] [email protected]_id(30) [ 920740.428] [email protected](xdg_surface@23, 3, "xdg_surface has never been configured") xdg_surface@23: error 3: xdg_surface has never been configured Protocol error 3 on object xdg_surface@23: 09:51:49.782 ERROR wezterm_gui > running message loop: Protocol error 3 on object xdg_surface@23: ; terminating

Anything else?

I initially reported this issue in Hyprland (https://github.com/hyprwm/Hyprland/issues/4806) but the maintainer said that this seems like a bug in wezterm.

MariaSolOs avatar Feb 24 '24 01:02 MariaSolOs

I get the same error

fraschm1998 avatar Feb 24 '24 05:02 fraschm1998

I am also seeing the same problem

brimless avatar Feb 24 '24 16:02 brimless

I am using the git version of Hyprland on NixOS with wezterm 20240203-110809-5046fc22 which is newest release and am not facing this issue, maybe it's a Hyprland issue that was fixed? Try upgrading your Hyprland to the git version if possible and see if that fixes it maybe

nonetrix avatar Feb 25 '24 01:02 nonetrix

@nonetrix in fact, the issue is only reproducible with the git Hyprland image, but it's fine with the latest release (at least this is what I am experiencing).

MariaSolOs avatar Feb 25 '24 01:02 MariaSolOs

Hi there,

This is definitely a hyprland-caused issue. I have dissected the beginning of these issues start in the range of https://github.com/hyprwm/Hyprland/compare/9a6956fe67801f6a22e4d77d5226dc2401fcc8c6...28410922da556b5960e1c47cf63cc3f3f4aa3384. These are a large bundle of updates that attempt to bump wlroots.

Furthermore, given that this is an update to the wlroot protocol, it would still be necessary to handle in wezterm.

Since this is bleeding edge, this may only apply for a certain subset of users who have updated recently.

For those interested https://github.com/hyprwm/Hyprland/commit/af0c8e299bbbf1726cecfde683137cfd4a6b8642 is the latest functional commit to hyprland that runs wezterm.

sjcobb2022 avatar Feb 26 '24 01:02 sjcobb2022

@sjcobb2022 thank you for the careful investigation!

This is definitely a hyprland-caused issue

Does this mean that this is a Hyprland bug, or that these intentional changes broke Wezterm (but shouldn't be reversed)?

MariaSolOs avatar Feb 26 '24 03:02 MariaSolOs

I do not believe that is a bug (would have to look into it more tho).

I believe that it is a legitimate wlroots spec update that causes the behaviour of wezterm to be considered incorrect.

All my other apps (and proton-based games) work just fine.

sjcobb2022 avatar Feb 26 '24 03:02 sjcobb2022

@sjcobb2022 Makes sense! And yes, I also see GTK-based apps (like Thunderbird or my ags widgets) working just fine.

MariaSolOs avatar Feb 26 '24 03:02 MariaSolOs

is there a work around for this? @MariaSolOs @sjcobb2022

nerdyinu avatar Feb 28 '24 16:02 nerdyinu

@inudev3 revert hyprland to https://github.com/hyprwm/Hyprland/commit/af0c8e299bbbf1726cecfde683137cfd4a6b8642

sjcobb2022 avatar Feb 28 '24 16:02 sjcobb2022

the latest release(20240203-110809-5046fc22) works fine.

juvevood avatar Feb 29 '24 00:02 juvevood

the latest release(20240203-110809-5046fc22) works fine.

Do you have the same setup I described? I just updated hyprland-git and wezterm-nightly on Fedora Asahi and I'm still experiencing this issue.

MariaSolOs avatar Feb 29 '24 20:02 MariaSolOs

is there a work around for this? @MariaSolOs @sjcobb2022

Setting config.enable_wayland = false also works, but I'm not sure of the impact of this.

MariaSolOs avatar Feb 29 '24 21:02 MariaSolOs

the latest release(20240203-110809-5046fc22) works fine.

Do you have the same setup I described? I just updated hyprland-git and wezterm-nightly on Fedora Asahi and I'm still experiencing this issue.

After updating hypland-git yesterday, it was completely unable to start

juvevood avatar Mar 01 '24 00:03 juvevood

the latest release(20240203-110809-5046fc22) works fine.

This is behind main, therefore is functional.

sjcobb2022 avatar Mar 01 '24 00:03 sjcobb2022

Is this fixed in wezterm-nightly or not? Is it related to any of the other Hyprland related issues in wezterm? And does Hyprland need to make this fix or does wezterm need to make it?

Jackaed avatar Apr 03 '24 15:04 Jackaed

Is this fixed in wezterm-nightly or not? Is it related to any of the other Hyprland related issues in wezterm? And does Hyprland need to make this fix or does wezterm need to make it?

@Jackaed This is not fixed (as of 3 days ago when I tried it last). As mentioned here https://github.com/wez/wezterm/issues/5067#issuecomment-1963238274, this is a wlroots spec update, meaning that this should be handled by wezterm.

I have moved to alacritty for the time being, as this, alongside #5079 make wezterm essentially unusable for me.

sjcobb2022 avatar Apr 03 '24 20:04 sjcobb2022

@Jackaed A recent nightly update seems to have fixed the issue on Fedora. My exact version is wezterm 20240405_180910_cce0706b.

Andyterrify avatar Apr 07 '24 21:04 Andyterrify

@Andyterrify doesn't seem to have fixed it on NixOS. Building wezterm from source, the issue persists, and I can only get wezterm to start with $WAYLAND_DISPLAY=1 to force it to use xwayland.

Jackaed avatar Apr 07 '24 22:04 Jackaed

Note that this could be due to the recent Hyprland releases, I'm only on v0.37.1 and Hyprland is on v0.38.1. Will let you know once the update hits nixpkgs-unstable.

Jackaed avatar Apr 07 '24 22:04 Jackaed

20240405_180910_cce0706b

wayland or xwayland? also did you enable enable_wayland on config ?

rubiin avatar Apr 08 '24 04:04 rubiin

20240405_180910_cce0706b

wayland or xwayland? also did you enable enable_wayland on config ?

Also what hyprland version is necessary, as this is caused by a hyprland issue.

sjcobb2022 avatar Apr 08 '24 19:04 sjcobb2022

Hyprland 0.38.1 I don't know what happened yesterday but today it's worked anymore. I run a very minimal config, so if the wezterm.lua didn't load I wouldn't have been able to tell the difference, so its possible it might have defaulted to xwayland mode. I'm switching back to kitty in the meantime, might come back to wezterm once this is fixed

Andyterrify avatar Apr 08 '24 19:04 Andyterrify

same here running kitty on hyperland as wezterm fails to open.

rubiin avatar Apr 09 '24 05:04 rubiin

still not working in hyprland?

carlinhoshk avatar Apr 29 '24 04:04 carlinhoshk

Not for me unfortunately.

sjcobb2022 avatar Apr 29 '24 16:04 sjcobb2022

seems to be working now

I changed enable_wayland = true and its opening the terminal normally.

floork avatar May 06 '24 08:05 floork

Can this be closed? Just have to wait on distros to package it or a release I assume

nonetrix avatar May 06 '24 08:05 nonetrix

Works for me too now (on nightly obviously).

VincentBerthier avatar May 06 '24 09:05 VincentBerthier

Doesn't yet work for me on Hyprland 0.39.1, but it may be that this is fixed by Hyprland 0.40.0. Will test when nixOS packages the new Hyprland version.

Jackaed avatar May 06 '24 10:05 Jackaed