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

When outputs are disabled+enabled, all windows die or freeze #6642

Closed
WhyNotHugo opened this issue Oct 28, 2021 · 13 comments
Closed

When outputs are disabled+enabled, all windows die or freeze #6642

WhyNotHugo opened this issue Oct 28, 2021 · 13 comments
Labels
bug Not working as intended

Comments

@WhyNotHugo
Copy link
Contributor

Please fill out the following:

After outputs are turned off and on again, Firefox windows die and most other windows are frozen.

swayidle \
  timeout 15 'swaymsg "output * dpms off"' \
  resume 'swaymsg "output * dpms on"'

This is the log output of swaymsg -- exec 'WAYLAND_DEBUG=1 alacritty 2> alacritty.log'

This alacritty window was frozen, and using my kill mapping (bindsym $super+Shift+q kill) won't work.

[3615294.819]  -> [email protected]_registry(new id wl_registry@2)
[3615294.875]  -> [email protected](new id wl_callback@3)
[3615295.040] [email protected]_id(3)
[3615295.180] [email protected](1, "wl_shm", 1)
[3615295.562]  -> [email protected](1, "wl_shm", 1, new id [unknown]@4)
[3615295.594] [email protected](2, "wl_drm", 2)
[3615295.613] [email protected](3, "zwp_linux_dmabuf_v1", 3)
[3615295.631] [email protected](4, "wl_compositor", 4)
[3615295.652]  -> [email protected](4, "wl_compositor", 4, new id [unknown]@5)
[3615295.678] [email protected](5, "wl_subcompositor", 1)
[3615295.697]  -> [email protected](5, "wl_subcompositor", 1, new id [unknown]@6)
[3615295.722] [email protected](6, "wl_data_device_manager", 3)
[3615295.740] [email protected](7, "zwlr_gamma_control_manager_v1", 1)
[3615295.758] [email protected](8, "zxdg_output_manager_v1", 3)
[3615295.776] [email protected](9, "org_kde_kwin_idle", 1)
[3615295.794] [email protected](10, "zwp_idle_inhibit_manager_v1", 1)
[3615295.811] [email protected](11, "zwlr_layer_shell_v1", 4)
[3615295.829] [email protected](12, "xdg_wm_base", 2)
[3615295.847] [email protected](13, "zwp_tablet_manager_v2", 1)
[3615295.865] [email protected](14, "org_kde_kwin_server_decoration_manager", 1)
[3615295.883] [email protected](15, "zxdg_decoration_manager_v1", 1)
[3615295.905]  -> [email protected](15, "zxdg_decoration_manager_v1", 1, new id [unknown]@7)
[3615295.931] [email protected](16, "zwp_relative_pointer_manager_v1", 1)
[3615296.175]  -> [email protected](16, "zwp_relative_pointer_manager_v1", 1, new id [unknown]@8)
[3615296.441] [email protected](17, "zwp_pointer_constraints_v1", 1)
[3615296.466]  -> [email protected](17, "zwp_pointer_constraints_v1", 1, new id [unknown]@9)
[3615296.492] [email protected](18, "wp_presentation", 1)
[3615296.510] [email protected](19, "zwlr_output_manager_v1", 2)
[3615296.528] [email protected](20, "zwlr_output_power_manager_v1", 1)
[3615296.546] [email protected](21, "zwp_input_method_manager_v2", 1)
[3615296.564] [email protected](22, "zwp_text_input_manager_v3", 1)
[3615296.582]  -> [email protected](22, "zwp_text_input_manager_v3", 1, new id [unknown]@10)
[3615296.608] [email protected](23, "zwlr_foreign_toplevel_manager_v1", 3)
[3615296.626] [email protected](24, "wp_drm_lease_device_v1", 1)
[3615296.644] [email protected](25, "zwlr_export_dmabuf_manager_v1", 1)
[3615296.662] [email protected](26, "zwlr_screencopy_manager_v1", 3)
[3615296.680] [email protected](27, "zwlr_data_control_manager_v1", 2)
[3615296.698] [email protected](28, "zwp_primary_selection_device_manager_v1", 1)
[3615296.716] [email protected](29, "wp_viewporter", 1)
[3615296.734] [email protected](30, "zxdg_exporter_v1", 1)
[3615296.752] [email protected](31, "zxdg_importer_v1", 1)
[3615296.770] [email protected](32, "zxdg_exporter_v2", 1)
[3615296.788] [email protected](33, "zxdg_importer_v2", 1)
[3615296.806] [email protected](34, "xdg_activation_v1", 1)
[3615297.049] [email protected](35, "zwp_virtual_keyboard_manager_v1", 1)
[3615297.320] [email protected](36, "zwlr_virtual_pointer_manager_v1", 2)
[3615297.338] [email protected](37, "zwlr_input_inhibit_manager_v1", 1)
[3615297.355] [email protected](38, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[3615297.372] [email protected](39, "wl_seat", 7)
[3615297.390]  -> [email protected](39, "wl_seat", 6, new id [unknown]@11)
[3615297.421] [email protected](40, "zwp_pointer_gestures_v1", 3)
[3615297.439] [email protected](42, "wl_output", 3)
[3615297.457]  -> [email protected](42, "wl_output", 3, new id [unknown]@12)
[3615297.485] [email protected](134)
[3615297.496]  -> [email protected](new id wl_callback@3)
[3615297.592] [email protected]_id(3)
[3615297.607] [email protected](0)
[3615297.623] [email protected](1)
[3615297.632] [email protected](875709016)
[3615297.640] [email protected](875708993)
[3615297.649] [email protected](875710274)
[3615297.657] [email protected](842094674)
[3615297.666] [email protected](842088786)
[3615297.698] [email protected](892426322)
[3615297.708] [email protected](892420434)
[3615297.717] [email protected](909199186)
[3615297.725] [email protected](808665688)
[3615297.734] [email protected](808665665)
[3615297.742] [email protected](1211384408)
[3615297.751] [email protected](1211384385)
[3615297.760] [email protected]("seat0")
[3615297.772] [email protected](7)
[3615297.782] [email protected](0, 0, 800, 340, 0, "Ancor Communications Inc", "ROG PG348Q", 0)
[3615298.311] [email protected](1, 3440, 1440, 59973)
[3615298.339] [email protected](2)
[3615298.349] [email protected]()
[3615298.358] [email protected](134)
[3615298.418]  -> [email protected]_surface(new id wl_surface@3)
[3615298.437]  -> [email protected]_pointer(new id wl_pointer@13)
[3615298.457]  -> [email protected]_relative_pointer(new id zwp_relative_pointer_v1@14, wl_pointer@13)
[3615298.478]  -> [email protected]_keyboard(new id wl_keyboard@15)
[3615303.709]  -> [email protected]_touch(new id wl_touch@16)
[3615303.741]  -> [email protected]_text_input(new id zwp_text_input_v3@17, wl_seat@11)
[3615319.417]  -> [email protected]_surface(new id wl_surface@18)
[3615319.456]  -> [email protected](12, "xdg_wm_base", 2, new id [unknown]@19)
[3615319.491]  -> [email protected]_pool(new id wl_shm_pool@20, fd 14, 128)
[3615319.521]  -> [email protected]_pool(new id wl_shm_pool@21, fd 16, 128)
[3615319.549]  -> [email protected]_xdg_surface(new id xdg_surface@22, wl_surface@18)
[3615319.567]  -> [email protected]_toplevel(new id xdg_toplevel@23)
[3615319.578]  -> [email protected]()
[3615319.585]  -> [email protected]_min_size(2, 1)
[3615319.598]  -> [email protected]_window_geometry(0, 0, 800, 600)
[3615319.618]  -> [email protected]_surface(new id wl_surface@24)
[3615319.628]  -> [email protected]_pointer(new id wl_pointer@25)
[3615319.642]  -> [email protected]_toplevel_decoration(new id zxdg_toplevel_decoration_v1@26, xdg_toplevel@23)
[3615319.657]  -> [email protected]_mode()
[3615319.663]  -> [email protected]_min_size(2, 1)
[3615319.675]  -> [email protected]_max_size(0, 0)
[3615319.686]  -> [email protected]_app_id("Alacritty")
[3615319.694]  -> [email protected]_min_size(2, 1)
[3615319.705]  -> [email protected]_max_size(0, 0)
[3615319.717]  -> [email protected]_title("Alacritty")
[3615319.729]  -> [email protected](new id wl_callback@27)
[3615320.017] [email protected]_id(27)
[3615320.037] [email protected](1, fd 14, 66079)
[3615321.889] [email protected]_info(25, 600)
[3615321.908] [email protected](140)
[3615321.917]  -> [email protected](140)
[3615321.925] [email protected](141)
[3615321.933] [email protected](0, 0, array)
[3615321.950] [email protected](2)
[3615321.958] [email protected](139)
[3615321.966]  -> [email protected]_configure(139)
[3615323.312]  -> [email protected]_registry(new id wl_registry@27)
[3615323.330]  -> [email protected](new id wl_callback@28)
[3615323.468] [email protected]_id(28)
[3615323.486] [email protected](1, "wl_shm", 1)
[3615323.502] [email protected](2, "wl_drm", 2)
[3615323.518]  -> [email protected](2, "wl_drm", 2, new id [unknown]@29)
[3615323.540] [email protected](3, "zwp_linux_dmabuf_v1", 3)
[3615323.555]  -> [email protected](3, "zwp_linux_dmabuf_v1", 3, new id [unknown]@30)
[3615323.576] [email protected](4, "wl_compositor", 4)
[3615323.591] [email protected](5, "wl_subcompositor", 1)
[3615323.606] [email protected](6, "wl_data_device_manager", 3)
[3615323.620] [email protected](7, "zwlr_gamma_control_manager_v1", 1)
[3615323.635] [email protected](8, "zxdg_output_manager_v1", 3)
[3615323.650] [email protected](9, "org_kde_kwin_idle", 1)
[3615323.665] [email protected](10, "zwp_idle_inhibit_manager_v1", 1)
[3615323.679] [email protected](11, "zwlr_layer_shell_v1", 4)
[3615323.694] [email protected](12, "xdg_wm_base", 2)
[3615323.709] [email protected](13, "zwp_tablet_manager_v2", 1)
[3615323.732] [email protected](14, "org_kde_kwin_server_decoration_manager", 1)
[3615323.747] [email protected](15, "zxdg_decoration_manager_v1", 1)
[3615323.762] [email protected](16, "zwp_relative_pointer_manager_v1", 1)
[3615323.776] [email protected](17, "zwp_pointer_constraints_v1", 1)
[3615323.791] [email protected](18, "wp_presentation", 1)
[3615323.806] [email protected](19, "zwlr_output_manager_v1", 2)
[3615323.820] [email protected](20, "zwlr_output_power_manager_v1", 1)
[3615323.835] [email protected](21, "zwp_input_method_manager_v2", 1)
[3615323.850] [email protected](22, "zwp_text_input_manager_v3", 1)
[3615323.865] [email protected](23, "zwlr_foreign_toplevel_manager_v1", 3)
[3615323.879] [email protected](24, "wp_drm_lease_device_v1", 1)
[3615323.894] [email protected](25, "zwlr_export_dmabuf_manager_v1", 1)
[3615323.909] [email protected](26, "zwlr_screencopy_manager_v1", 3)
[3615323.924] [email protected](27, "zwlr_data_control_manager_v1", 2)
[3615323.938] [email protected](28, "zwp_primary_selection_device_manager_v1", 1)
[3615323.953] [email protected](29, "wp_viewporter", 1)
[3615323.968] [email protected](30, "zxdg_exporter_v1", 1)
[3615323.983] [email protected](31, "zxdg_importer_v1", 1)
[3615323.997] [email protected](32, "zxdg_exporter_v2", 1)
[3615324.012] [email protected](33, "zxdg_importer_v2", 1)
[3615324.027] [email protected](34, "xdg_activation_v1", 1)
[3615324.042] [email protected](35, "zwp_virtual_keyboard_manager_v1", 1)
[3615324.056] [email protected](36, "zwlr_virtual_pointer_manager_v1", 2)
[3615324.071] [email protected](37, "zwlr_input_inhibit_manager_v1", 1)
[3615324.086] [email protected](38, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[3615324.101] [email protected](39, "wl_seat", 7)
[3615324.115] [email protected](40, "zwp_pointer_gestures_v1", 3)
[3615324.130] [email protected](42, "wl_output", 3)
[3615324.145] [email protected](141)
[3615324.153]  -> [email protected](new id wl_callback@28)
[3615324.310] [email protected]_id(28)
[3615324.323] [email protected]("/dev/dri/renderD128")
[3615324.374] [email protected](1)
[3615324.386] [email protected](1211384385)
[3615324.393] [email protected](1211384408)
[3615324.424] [email protected](808669761)
[3615324.435] [email protected](808669784)
[3615324.447] [email protected](808665665)
[3615324.455] [email protected](875713089)
[3615324.462] [email protected](875708993)
[3615324.469] [email protected](875713112)
[3615324.476] [email protected](875709016)
[3615324.483] [email protected](892424769)
[3615324.490] [email protected](909199186)
[3615324.497] [email protected](538982482)
[3615324.504] [email protected](540422482)
[3615324.511] [email protected](943215175)
[3615324.518] [email protected](842224199)
[3615324.525] [email protected](961959257)
[3615324.532] [email protected](825316697)
[3615324.539] [email protected](842093913)
[3615324.546] [email protected](909202777)
[3615324.553] [email protected](875713881)
[3615324.560] [email protected](961893977)
[3615324.567] [email protected](825316953)
[3615324.574] [email protected](842094169)
[3615324.581] [email protected](909203033)
[3615324.588] [email protected](875714137)
[3615324.595] [email protected](842094158)
[3615324.602] [email protected](808530000)
[3615324.609] [email protected](842084432)
[3615324.616] [email protected](909193296)
[3615324.623] [email protected](909203022)
[3615324.630] [email protected](1448433985)
[3615324.637] [email protected](1448434008)
[3615324.643] [email protected](808531033)
[3615324.650] [email protected](842085465)
[3615324.657] [email protected](909194329)
[3615324.664] [email protected](1448695129)
[3615324.671] [email protected](1498831189)
[3615324.678] [email protected](808530521)
[3615324.685] [email protected](842084953)
[3615324.692] [email protected](909193817)
[3615324.699] [email protected](1211384385, 0, 0)
[3615324.714] [email protected](1211384385, 16777216, 1)
[3615324.729] [email protected](1211384385, 16777216, 2)
[3615324.749] [email protected](1211384385, 16777216, 4)
[3615324.764] [email protected](1211384385, 16777215, 4294967295)
[3615324.779] [email protected](1211384408, 0, 0)
[3615324.794] [email protected](1211384408, 16777216, 1)
[3615324.809] [email protected](1211384408, 16777216, 2)
[3615324.823] [email protected](1211384408, 16777216, 4)
[3615324.838] [email protected](1211384408, 16777215, 4294967295)
[3615324.853] [email protected](808669761, 0, 0)
[3615324.868] [email protected](808669761, 16777216, 1)
[3615324.882] [email protected](808669761, 16777216, 2)
[3615324.897] [email protected](808669761, 16777215, 4294967295)
[3615324.911] [email protected](808669784, 0, 0)
[3615324.926] [email protected](808669784, 16777216, 1)
[3615324.941] [email protected](808669784, 16777216, 2)
[3615324.955] [email protected](808669784, 16777215, 4294967295)
[3615324.970] [email protected](808665665, 0, 0)
[3615324.985] [email protected](808665665, 16777216, 1)
[3615324.999] [email protected](808665665, 16777216, 2)
[3615325.014] [email protected](808665665, 16777215, 4294967295)
[3615325.029] [email protected](875713089, 0, 0)
[3615325.043] [email protected](875713089, 16777216, 1)
[3615325.058] [email protected](875713089, 16777216, 2)
[3615325.073] [email protected](875713089, 16777216, 4)
[3615325.087] [email protected](875713089, 16777215, 4294967295)
[3615325.102] [email protected](875708993, 0, 0)
[3615325.117] [email protected](875708993, 16777216, 1)
[3615325.131] [email protected](875708993, 16777216, 2)
[3615325.146] [email protected](875708993, 16777216, 4)
[3615325.161] [email protected](875708993, 16777215, 4294967295)
[3615325.175] [email protected](875713112, 0, 0)
[3615325.190] [email protected](875713112, 16777216, 1)
[3615325.205] [email protected](875713112, 16777216, 2)
[3615325.219] [email protected](875713112, 16777216, 4)
[3615325.234] [email protected](875713112, 16777215, 4294967295)
[3615325.249] [email protected](875709016, 0, 0)
[3615325.263] [email protected](875709016, 16777216, 1)
[3615325.278] [email protected](875709016, 16777216, 2)
[3615325.293] [email protected](875709016, 16777216, 4)
[3615325.307] [email protected](875709016, 16777215, 4294967295)
[3615325.322] [email protected](892424769, 0, 0)
[3615325.336] [email protected](892424769, 16777216, 1)
[3615325.351] [email protected](892424769, 16777216, 2)
[3615325.366] [email protected](892424769, 16777215, 4294967295)
[3615325.380] [email protected](909199186, 0, 0)
[3615325.395] [email protected](909199186, 16777216, 1)
[3615325.410] [email protected](909199186, 16777216, 2)
[3615325.424] [email protected](909199186, 16777215, 4294967295)
[3615325.439] [email protected](538982482, 0, 0)
[3615325.454] [email protected](538982482, 16777216, 1)
[3615325.468] [email protected](538982482, 16777216, 2)
[3615325.483] [email protected](538982482, 16777215, 4294967295)
[3615325.498] [email protected](540422482, 0, 0)
[3615325.514] [email protected](540422482, 16777216, 1)
[3615325.529] [email protected](540422482, 16777216, 2)
[3615325.544] [email protected](540422482, 16777215, 4294967295)
[3615325.558] [email protected](943215175, 0, 0)
[3615325.573] [email protected](943215175, 16777216, 1)
[3615325.587] [email protected](943215175, 16777216, 2)
[3615325.605] [email protected](943215175, 16777215, 4294967295)
[3615325.620] [email protected](842224199, 0, 0)
[3615325.635] [email protected](842224199, 16777216, 1)
[3615325.650] [email protected](842224199, 16777216, 2)
[3615325.664] [email protected](842224199, 16777216, 4)
[3615325.679] [email protected](842224199, 16777215, 4294967295)
[3615325.693] [email protected](961959257, 0, 0)
[3615325.708] [email protected](961959257, 16777216, 1)
[3615325.723] [email protected](961959257, 16777216, 2)
[3615325.738] [email protected](961959257, 16777215, 4294967295)
[3615325.752] [email protected](825316697, 0, 0)
[3615325.767] [email protected](825316697, 16777216, 1)
[3615325.781] [email protected](825316697, 16777216, 2)
[3615325.796] [email protected](825316697, 16777215, 4294967295)
[3615325.811] [email protected](842093913, 0, 0)
[3615325.826] [email protected](842093913, 16777216, 1)
[3615325.840] [email protected](842093913, 16777216, 2)
[3615325.855] [email protected](842093913, 16777215, 4294967295)
[3615325.869] [email protected](909202777, 0, 0)
[3615325.884] [email protected](909202777, 16777216, 1)
[3615325.899] [email protected](909202777, 16777216, 2)
[3615325.913] [email protected](909202777, 16777215, 4294967295)
[3615325.928] [email protected](875713881, 0, 0)
[3615325.943] [email protected](875713881, 16777216, 1)
[3615325.957] [email protected](875713881, 16777216, 2)
[3615325.972] [email protected](875713881, 16777215, 4294967295)
[3615325.986] [email protected](961893977, 0, 0)
[3615326.001] [email protected](961893977, 16777216, 1)
[3615326.016] [email protected](961893977, 16777216, 2)
[3615326.030] [email protected](961893977, 16777215, 4294967295)
[3615326.045] [email protected](825316953, 0, 0)
[3615326.060] [email protected](825316953, 16777216, 1)
[3615326.074] [email protected](825316953, 16777216, 2)
[3615326.089] [email protected](825316953, 16777215, 4294967295)
[3615326.104] [email protected](842094169, 0, 0)
[3615326.118] [email protected](842094169, 16777216, 1)
[3615326.133] [email protected](842094169, 16777216, 2)
[3615326.147] [email protected](842094169, 16777215, 4294967295)
[3615326.162] [email protected](909203033, 0, 0)
[3615326.177] [email protected](909203033, 16777216, 1)
[3615326.191] [email protected](909203033, 16777216, 2)
[3615326.206] [email protected](909203033, 16777215, 4294967295)
[3615326.221] [email protected](875714137, 0, 0)
[3615326.235] [email protected](875714137, 16777216, 1)
[3615326.250] [email protected](875714137, 16777216, 2)
[3615326.265] [email protected](875714137, 16777215, 4294967295)
[3615326.279] [email protected](842094158, 0, 0)
[3615326.294] [email protected](842094158, 16777216, 1)
[3615326.308] [email protected](842094158, 16777216, 2)
[3615326.323] [email protected](842094158, 16777215, 4294967295)
[3615326.337] [email protected](808530000, 0, 0)
[3615326.352] [email protected](808530000, 16777216, 1)
[3615326.367] [email protected](808530000, 16777216, 2)
[3615326.381] [email protected](808530000, 16777215, 4294967295)
[3615326.396] [email protected](842084432, 0, 0)
[3615326.411] [email protected](842084432, 16777216, 1)
[3615326.425] [email protected](842084432, 16777216, 2)
[3615326.440] [email protected](842084432, 16777215, 4294967295)
[3615326.457] [email protected](909193296, 0, 0)
[3615326.472] [email protected](909193296, 16777216, 1)
[3615326.487] [email protected](909193296, 16777216, 2)
[3615326.502] [email protected](909193296, 16777215, 4294967295)
[3615326.516] [email protected](909203022, 0, 0)
[3615326.531] [email protected](909203022, 16777216, 1)
[3615326.546] [email protected](909203022, 16777216, 2)
[3615326.560] [email protected](909203022, 16777215, 4294967295)
[3615326.575] [email protected](1448433985, 0, 0)
[3615326.590] [email protected](1448433985, 16777216, 1)
[3615326.604] [email protected](1448433985, 16777216, 2)
[3615326.619] [email protected](1448433985, 16777215, 4294967295)
[3615326.634] [email protected](1448434008, 0, 0)
[3615326.648] [email protected](1448434008, 16777216, 1)
[3615326.663] [email protected](1448434008, 16777216, 2)
[3615326.678] [email protected](1448434008, 16777215, 4294967295)
[3615326.692] [email protected](808531033, 0, 0)
[3615326.707] [email protected](808531033, 16777216, 1)
[3615326.722] [email protected](808531033, 16777216, 2)
[3615326.736] [email protected](808531033, 16777215, 4294967295)
[3615326.751] [email protected](842085465, 0, 0)
[3615326.766] [email protected](842085465, 16777216, 1)
[3615326.780] [email protected](842085465, 16777216, 2)
[3615326.795] [email protected](842085465, 16777215, 4294967295)
[3615326.810] [email protected](909194329, 0, 0)
[3615326.825] [email protected](909194329, 16777216, 1)
[3615326.839] [email protected](909194329, 16777216, 2)
[3615326.854] [email protected](909194329, 16777215, 4294967295)
[3615326.868] [email protected](1448695129, 0, 0)
[3615326.883] [email protected](1448695129, 16777216, 1)
[3615326.898] [email protected](1448695129, 16777216, 2)
[3615326.912] [email protected](1448695129, 16777215, 4294967295)
[3615326.927] [email protected](1498831189, 0, 0)
[3615326.942] [email protected](1498831189, 16777216, 1)
[3615326.956] [email protected](1498831189, 16777216, 2)
[3615326.971] [email protected](1498831189, 16777215, 4294967295)
[3615326.986] [email protected](808530521, 0, 0)
[3615327.000] [email protected](808530521, 16777216, 1)
[3615327.015] [email protected](808530521, 16777216, 2)
[3615327.030] [email protected](808530521, 16777215, 4294967295)
[3615327.044] [email protected](842084953, 0, 0)
[3615327.059] [email protected](842084953, 16777216, 1)
[3615327.074] [email protected](842084953, 16777216, 2)
[3615327.088] [email protected](842084953, 16777215, 4294967295)
[3615327.103] [email protected](909193817, 0, 0)
[3615327.118] [email protected](909193817, 16777216, 1)
[3615327.132] [email protected](909193817, 16777216, 2)
[3615327.147] [email protected](909193817, 16777215, 4294967295)
[3615327.162] [email protected](141)
[3615384.908]  -> [email protected]_registry(new id wl_registry@28)
[3615384.953]  -> [email protected](new id wl_callback@31)
[3615385.086] [email protected]_id(31)
[3615385.104] [email protected](1, "wl_shm", 1)
[3615385.142] [email protected](2, "wl_drm", 2)
[3615385.170] [email protected](3, "zwp_linux_dmabuf_v1", 3)
[3615385.203] [email protected](4, "wl_compositor", 4)
[3615385.234] [email protected](5, "wl_subcompositor", 1)
[3615385.263] [email protected](6, "wl_data_device_manager", 3)
[3615385.313]  -> [email protected](6, "wl_data_device_manager", 3, new id [unknown]@32)
[3615385.363] [email protected](7, "zwlr_gamma_control_manager_v1", 1)
[3615385.411] [email protected](8, "zxdg_output_manager_v1", 3)
[3615385.441] [email protected](9, "org_kde_kwin_idle", 1)
[3615385.475] [email protected](10, "zwp_idle_inhibit_manager_v1", 1)
[3615385.502] [email protected](11, "zwlr_layer_shell_v1", 4)
[3615385.532] [email protected](12, "xdg_wm_base", 2[3615385.552]  -> [email protected](new id wl_callback@33)
)
[3615385.615] [email protected](13, "zwp_tablet_manager_v2", 1)
[3615385.640]  -> [email protected]_params(new id zwp_linux_buffer_params_v1@34)
[3615385.678] [email protected](14, "org_kde_kwin_server_decoration_manager", 1)
[3615385.700]  -> [email protected](fd 30, 0, 0, 3200, 16777216, 4)
[3615385.775] [email protected](15, "zxdg_decoration_manager_v1", 1)
[3615385.779]  -> [email protected](fd 31, 1, 1945600, 128, 16777216, 4)
[3615385.867]  -> [email protected]_immed(new id wl_buffer@35, 800, 600, 875713089, 0)
[3615385.894]  -> [email protected]()
[3615385.904]  -> [email protected](wl_buffer@35, 0, 0)
[3615385.924]  -> [email protected](0, 0, 2147483647, 2147483647)
[3615385.924] [email protected](16, "zwp_relative_pointer_manager_v1", 1)
[3615385.990] [email protected](17, "zwp_pointer_constraints_v1", 1)
[3615386.010] [email protected](18, "wp_presentation", 1)
[3615386.028] [email protected](19, "zwlr_output_manager_v1", 2)
[3615386.047] [email protected](20, "zwlr_output_power_manager_v1", 1)
[3615386.066] [email protected](21, "zwp_input_method_manager_v2", 1)
[3615386.085] [email protected](22, "zwp_text_input_manager_v3", 1)
[3615386.104] [email protected](23, "zwlr_foreign_toplevel_manager_v1", 3)
[3615386.123] [email protected](24, "wp_drm_lease_device_v1", 1)
[3615386.142] [email protected](25, "zwlr_export_dmabuf_manager_v1", 1)
[3615386.162] [email protected](26, "zwlr_screencopy_manager_v1", 3)
[3615386.182] [email protected](27, "zwlr_data_control_manager_v1", 2)
[3615386.202] [email protected](28, "zwp_primary_selection_device_manager_v1", 1)
[3615386.222] [email protected](29, "wp_viewporter", 1)
[3615386.241] [email protected](30, "zxdg_exporter_v1", 1)
[3615386.261] [email protected](31, "zxdg_importer_v1", 1)
[3615386.282] [email protected](32, "zxdg_exporter_v2", 1)
[3615386.304] [email protected](33, "zxdg_importer_v2", 1)
[3615386.329] [email protected](34, "xdg_activation_v1", 1)
[3615386.350] [email protected](35, "zwp_virtual_keyboard_manager_v1", 1)
[3615386.371] [email protected](36, "zwlr_virtual_pointer_manager_v1", 2)
[3615386.391] [email protected](37, "zwlr_input_inhibit_manager_v1", 1)
[3615386.412] [email protected](38, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[3615386.432] [email protected](39, "wl_seat", 7)
[3615386.452]  -> [email protected](39, "wl_seat", 6, new id [unknown]@36)
[3615386.481] [email protected](40, "zwp_pointer_gestures_v1", 3)
[3615386.502] [email protected](42, "wl_output", 3)
[3615386.522] [email protected](141)
[3615386.533]  -> [email protected](new id wl_callback@31)
[3615386.658]  -> [email protected]()
[3615386.670]  -> [email protected](new id wl_callback@37)
[3615386.714] [email protected]_id(34)
[3615386.719] [email protected]_id(31)
[3615386.736] [email protected]("seat0")
[3615386.768] [email protected](7)
[3615386.778]  -> [email protected]_data_device(new id wl_data_device@34, wl_seat@36)
[3615386.796] [email protected](141)
[3615386.806]  -> [email protected](28, "zwp_primary_selection_device_manager_v1", 1, new id [unknown]@31)
[3615386.832]  -> [email protected]_device(new id zwp_primary_selection_device_v1@38, wl_seat@36)
[3615386.850]  -> [email protected]_keyboard(new id wl_keyboard@39)
[3615386.862]  -> [email protected]_pointer(new id wl_pointer@40)
[3615387.227] [email protected]_id(33)
[3615387.239] [email protected]_id(37)
[3615387.246] [email protected](145, wl_surface@18, array)
[3615387.276] [email protected](146, 0, 0, 16, 0)
[3615387.307] [email protected](1146, 934, array)
[3615387.324] [email protected](142)
[3615387.334]  -> [email protected]_configure(142)
[3615387.352] [email protected](1, fd 30, 66079)
[3615387.939] [email protected](nil)
[3615387.965] [email protected](nil)
[3615387.977] [email protected](1, fd 29, 66079)
[3615387.999] [email protected]_info(25, 600)
[3615388.013] [email protected](147, wl_surface@18, array)
[3615388.034] [email protected](148, 0, 0, 16, 0)
[3615390.129] [email protected]_info(25, 600)
[3615390.173] [email protected](148, 0, 0, 16, 0)
[3615390.220]  -> [email protected]_window_geometry(0, 0, 1146, 934)
[3615390.263] [email protected](53454)
[3615393.593] [email protected](146)
[3615396.211]  -> [email protected](new id wl_callback@37)
[3615396.267]  -> [email protected]_params(new id zwp_linux_buffer_params_v1@33)
[3615396.296]  -> [email protected](fd 30, 0, 0, 4608, 16777216, 4)
[3615396.328]  -> [email protected](fd 31, 1, 4423680, 256, 16777216, 4)
[3615396.355]  -> [email protected]_immed(new id wl_buffer@41, 1146, 934, 875713089, 0)
[3615396.379]  -> [email protected]()
[3615396.387]  -> [email protected](wl_buffer@41, 0, 0)
[3615396.402]  -> [email protected](0, 0, 2147483647, 2147483647)
[3615396.622]  -> [email protected]()
[3615396.643]  -> [email protected](new id wl_callback@42)
[3615397.045] [email protected]_id(33)
[3615397.067] [email protected]_id(42)
[3615403.119] [email protected](wl_output@12)
[3615403.158]  -> [email protected]_buffer_scale(2)
[3615403.180]  -> [email protected]_window_geometry(0, 0, 1146, 934)
[3615431.235] [email protected]_id(37)
[3615431.270] [email protected](53480)
[3615431.435] [email protected](149)
[3615431.445] [email protected]()
[3615431.451]  -> [email protected]()
[3615440.015]  -> [email protected](new id wl_callback@42)
[3615440.056]  -> [email protected]_params(new id zwp_linux_buffer_params_v1@37)
[3615440.082]  -> [email protected](fd 30, 0, 0, 9216, 16777216, 4)
[3615440.113]  -> [email protected](fd 31, 1, 17399808, 384, 16777216, 4)
[3615440.140]  -> [email protected]_immed(new id wl_buffer@33, 2292, 1868, 875713089, 0)
[3615440.164]  -> [email protected]()
[3615440.170]  -> [email protected](wl_buffer@33, 0, 0)
[3615440.184]  -> [email protected](0, 0, 2147483647, 2147483647)
[3615440.508]  -> [email protected]()
[3615440.521]  -> [email protected](new id wl_callback@43)
[3615440.784] [email protected]_id(35)
[3615440.802] [email protected]_id(37)
[3615440.810] [email protected]_id(43)
[3615446.634] [email protected]_id(42)
[3615446.656] [email protected](53513)
[3615540.386] [email protected]()
[3615540.413]  -> [email protected]()
[3615540.420] [email protected](149)
[3615544.194]  -> [email protected](new id wl_callback@43)
[3615544.231]  -> [email protected]_params(new id zwp_linux_buffer_params_v1@42)
[3615544.256]  -> [email protected](fd 30, 0, 0, 9216, 16777216, 4)
[3615544.285]  -> [email protected](fd 31, 1, 17399808, 384, 16777216, 4)
[3615544.310]  -> [email protected]_immed(new id wl_buffer@37, 2292, 1868, 875713089, 0)
[3615544.333]  -> [email protected]()
[3615544.338]  -> [email protected](wl_buffer@37, 0, 0)
[3615544.359]  -> [email protected](0, 0, 2147483647, 2147483647)
[3615544.515]  -> [email protected]()
[3615544.525]  -> [email protected](new id wl_callback@35)
[3615544.561]  -> [email protected]_title("alacritty [~]")
[3615544.575]  -> [email protected]()
[3615544.745] [email protected]_id(41)
[3615544.763] [email protected]_id(42)
[3615544.770] [email protected]_id(35)
[3615546.676] [email protected]_id(43)
[3615546.705] [email protected](53613)
[3615555.079] [email protected]()
[3615555.107] [email protected](149)
[3615555.567]  -> [email protected](new id wl_callback@35)
[3615555.591]  -> [email protected](wl_buffer@33, 0, 0)
[3615555.607]  -> [email protected](0, 0, 2147483647, 2147483647)
[3615555.702]  -> [email protected]()
[3615555.712]  -> [email protected](new id wl_callback@43)
[3615555.853] [email protected]_id(43)
[3615563.535] [email protected]_id(35)
[3615563.583] [email protected](53630)
[3616031.974] [email protected](150, 54098, 56, 1)
[3616032.171] [email protected](151, 64, 0, 16, 0)
[3616034.581] [email protected](150, 54098, 56, 1)
[3616034.772] [email protected](151, 64, 0, 16, 0)
[3616548.341] [email protected](152, wl_surface@18)
[3616548.490] [email protected](1146, 934, array)
[3616548.571] [email protected](153)
[3616548.604]  -> [email protected]_configure(153)
[3616548.666]  -> [email protected]_window_geometry(0, 0, 1146, 934)
[3616549.310] [email protected]()
[3616549.341] [email protected](149)
[3616549.531]  -> [email protected](new id wl_callback@43)
[3616549.611]  -> [email protected](wl_buffer@37, 0, 0)
[3616549.701]  -> [email protected](0, 0, 2147483647, 2147483647)
[3616550.244]  -> [email protected]()
[3616550.326]  -> [email protected](new id wl_callback@35)
[3616551.330] [email protected]_id(35)
[3616556.260] [email protected](152, wl_surface@18)
[3695193.863] [email protected](1, fd 30, 66071)
[3695200.136] [email protected]_info(25, 600)
[3695200.197] [email protected](1, fd 32, 66011)
[3695201.089] [email protected](1, fd 29, 66071)
[3695201.158] [email protected]_info(25, 600)
[3695201.183] [email protected](1, fd 31, 66011)
[3695201.217] [email protected]_info(25, 600)
[3695201.241] [email protected](1, fd 33, 66011)
[3695201.273] [email protected]_info(25, 600)
[3695201.297] [email protected](1, fd 35, 66011)
[3695201.330] [email protected]_info(25, 600)
[3695201.354] [email protected](1, fd 37, 66011)
[3695201.387] [email protected]_info(25, 600)
[3695201.410] [email protected](1, fd 39, 66011)
[3695201.449] [email protected]_info(25, 600)
[3695201.474] [email protected](1, fd 41, 66011)
[3695201.507] [email protected]_info(25, 600)
[3695201.530] [email protected](1, fd 43, 66011)
[3695201.563] [email protected]_info(25, 600)
[3695201.587] [email protected](1, fd 45, 66011)
[3695201.619] [email protected]_info(25, 600)
[3695201.643] [email protected](1, fd 47, 66011)
[3695201.675] [email protected]_info(25, 600)
[3695201.698] [email protected](1, fd 49, 66011)
[3695201.731] [email protected]_info(25, 600)
[3695201.755] [email protected](1, fd 51, 66079)
[3695201.787] [email protected]_info(25, 600)
[3695215.959] [email protected]_info(25, 600)
[3695216.017] [email protected](1, fd 34, 66011)
[3695307.133] [email protected]_info(25, 600)
[3695307.210] [email protected](1, fd 36, 66011)
[3695339.303] [email protected]_info(25, 600)
[3695339.366] [email protected](1, fd 38, 66011)
[3695384.602] [email protected]_info(25, 600)
[3695384.661] [email protected](1, fd 40, 66011)
[3695390.182] [email protected]_info(25, 600)
[3695390.239] [email protected](1, fd 42, 66011)
[3695438.932] [email protected]_info(25, 600)
[3695439.010] [email protected](1, fd 44, 66011)
[3695497.830] [email protected]_info(25, 600)
[3695497.887] [email protected](1, fd 46, 66011)
[3695540.042] [email protected]_info(25, 600)
[3695540.123] [email protected](1, fd 48, 66011)
[3695581.559] [email protected]_info(25, 600)
[3695581.611] [email protected](1, fd 50, 66011)
[3695604.282] [email protected]_info(25, 600)
[3695626.122] [email protected](1, fd 52, 66079)
[3695645.760] [email protected]_info(25, 600)

This looks close to #6640, but:

  • Only Firefox dies.
  • All other applications are just permanently frozen.
  • If a window for a frozen application is moved to a larger container, its rendered frozen in the middle, with transparency around it.
  • When swaylock freezes, nothing responds, but I haven't seen it crash (I wasn't running swaylock in this test to make things simpler).
@WhyNotHugo WhyNotHugo added the bug Not working as intended label Oct 28, 2021
@WhyNotHugo
Copy link
Contributor Author

Hmmm, all those [email protected] don't look correct -- that event should likely be sent just once.

@rpigott
Copy link
Member

rpigott commented Oct 28, 2021

Sway sends a keymap event for each of your attached keyboards. Not technically necessary, but it's been that way for a long time so it's unlikely to be the cause of your issue.

@WhyNotHugo
Copy link
Contributor Author

WhyNotHugo commented Oct 28, 2021 via email

@rpigott
Copy link
Member

rpigott commented Oct 28, 2021

Your debug paste gives me 502 bad gateway...

@cab404
Copy link

cab404 commented Oct 29, 2021

Same experience. Looks something like this:

dead_sway

Processes for those windows are alive and responding, but it looks as if windows get cut off from processes.
Affects every single application, using native wayland.
Sway 1.6.1, NixOS
I too have dpms on swayidle, but swaymsg 'output * dpms off; output * dpms on' doesn't seem to trigger the bug.

@WhyNotHugo
Copy link
Contributor Author

WhyNotHugo commented Oct 29, 2021

@cab404 I believe the window's behaviour is the same one that I'm seeing. They basically retain their content from before the output went off, and don't react to resizing (so you see a lot of the background).

Re-posting debug log due to the 502: sway2.log

@cab404
Copy link

cab404 commented Oct 30, 2021

So, I've tried investigating it further, by starting sway on vt1 and starting a sacrificial program in vt2 I am trying to get into "limbo" state with

WAYLAND_DEBUG=1 WAYLAND_DISPLAY=wayland-1 alacritty 2>&1 | tee sacrifitial-alacritty.log

(Cheers, #6640)

After a bit of monkey-testing stuff, I've managed to get limbo-ed by reloading sway in the middle of loading huge GPU load (4 firefox windows, 2 codium windows, and some other stuff at once).
Also managed to repro it once by loading one Spotify window and reloading before it finished it's barrage of window updates.

(and to crash display connection multiple times

00:01:41.478 [INFO] [wlr] [xwayland/server.c:208] Restarting Xwayland (lazy)
(EE) failed to read Wayland events: Broken pipe
.telegram-desktop-wrapped: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
flameshot: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
copyq: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
00:01:41.488 [INFO] [wlr] [xwayland/server.c:99] WAYLAND_SOCKET=32 Xwayland :0 -rootless -terminate -core -listenfd 33 -listenfd 35 -wm 71
00:01:41.513 [DEBUG] [sway/desktop/transaction.c:356] Transaction 0x243e7e0 timed out (13 waiting)
00:01:41.513 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x243e7e0
00:01:41.515 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1080@0,0
00:01:41.515 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '10' at 0.000000, 0.000000
00:01:41.515 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffe74d5d820 horizontally
00:01:41.515 [DEBUG] [sway/tree/arrange.c:156] Arranging 0x7ffe74d5d750 vertically
00:01:41.515 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x2624d00 committing with 16 instructions
glamor: No eglstream capable devices found
(EE)Gdk-Message: 02:54:52.714: Error reading events from display: Broken pipe
 could not connect to wayland server

)

So, here's log from that limbo-ed alacritty
another-sacrificial-alacritty.log
Notice, how before I shutdown sway, there's not a single event happening in three minutes I am looking around the wreckage, resizing, and spawning new windows.
Some observations:

  • Alacritty did detect sway shutting down, and died after I stopped sway -- so wayland connection is probably intact?
  • Every program owned by sway got killed. All disowned processes were left in limbo state, detached from their now lifeless windows (oh god I love this).
  • Way error reproduces really reminds me of GPU errors.

I didn't record a usable log from sway (I have one where I crashed sway, and another, 160Mb long)

@rpigott
Copy link
Member

rpigott commented Oct 30, 2021

I think I found a reproduction:

  1. Spawn a ton of terminals, like ~40 ish.
  2. reload

I think the issue may be related to #6310. Those keymap events might be related after all.

@rpigott
Copy link
Member

rpigott commented Oct 30, 2021

Does #6629 help?

@WhyNotHugo
Copy link
Contributor Author

WhyNotHugo commented Oct 30, 2021 via email

@WhyNotHugo
Copy link
Contributor Author

#6629 seems to fix this for me.

@cab404
Copy link

cab404 commented Nov 2, 2021

Opt to reopen. Can still repro on that fork.

@cab404
Copy link

cab404 commented Nov 2, 2021

Also, it seems like (30% sure) that setting ulimit -n unlimited for some reason crashes sway instead of sending windows to limbo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

3 participants