Baltazár Radics (dccdc0f2) at 07 Aug 07:45
Baltazár Radics (a3956655) at 07 Nov 07:20
xdg-open: fix search_desktop_file's logic
... and 4 more commits
Yep, still happens on latest vanilla wlroots (05454618).
I can still reproduce it, though I'm running master with wlr_raster
patches applied. I can try with vanilla wlroots if you think it would matter.
I get a bunch of these errors from wlroots (under sway master):
[backend/drm/atomic.c:71] connector eDP-1: Atomic commit failed: Device or resource busy
My GPU is Intel Corporation Skylake GT2 [HD Graphics 520]
, using i915
.
It happens rather randomly, but I can usually reproduce it by doing something in foot
.
Whenever it happens, the failed frame is not retried, so the screen doesn't change until the next update.
00:00:00.993 [DEBUG] [wlr] [xcursor/wlr_xcursor.c:243] Loaded cursor theme 'default' at size 24 (115 available cursors)
00:00:00.995 [DEBUG] [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:00.995 [DEBUG] [wlr] [render/allocator/gbm.c:143] Allocated 256x256 GBM buffer with format AR24 (0x34325241), modifier LINEAR (0x0000000000000000)
00:00:00.995 [DEBUG] [wlr] [render/gles2/renderer.c:142] Created GL FBO for buffer 256x256
00:00:00.996 [DEBUG] [sway/desktop/layer_shell.c:55] Usable area changed, rearranging output
00:00:00.996 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1080@0,0
00:00:00.996 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '2' at 10.000000, 10.000000
00:00:00.996 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1080@0,0
00:00:00.996 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '2' at 10.000000, 10.000000
00:00:00.996 [DEBUG] [sway/input/libinput.c:198] sway_input_configure_libinput_device('type:keyboard' on '6058:20564:ThinkPad_Extra_Buttons')
00:00:01.005 [DEBUG] [sway/input/seat.c:725] Applying input config to 2:10:TPPS/2_IBM_TrackPoint
00:00:01.005 [DEBUG] [sway/input/libinput.c:198] sway_input_configure_libinput_device('type:touchpad' on '2:7:SynPS/2_Synaptics_TouchPad')
00:00:01.005 [DEBUG] [sway/input/seat.c:725] Applying input config to 2:7:SynPS/2_Synaptics_TouchPad
00:00:01.005 [DEBUG] [sway/input/libinput.c:198] sway_input_configure_libinput_device('type:keyboard' on '1:1:AT_Translated_Set_2_keyboard')
00:00:01.013 [DEBUG] [sway/input/libinput.c:198] sway_input_configure_libinput_device('type:keyboard' on '1266:46380:Integrated_Camera:_Integrated_C')
00:00:01.021 [DEBUG] [sway/input/libinput.c:198] sway_input_configure_libinput_device('type:keyboard' on '0:3:Sleep_Button')
00:00:01.029 [DEBUG] [sway/input/seat.c:725] Applying input config to 0:5:Lid_Switch
00:00:01.029 [DEBUG] [sway/input/switch.c:103] Configured switch for device
00:00:01.029 [DEBUG] [sway/input/libinput.c:198] sway_input_configure_libinput_device('type:keyboard' on '0:6:Video_Bus')
00:00:01.037 [DEBUG] [sway/input/libinput.c:198] sway_input_configure_libinput_device('type:keyboard' on '0:1:Power_Button')
00:00:01.045 [DEBUG] [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:01.045 [DEBUG] [wlr] [render/allocator/gbm.c:143] Allocated 256x256 GBM buffer with format AR24 (0x34325241), modifier LINEAR (0x0000000000000000)
00:00:01.045 [DEBUG] [wlr] [render/gles2/renderer.c:142] Created GL FBO for buffer 256x256
00:00:01.045 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faaa0aac0 committing with 2 instructions
00:00:01.045 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faaa0aac0
00:00:01.045 [INFO] [wlr] [backend/headless/backend.c:16] Starting headless backend
00:00:01.045 [DEBUG] [sway/config/bar.c:266] Invoking swaybar for bar id '1'
00:00:01.048 [DEBUG] [sway/config/bar.c:258] Spawned swaybar 1
00:00:01.048 [DEBUG] [sway/config.c:681] Running deferred commands
00:00:01.048 [INFO] [sway/commands.c:260] Handling command 'workspace number 1'
00:00:01.048 [DEBUG] [sway/tree/workspace.c:68] Adding workspace 1 for output eDP-1
00:00:01.049 [DEBUG] [sway/tree/workspace.c:601] Switching to workspace 0x564faa87d2e0:1
00:00:01.049 [DEBUG] [sway/tree/workspace.c:165] Destroying workspace '2'
00:00:01.049 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1080@0,0
00:00:01.049 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 10.000000, 10.000000
00:00:01.049 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1080@0,0
00:00:01.049 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 10.000000, 10.000000
00:00:01.049 [INFO] [sway/commands.c:260] Handling command 'exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK TERMINAL QT_QPA_PLATFORMTHEME XDG_CURRENT_DESKTOP && systemctl --user start sway-session.target'
00:00:01.049 [DEBUG] [sway/commands/exec_always.c:46] Executing dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK TERMINAL QT_QPA_PLATFORMTHEME XDG_CURRENT_DESKTOP && systemctl --user start sway-session.target
00:00:01.051 [DEBUG] [sway/commands/exec_always.c:92] Child process created with pid 7816
00:00:01.052 [DEBUG] [sway/tree/root.c:332] Recording workspace for process 7816
00:00:01.052 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faab47e20 committing with 3 instructions
00:00:01.052 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faab47e20
00:00:01.052 [INFO] [sway/server.c:303] Running compositor on wayland display 'wayland-1'
00:00:01.052 [DEBUG] [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:01.054 [DEBUG] [wlr] [render/allocator/gbm.c:143] Allocated 1920x1080 GBM buffer with format XR24 (0x34325258), modifier Y_TILED_CCS (0x0100000000000004)
00:00:01.054 [DEBUG] [wlr] [render/gles2/renderer.c:142] Created GL FBO for buffer 1920x1080
00:00:01.107 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faa89a1a0 (res 0x564faab4d8e0)
00:00:01.107 [DEBUG] [wlr] [types/wlr_layer_shell_v1.c:474] new layer_surface 0x564faab7c450 (res 0x564faab2c8c0)
00:00:01.107 [DEBUG] [sway/desktop/layer_shell.c:302] new layer surface: namespace wallpaper layer 0 anchor 15 size 0x0 margin 0,0,0,0,
00:00:01.181 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faa89b030 (res 0x564faab5fc90)
00:00:01.181 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faa8983e0 (res 0x564faaa0acb0)
00:00:01.206 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faa89d660 (res 0x564faab55910)
00:00:01.206 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faa899540 (res 0x564faaaf0460)
00:00:01.315 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faa897290 (res 0x564faab2c390)
00:00:01.315 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faa8b4680 (res 0x564faab5de30)
00:00:01.353 [DEBUG] [sway/ipc-server.c:198] New client: fd 78
00:00:01.353 [DEBUG] [sway/ipc-server.c:198] New client: fd 80
00:00:01.363 [DEBUG] [sway/ipc-server.c:198] New client: fd 82
00:00:01.363 [DEBUG] [sway/ipc-server.c:198] New client: fd 84
00:00:01.364 [DEBUG] [sway/ipc-server.c:198] New client: fd 86
00:00:01.364 [DEBUG] [sway/ipc-server.c:198] New client: fd 88
00:00:01.376 [DEBUG] [sway/ipc-server.c:198] New client: fd 90
00:00:01.376 [DEBUG] [sway/ipc-server.c:198] New client: fd 92
00:00:01.383 [DEBUG] [sway/ipc-server.c:198] New client: fd 94
00:00:01.387 [DEBUG] [sway/ipc-server.c:198] New client: fd 96
00:00:01.450 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faac71860 (res 0x564faab4cf90)
00:00:01.450 [DEBUG] [wlr] [types/wlr_layer_shell_v1.c:474] new layer_surface 0x564faace91b0 (res 0x564faab4ef60)
00:00:01.450 [DEBUG] [sway/desktop/layer_shell.c:302] new layer surface: namespace waybar layer 1 anchor 13 size 0x30 margin 0,0,0,0,
00:00:01.469 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faa89e7e0 (res 0x564faab50310)
00:00:01.469 [DEBUG] [wlr] [xwayland/server.c:273] Xserver is ready
00:00:01.470 [DEBUG] [wlr] [xwayland/xwm.c:1842] xfixes version: 6.0
00:00:01.470 [DEBUG] [wlr] [xwayland/xwm.c:1863] xres version: 1.2
00:00:01.478 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:01.478 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:01.478 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:01.478 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:01.478 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:01.478 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:01.478 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:01.478 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:01.478 [DEBUG] [sway/input/cursor.c:848] denying request to set cursor from unfocused client
00:00:01.497 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:01.497 [DEBUG] [wlr] [xwayland/xwm.c:1572] unhandled X11 event: MappingNotify (34)
00:00:01.497 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:01.497 [DEBUG] [wlr] [xwayland/xwm.c:1572] unhandled X11 event: MappingNotify (34)
00:00:01.509 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:01.509 [DEBUG] [sway/desktop/xwayland.c:689] New xwayland surface title='(null)' class='(null)'
00:00:01.510 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:01.604 [DEBUG] [sway/desktop/layer_shell.c:55] Usable area changed, rearranging output
00:00:01.604 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:01.604 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 10.000000, 40.000000
00:00:01.604 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faa9f0a60 committing with 1 instructions
00:00:01.604 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faa9f0a60
00:00:01.645 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:01.645 [DEBUG] [sway/desktop/xwayland.c:689] New xwayland surface title='(null)' class='(null)'
00:00:01.999 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faa89cdc0 (res 0x564faaaf0580)
00:00:01.999 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faa88a520 (res 0x564faab557f0)
00:00:02.238 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:02.238 [DEBUG] [wlr] [xwayland/xwm.c:1572] unhandled X11 event: MappingNotify (34)
00:00:02.238 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:02.238 [DEBUG] [wlr] [xwayland/xwm.c:1572] unhandled X11 event: MappingNotify (34)
00:00:02.246 [DEBUG] [sway/commands/bind.c:618] running command for binding: exec "$TERMINAL"
00:00:02.247 [INFO] [sway/commands.c:260] Handling command 'exec "$TERMINAL"'
00:00:02.247 [DEBUG] [sway/commands/exec_always.c:46] Executing $TERMINAL
00:00:02.256 [DEBUG] [sway/commands/exec_always.c:92] Child process created with pid 7962
00:00:02.256 [DEBUG] [sway/tree/root.c:332] Recording workspace for process 7962
00:00:02.256 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:02.310 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faa883530 (res 0x564faa89bbd0)
00:00:02.310 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faa8b3840 (res 0x564faab4f1a0)
00:00:02.310 [DEBUG] [wlr] [types/xdg_shell/wlr_xdg_surface.c:391] new xdg_surface 0x564faacadbe0 (res 0x564faab57ad0)
00:00:02.310 [DEBUG] [wlr] [types/wlr_xdg_decoration_v1.c:206] new xdg_toplevel_decoration 0x564faacadd30 (res 0x564faab56d50)
00:00:02.310 [DEBUG] [sway/desktop/xdg_shell.c:509] New xdg_shell toplevel title='(null)' app_id='foot'
00:00:02.310 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564fa9fb7090 (res 0x564faab611f0)
00:00:02.324 [DEBUG] [sway/tree/root.c:282] Looking up workspace for pid 7962
00:00:02.324 [DEBUG] [sway/tree/root.c:289] found pid_workspace for pid 7962, workspace 1
00:00:02.325 [DEBUG] [sway/ipc-server.c:328] Sending window::new event
00:00:02.326 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:02.326 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:02.326 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:02.326 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd506160 horizontally
00:00:02.326 [DEBUG] [sway/ipc-server.c:328] Sending window::focus event
00:00:02.326 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:02.326 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:02.326 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd506130 horizontally
00:00:02.326 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faacd8740 committing with 4 instructions
00:00:02.332 [DEBUG] [sway/desktop/transaction.c:893] Transaction 0x564faacd8740 is ready
00:00:02.332 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faacd8740
00:00:02.341 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:03.120 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:04.042 [DEBUG] [sway/commands/bind.c:618] running command for binding: exec "$TERMINAL"
00:00:04.042 [INFO] [sway/commands.c:260] Handling command 'exec "$TERMINAL"'
00:00:04.042 [DEBUG] [sway/commands/exec_always.c:46] Executing $TERMINAL
00:00:04.049 [DEBUG] [sway/commands/exec_always.c:92] Child process created with pid 7989
00:00:04.049 [DEBUG] [sway/tree/root.c:332] Recording workspace for process 7989
00:00:04.049 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:04.098 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faad0cee0 (res 0x564faacd9590)
00:00:04.098 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faacae070 (res 0x564faac6b9b0)
00:00:04.098 [DEBUG] [wlr] [types/xdg_shell/wlr_xdg_surface.c:391] new xdg_surface 0x564faad19db0 (res 0x564faac6ba40)
00:00:04.098 [DEBUG] [wlr] [types/wlr_xdg_decoration_v1.c:206] new xdg_toplevel_decoration 0x564faad0cac0 (res 0x564faad0cba0)
00:00:04.098 [DEBUG] [sway/desktop/xdg_shell.c:509] New xdg_shell toplevel title='(null)' app_id='foot'
00:00:04.098 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faad114f0 (res 0x564faab8c420)
00:00:04.113 [DEBUG] [sway/tree/root.c:282] Looking up workspace for pid 7989
00:00:04.113 [DEBUG] [sway/tree/root.c:289] found pid_workspace for pid 7989, workspace 1
00:00:04.113 [DEBUG] [sway/ipc-server.c:328] Sending window::new event
00:00:04.113 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:04.114 [DEBUG] [sway/ipc-server.c:328] Sending window::focus event
00:00:04.114 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:04.114 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:04.114 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd506130 horizontally
00:00:04.114 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faacdee10 committing with 5 instructions
00:00:04.123 [DEBUG] [sway/desktop/transaction.c:893] Transaction 0x564faacdee10 is ready
00:00:04.123 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faacdee10
00:00:04.133 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:04.137 [DEBUG] [sway/input/cursor.c:848] denying request to set cursor from unfocused client
00:00:04.159 [DEBUG] [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:04.159 [DEBUG] [wlr] [render/allocator/gbm.c:143] Allocated 256x256 GBM buffer with format AR24 (0x34325241), modifier LINEAR (0x0000000000000000)
00:00:04.159 [DEBUG] [wlr] [render/gles2/renderer.c:142] Created GL FBO for buffer 256x256
00:00:04.497 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:04.519 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:05.052 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:05.060 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:05.483 [DEBUG] [sway/commands/bind.c:618] running command for binding: focus left
00:00:05.483 [INFO] [sway/commands.c:260] Handling command 'focus left'
00:00:05.483 [DEBUG] [sway/ipc-server.c:328] Sending window::focus event
00:00:05.484 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:05.484 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:05.484 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd506390 horizontally
00:00:05.484 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:05.484 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faab7ea70 committing with 5 instructions
00:00:05.484 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faab7ea70
00:00:06.819 [DEBUG] [wlr] [types/wlr_compositor.c:722] New wlr_surface 0x564faad35920 (res 0x564faad27f60)
00:00:08.445 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:08.454 [ERROR] [wlr] [backend/drm/atomic.c:71] connector eDP-1: Atomic commit failed: Device or resource busy
00:00:08.454 [DEBUG] [wlr] [backend/drm/atomic.c:75] (Atomic commit flags: PAGE_FLIP_EVENT | ATOMIC_NONBLOCK)
00:00:10.525 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:10.533 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:11.730 [DEBUG] [sway/commands/bind.c:618] running command for binding: workspace next_on_output
00:00:11.730 [INFO] [sway/commands.c:260] Handling command 'workspace next_on_output'
00:00:11.730 [DEBUG] [sway/tree/workspace.c:601] Switching to workspace 0x564faa87d2e0:1
00:00:11.730 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:11.730 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:11.731 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd506350 horizontally
00:00:11.731 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:11.731 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faad3b5a0 committing with 4 instructions
00:00:11.731 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faad3b5a0
00:00:12.254 [DEBUG] [sway/commands/bind.c:618] running command for binding: nop
00:00:12.254 [INFO] [sway/commands.c:260] Handling command 'nop'
00:00:12.254 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:12.287 [DEBUG] [sway/commands/bind.c:618] running command for binding: focus next
00:00:12.287 [INFO] [sway/commands.c:260] Handling command 'focus next'
00:00:12.287 [DEBUG] [sway/ipc-server.c:328] Sending window::focus event
00:00:12.287 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:12.287 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:12.287 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd506390 horizontally
00:00:12.287 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:12.287 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faa84f0d0 committing with 5 instructions
00:00:12.287 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faa84f0d0
00:00:12.747 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:12.757 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:13.137 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:13.145 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:13.311 [DEBUG] [sway/commands/bind.c:618] running command for binding: nop
00:00:13.311 [INFO] [sway/commands.c:260] Handling command 'nop'
00:00:13.311 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:13.327 [DEBUG] [sway/commands/bind.c:618] running command for binding: focus next
00:00:13.327 [INFO] [sway/commands.c:260] Handling command 'focus next'
00:00:13.327 [DEBUG] [sway/ipc-server.c:328] Sending window::focus event
00:00:13.327 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:13.327 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:13.327 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd506390 horizontally
00:00:13.328 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:13.328 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faacd8470 committing with 5 instructions
00:00:13.328 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faacd8470
00:00:13.755 [DEBUG] [sway/commands/bind.c:618] running command for binding: nop
00:00:13.755 [INFO] [sway/commands.c:260] Handling command 'nop'
00:00:13.755 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:13.787 [DEBUG] [sway/commands/bind.c:618] running command for binding: focus next
00:00:13.787 [INFO] [sway/commands.c:260] Handling command 'focus next'
00:00:13.787 [DEBUG] [sway/ipc-server.c:328] Sending window::focus event
00:00:13.788 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:13.788 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:13.788 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd506390 horizontally
00:00:13.788 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:13.788 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faad0d6f0 committing with 5 instructions
00:00:13.788 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faad0d6f0
00:00:14.174 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:14.183 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:14.508 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:14.531 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:14.877 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:14.885 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:15.015 [DEBUG] [sway/commands/bind.c:618] running command for binding: nop
00:00:15.015 [INFO] [sway/commands.c:260] Handling command 'nop'
00:00:15.015 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:15.087 [DEBUG] [sway/commands/bind.c:618] running command for binding: focus next
00:00:15.087 [INFO] [sway/commands.c:260] Handling command 'focus next'
00:00:15.087 [DEBUG] [sway/ipc-server.c:328] Sending window::focus event
00:00:15.088 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:15.088 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:15.088 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd506390 horizontally
00:00:15.088 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:15.088 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564fa9fbfea0 committing with 5 instructions
00:00:15.088 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564fa9fbfea0
00:00:15.462 [DEBUG] [sway/commands/bind.c:618] running command for binding: nop
00:00:15.462 [INFO] [sway/commands.c:260] Handling command 'nop'
00:00:15.462 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:15.495 [DEBUG] [sway/commands/bind.c:618] running command for binding: focus next
00:00:15.495 [INFO] [sway/commands.c:260] Handling command 'focus next'
00:00:15.495 [DEBUG] [sway/ipc-server.c:328] Sending window::focus event
00:00:15.495 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:15.496 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:15.496 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd506390 horizontally
00:00:15.496 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:15.496 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faad40160 committing with 5 instructions
00:00:15.496 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faad40160
00:00:15.890 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:15.898 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:16.283 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:16.293 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:16.664 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:16.673 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:17.054 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:17.061 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:17.416 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:17.426 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:17.435 [ERROR] [wlr] [backend/drm/atomic.c:71] connector eDP-1: Atomic commit failed: Device or resource busy
00:00:17.435 [DEBUG] [wlr] [backend/drm/atomic.c:75] (Atomic commit flags: PAGE_FLIP_EVENT | ATOMIC_NONBLOCK)
00:00:17.452 [ERROR] [wlr] [backend/drm/atomic.c:71] connector eDP-1: Atomic commit failed: Device or resource busy
00:00:17.452 [DEBUG] [wlr] [backend/drm/atomic.c:75] (Atomic commit flags: PAGE_FLIP_EVENT | ATOMIC_NONBLOCK)
00:00:17.569 [DEBUG] [sway/commands/bind.c:618] running command for binding: nop
00:00:17.569 [INFO] [sway/commands.c:260] Handling command 'nop'
00:00:17.570 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:17.633 [DEBUG] [sway/commands/bind.c:618] running command for binding: focus next
00:00:17.633 [INFO] [sway/commands.c:260] Handling command 'focus next'
00:00:17.633 [DEBUG] [sway/ipc-server.c:328] Sending window::focus event
00:00:17.633 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:17.634 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:17.634 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd506390 horizontally
00:00:17.634 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:17.634 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faad1c140 committing with 5 instructions
00:00:17.634 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faad1c140
00:00:18.479 [DEBUG] [sway/commands/bind.c:618] running command for binding: nop
00:00:18.479 [INFO] [sway/commands.c:260] Handling command 'nop'
00:00:18.479 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:18.519 [DEBUG] [sway/commands/bind.c:618] running command for binding: focus next
00:00:18.519 [INFO] [sway/commands.c:260] Handling command 'focus next'
00:00:18.519 [DEBUG] [sway/ipc-server.c:328] Sending window::focus event
00:00:18.520 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:18.520 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:18.520 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd506390 horizontally
00:00:18.520 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:18.520 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faad421a0 committing with 5 instructions
00:00:18.520 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faad421a0
00:00:19.093 [DEBUG] [sway/ipc-server.c:328] Sending window::close event
00:00:19.094 [DEBUG] [sway/ipc-server.c:328] Sending window::focus event
00:00:19.094 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:19.094 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:19.094 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd5061d0 horizontally
00:00:19.095 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:19.095 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 30.000000
00:00:19.095 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffdbd506220 horizontally
00:00:19.095 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faace71e0 committing with 5 instructions
00:00:19.107 [DEBUG] [sway/desktop/transaction.c:893] Transaction 0x564faace71e0 is ready
00:00:19.107 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faace71e0
00:00:20.399 [DEBUG] [sway/ipc-server.c:328] Sending window::title event
00:00:20.692 [DEBUG] [sway/ipc-server.c:328] Sending window::close event
00:00:20.692 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1050@0,30
00:00:20.692 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 10.000000, 40.000000
00:00:20.692 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faac68f30 committing with 4 instructions
00:00:20.692 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faac68f30
00:00:21.320 [DEBUG] [sway/commands/bind.c:618] running command for binding: mode 'Exit sway?'
00:00:21.320 [INFO] [sway/commands.c:260] Handling command 'mode 'Exit sway?''
00:00:21.320 [DEBUG] [sway/commands/mode.c:77] Switching to mode `Exit sway?' (pango=0)
00:00:21.320 [DEBUG] [sway/ipc-server.c:371] Sending mode::Exit sway? event
00:00:21.320 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:21.803 [DEBUG] [sway/commands/bind.c:618] running command for binding: exec 'systemctl --user stop graphical-session.target; swaymsg -q exit'
00:00:21.804 [INFO] [sway/commands.c:260] Handling command 'exec 'systemctl --user stop graphical-session.target; swaymsg -q exit''
00:00:21.804 [DEBUG] [sway/commands/exec_always.c:46] Executing systemctl --user stop graphical-session.target; swaymsg -q exit
00:00:21.811 [DEBUG] [sway/commands/exec_always.c:92] Child process created with pid 8091
00:00:21.811 [DEBUG] [sway/tree/root.c:332] Recording workspace for process 8091
00:00:21.811 [DEBUG] [sway/ipc-server.c:400] Sending binding event
00:00:21.834 [DEBUG] [wlr] [xwayland/selection/selection.c:148] not handling selection events: no seat assigned to xwayland
00:00:21.882 [INFO] [sway/ipc-server.c:558] IPC Client 96 disconnected
00:00:21.882 [INFO] [sway/ipc-server.c:558] IPC Client 94 disconnected
00:00:21.882 [INFO] [sway/ipc-server.c:558] IPC Client 92 disconnected
00:00:21.882 [INFO] [sway/ipc-server.c:558] IPC Client 90 disconnected
00:00:21.882 [INFO] [sway/ipc-server.c:558] IPC Client 88 disconnected
00:00:21.882 [INFO] [sway/ipc-server.c:558] IPC Client 86 disconnected
00:00:21.882 [INFO] [sway/ipc-server.c:558] IPC Client 84 disconnected
00:00:21.882 [INFO] [sway/ipc-server.c:558] IPC Client 82 disconnected
00:00:21.883 [INFO] [sway/ipc-server.c:558] IPC Client 80 disconnected
00:00:21.883 [INFO] [sway/ipc-server.c:558] IPC Client 78 disconnected
00:00:21.883 [DEBUG] [sway/desktop/layer_shell.c:55] Usable area changed, rearranging output
00:00:21.883 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1080@0,0
00:00:21.883 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 10.000000, 10.000000
00:00:21.883 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faa7ba390 committing with 1 instructions
00:00:21.883 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faa7ba390
00:00:21.888 [DEBUG] [sway/ipc-server.c:198] New client: fd 34
00:00:21.888 [INFO] [sway/commands.c:260] Handling command 'exit'
00:00:21.888 [INFO] [sway/main.c:414] Shutting down sway
00:00:21.888 [DEBUG] [sway/input/input-manager.c:202] removing device: '6058:20564:ThinkPad_Extra_Buttons'
00:00:21.888 [DEBUG] [sway/input/seat.c:979] removing device 6058:20564:ThinkPad_Extra_Buttons from seat seat0
00:00:21.888 [DEBUG] [sway/input/keyboard.c:815] Removing keyboard 6058:20564:ThinkPad_Extra_Buttons from group 0x564faa8c6c20
00:00:21.888 [DEBUG] [sway/input/input-manager.c:202] removing device: '2:10:TPPS/2_IBM_TrackPoint'
00:00:21.888 [DEBUG] [sway/input/seat.c:979] removing device 2:10:TPPS/2_IBM_TrackPoint from seat seat0
00:00:21.888 [DEBUG] [sway/input/input-manager.c:202] removing device: '2:7:SynPS/2_Synaptics_TouchPad'
00:00:21.888 [DEBUG] [sway/input/seat.c:979] removing device 2:7:SynPS/2_Synaptics_TouchPad from seat seat0
00:00:21.889 [DEBUG] [sway/input/input-manager.c:202] removing device: '1:1:AT_Translated_Set_2_keyboard'
00:00:21.889 [DEBUG] [sway/input/seat.c:979] removing device 1:1:AT_Translated_Set_2_keyboard from seat seat0
00:00:21.889 [DEBUG] [sway/input/keyboard.c:815] Removing keyboard 1:1:AT_Translated_Set_2_keyboard from group 0x564faa8c6c20
00:00:21.889 [DEBUG] [sway/input/input-manager.c:202] removing device: '1266:46380:Integrated_Camera:_Integrated_C'
00:00:21.889 [DEBUG] [sway/input/seat.c:979] removing device 1266:46380:Integrated_Camera:_Integrated_C from seat seat0
00:00:21.889 [DEBUG] [sway/input/keyboard.c:815] Removing keyboard 1266:46380:Integrated_Camera:_Integrated_C from group 0x564faa8c6c20
00:00:21.890 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:3:Sleep_Button'
00:00:21.890 [DEBUG] [sway/input/seat.c:979] removing device 0:3:Sleep_Button from seat seat0
00:00:21.890 [DEBUG] [sway/input/keyboard.c:815] Removing keyboard 0:3:Sleep_Button from group 0x564faa8c6c20
00:00:21.890 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:5:Lid_Switch'
00:00:21.890 [DEBUG] [sway/input/seat.c:979] removing device 0:5:Lid_Switch from seat seat0
00:00:21.890 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:6:Video_Bus'
00:00:21.890 [DEBUG] [sway/input/seat.c:979] removing device 0:6:Video_Bus from seat seat0
00:00:21.890 [DEBUG] [sway/input/keyboard.c:815] Removing keyboard 0:6:Video_Bus from group 0x564faa8c6c20
00:00:21.890 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:1:Power_Button'
00:00:21.890 [DEBUG] [sway/input/seat.c:979] removing device 0:1:Power_Button from seat seat0
00:00:21.890 [DEBUG] [sway/input/keyboard.c:815] Removing keyboard 0:1:Power_Button from group 0x564faa8c6c20
00:00:21.890 [DEBUG] [sway/input/keyboard.c:821] Destroying empty keyboard group 0x564faa8c6c20
00:00:22.226 [DEBUG] [sway/tree/output.c:296] Disabling output 'eDP-1'
00:00:22.226 [DEBUG] [sway/tree/workspace.c:165] Destroying workspace '1'
00:00:22.227 [DEBUG] [sway/tree/output.c:318] Destroying output 'eDP-1'
00:00:22.227 [DEBUG] [sway/desktop/transaction.c:807] Transaction 0x564faacb0290 committing with 2 instructions
00:00:22.227 [DEBUG] [sway/desktop/transaction.c:703] Applying transaction 0x564faacb0290
00:00:22.227 [DEBUG] [wlr] [backend/drm/drm.c:985] connector eDP-1: De-allocating CRTC 0
00:00:22.487 [DEBUG] [wlr] [types/wlr_drm_lease_v1.c:103] Destroying wlr_drm_lease_device_v1 for /dev/dri/card0
00:00:23.363 [DEBUG] [wlr] [types/wlr_drm_lease_v1.c:685] Destroying wlr_drm_lease_v1_manager
00:00:23.363 [INFO] [sway/ipc-server.c:558] IPC Client 34 disconnected
It's only supposed to try other applications when the first one failed to start, but currently it continues searching even if an executable was found but exited with a non-zero status code. Also, the current approach waits for the program to exit, which is not consistent with how various DE's launching scripts work. This patch fixes both issues.
Both !13 and !31 try to solve the same issue (incorrectly). Should also fix #158.
Baltazár Radics (9c2534fd) at 27 Jun 20:39
xdg-open: fix search_desktop_file's logic
Baltazár Radics (b327f0fa) at 27 Jun 20:38
xdg-open: fix search_desktop_file's logic
@Cherenkov11 that issue seems to happen with any recording stream. I just tested with pacat -r /dev/null
:
In carla (which uses the jack interface), I connected a meter to the input directly, and the monitor of the recording stream, and both seem to be working. However, Plasma PA doesn't report signal level at all, but it's connected to the same monitor, and it also exhibits this bug of staying in the creating state, so each open and close leaves an instance of it behind.
Note that the recording stream does not have to be through pulse, the same thing can be reproduced with pw-cat -r /dev/null
.
pa_stream_connect_record
leaves the stream in PA_STREAM_CREATING
state indefinitely in certain situations, for example when the source being connected to is suspended. This causes KDE's plasma-pa
to leave behind lingering volume monitors.
In plasma-pa
's case, the relevant code is here: it tries to connect when you open the applet, then it tries to disconnect when you close it. Normally it would take the false branch here, but in this scenario it always stays in the PA_STREAM_CREATING
and its callback is never called (until the stream is resumed).
It seems to happen in all cases involving a suspended stream. I also experienced it with a recording stream's monitor, e.g. when plasma tries to show mic input level to chrome (this could be a separate bug, since the volume monitor doesn't work, while it does with pulseaudio).
mpv --pause test.ogg
, or have chromium use the microphone (e.g. visit https://onlinemictest.com)pw-dump
shows multiple copies of Plasma PA
.
(pw-dump | grep '"node.name": "Plasma PA"' | wc -l
shows the number of lingering monitors)
No monitors should linger.
When using pulseaudio, the stream doesn't get stuck in the creating state, and plasma-pa
can successfully disconnect it.
pw-dump
: pw-dump.log