mortie / swaylock-effects

Swaylock, with fancy effects
MIT License
708 stars 45 forks source link

Regression caused by "Fix dynamically adding and removing displays" #33

Closed mmonaco closed 3 years ago

mmonaco commented 3 years ago

Ironically, eb2d931b74cbfd942ec11129c3d4d6bd290d708c is causing an issue with --screenshots combined with --effects-blur (I use -blur, I'm not sure if other effects are in scope too, but certainly --screenshots is important here).

I tested against upstream swaywm/swaylock to be sure and then bisected between v1.6-1 and v1.6-2. When I change displays while locked (since eb2d931b74cbfd942ec11129c3d4d6bd290d708c) and I return to my seat, the static screen is still covered with a blurred screenshot, the "new" display just shows the raw screen. To be clear, not the original un-blurred screenshot, but whatever is live on the screen, a video for example. I quote "new" because in my situation I'm using a KVM so what's happening is that one screen is being disconnected and reconnected while the swaylock is running.

A secondary issue (or maybe primary depending on your perspective) is that there's no defense in depth here and an error is leading to my screen being completely visible while locked. Input is still blocked, but I'm not sure if that's because swaylock is deadlocked or not.

cinghiopinghio commented 3 years ago

I'm also facing problems with effects after a recent upgrade.

After upgrading from ac353b7 to 5ddc949 (and following commits) I'm not able to use any effect (greyscale, compose, blur, ...). They just do not show up without any warning.

Luckily, the annoying bug related to hot-plugging external screens is gone.

mortie commented 3 years ago

Could both of you run sway with --debug and post the logs when things don't work, as well as the full command (or config file) you're using to launch swaylock?

It makes sense that a bisect would show https://github.com/mortie/swaylock-effects/commit/eb2d931b74cbfd942ec11129c3d4d6bd290d708c as a culprit, because that was my first attempt at fixing hot-plugging issues and I later found that there were some serious problems with it. The current solution for dynamically adding and removing displays was added here: https://github.com/mortie/swaylock-effects/commit/f90adcbbbb31e5c0bcb9fa0bbdd681e43e994b75 (sorry for the somewhat messy commit history...)

cinghiopinghio commented 3 years ago

Hi, I haven't seen any weird stuff on sway log sway.log.

This is my config:

ignore-empty-password
show-failed-attempts
fade-in=2
grace=4
clock
indicator
font=Fira Sans
font-size=42
image=~/.local/share/background.jpg
indicator-radius=100
indicator-thickness=5
timestr=%H:%M
datestr=%a %d %B
effect-greyscale
effect-vignette=0.6:1
ring-color=#ffffff
line-color=#22222222
line-caps-lock-color=#22222222
line-clear-color=#22222222
line-ver-color=#22222222
line-wrong-color=#22222222
0bs3n commented 3 years ago

Hi, I haven't seen any weird stuff on sway log sway.log.

This is my config:

ignore-empty-password
show-failed-attempts
fade-in=2
grace=4
clock
indicator
font=Fira Sans
font-size=42
image=~/.local/share/background.jpg
indicator-radius=100
indicator-thickness=5
timestr=%H:%M
datestr=%a %d %B
effect-greyscale
effect-vignette=0.6:1
ring-color=#ffffff
line-color=#22222222
line-caps-lock-color=#22222222
line-clear-color=#22222222
line-ver-color=#22222222
line-wrong-color=#22222222

I can confirm this behavior, but only when using --image. using --screenshot does apply the effects normally. Looking at the code, the only place I can see swaylock_run_effects(_timed) being called is within handle_screencopy_frame_ready, is this intended?

cinghiopinghio commented 3 years ago

I can confirm that --screenshot works as expected.

mortie commented 3 years ago

Oh, sorry, I missed the fact that your issue @cinghiopinghio wasn't related to the crashing reported in this issue at all.

It is actually intentional behavior then (which doesn't mean it's the correct decision). Before, applying effects to images just kind of happened as a consequence of how it was implemented. When rewriting it now, I had to make the decision about whether to apply effects to images or not. I decided to only apply effects to screenshots, not images, because that provides the most flexibility; one could define that one output should have an image, while the other screen should have a blurred version of the background. If effects are applied to images too, one can't decide to have a non-blurred image on one screen and a screenshot on the other. I recognize now though that that's probably the wrong approach, and that a way to restrict which outputs an effect applies to would be a better solution in general (if it's even something which has to be solved).

I'll revert that behavior change, so that effects run on images too.

mortie commented 3 years ago

Alright, https://github.com/mortie/swaylock-effects/commit/78321dfae52f5448fb9a2a64284951cd4f2dc94e makes it so that effects are applied to images as well.

cinghiopinghio commented 3 years ago

Oh, I misunderstood the issue then. Sorry. Nice to hear that effects will work on images once more. My use case is to apply effects to the background so that windows "disappear". I could of coarse use imagemagick to reproduce the same effects but the running time was very long last time I checked.

mortie commented 3 years ago

Anyways, @mmonaco, it would be nice to see what your swaylock prints when you encounter your issue, with --debug. I don't have a KVM to test with, and I'm unable to reproduce your issue by just unplugging and re-plugging a monitor from my laptop.

mmonaco commented 3 years ago

Here are logs from both swaylock and sway. I tried to do each of start lock, switch away, switch back at the start of a minute and annotated as such in each log. This is also commented in the logs but note that DP-1 is the connection going through the KVM and HDMI-A-2 is static. (DP-1's native resolution is 2k but I run it at 1080, I tried separately running at native just in case and the problem remained).

My swaylock commandline is:

/usr/bin/systemd-cat -t swaylock swaylock --debug -f --ignore-empty-password --indicator-radius=200 --show-failed-attempts --clock --fade-in=1 --grace=0 --screenshots --effect-blur=27x10

(I also tried with and without wrapping with systemd-cat).

swaylock logs:

### DP-1 is connected to KVM. It is the one that changes.
### HDMI-A-2 is connected directly. It does not change.

### 8:57 - BEGIN LOCK
Nov 12 08:57:00 hostname swaylock[1763]: 2020-11-12 08:57:00 - [main.c:1755] Parsing CLI Args
Nov 12 08:57:00 hostname swaylock[1763]: 2020-11-12 08:57:00 - [main.c:641] output name is DP-1
Nov 12 08:57:00 hostname swaylock[1763]: 2020-11-12 08:57:00 - [main.c:641] output name is HDMI-A-2
Nov 12 08:57:00 hostname swaylock[1763]: 2020-11-12 08:57:00 - [main.c:529] Loaded screenshot for output DP-1
Nov 12 08:57:00 hostname swaylock[1763]: 2020-11-12 08:57:00 - [main.c:529] Loaded screenshot for output HDMI-A-2

### 8:58 - CHANGE OUTPUTS (KVM)

### 8:59 - CHANGE BACK (KVM)
Nov 12 08:59:00 hostname swaylock[1772]: 2020-11-12 08:59:00 - [main.c:641] output name is DP-1
Nov 12 08:59:00 hostname swaylock[1772]: 2020-11-12 08:59:00 - [main.c:499] Replacing image defined for output DP-1 with screenshot
Nov 12 08:59:00 hostname swaylock[1772]: 2020-11-12 08:59:00 - [main.c:529] Loaded screenshot for output DP-1

sway logs:

### DP-1 is connected to KVM. It is the one that changes.
### HDMI-A-2 is connected directly. It does not change.

Nov 12 08:56:23 hostname sway[762]: 00:05:25.533 [sway/ipc-server.c:535] Client 52 writable
Nov 12 08:56:23 hostname sway[762]: 00:05:25.533 [sway/ipc-server.c:535] Client 65 writable
Nov 12 08:56:23 hostname sway[762]: 00:05:25.551 [sway/ipc-server.c:219] Client 50 readable
Nov 12 08:56:23 hostname sway[762]: 00:05:25.551 [sway/ipc-server.c:958] Added IPC reply of type 0x1 to client 50 queue: [ { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]", "focused": true, "visible": true }, { "id": 4, "name": "1", "rect": { "x": 0, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "DP-1", "type": "workspace", "representation": "T[Alacritty]", "focused": false, "visible": true } ]
Nov 12 08:56:23 hostname sway[762]: 00:05:25.551 [sway/ipc-server.c:219] Client 60 readable
Nov 12 08:56:23 hostname sway[762]: 00:05:25.551 [sway/ipc-server.c:958] Added IPC reply of type 0x1 to client 60 queue: [ { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]", "focused": true, "visible": true }, { "id": 4, "name": "1", "rect": { "x": 0, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "DP-1", "type": "workspace", "representation": "T[Alacritty]", "focused": false, "visible": true } ]
Nov 12 08:56:23 hostname sway[762]: 00:05:25.555 [sway/ipc-server.c:535] Client 50 writable
Nov 12 08:56:23 hostname sway[762]: 00:05:25.555 [sway/ipc-server.c:535] Client 60 writable
Nov 12 08:56:23 hostname sway[762]: 00:05:25.814 [DEBUG] [types/seat/wlr_seat_pointer.c:382] button_count=1 grab_serial=4310 serial=4350
Nov 12 08:56:23 hostname sway[762]: 00:05:25.918 [DEBUG] [types/seat/wlr_seat_pointer.c:382] button_count=0 grab_serial=4350 serial=4351

### 8:57 - BEGIN LOCK
Nov 12 08:57:00 hostname sway[762]: 00:06:02.717 [sway/commands/bind.c:616] running command for binding: exec /usr/bin/loginctl lock-session
Nov 12 08:57:00 hostname sway[762]: 00:06:02.717 [sway/commands.c:255] Handling command 'exec /usr/bin/loginctl lock-session'
Nov 12 08:57:00 hostname sway[762]: 00:06:02.717 [sway/commands/exec_always.c:50] Executing /usr/bin/loginctl lock-session
Nov 12 08:57:00 hostname sway[762]: 00:06:02.722 [sway/commands/exec_always.c:91] Child process created with pid 1761
Nov 12 08:57:00 hostname sway[762]: 00:06:02.722 [sway/tree/root.c:290] Recording workspace for process 1761
Nov 12 08:57:00 hostname sway[762]: 00:06:02.743 [DEBUG] [types/wlr_surface.c:666] New wlr_surface 0x557f518f5ab0 (res 0x557f519543b0)
Nov 12 08:57:00 hostname sway[762]: 00:06:02.743 [DEBUG] [types/wlr_surface.c:666] New wlr_surface 0x557f51656f30 (res 0x557f51942b60)
Nov 12 08:57:00 hostname sway[762]: 00:06:02.743 [DEBUG] [types/wlr_layer_shell_v1.c:458] new layer_surface 0x557f5175ce40 (res 0x557f5194d530)
Nov 12 08:57:00 hostname sway[762]: 00:06:02.743 [sway/desktop/layer_shell.c:513] new layer surface: namespace lockscreen layer 3 anchor 15 size 0x0 margin 0,0,0,0,
Nov 12 08:57:00 hostname sway[762]: 00:06:02.743 [DEBUG] [types/wlr_surface.c:666] New wlr_surface 0x557f516572e0 (res 0x557f519439c0)
Nov 12 08:57:00 hostname sway[762]: 00:06:02.743 [DEBUG] [types/wlr_surface.c:666] New wlr_surface 0x557f51602d40 (res 0x557f515e1480)
Nov 12 08:57:00 hostname sway[762]: 00:06:02.743 [DEBUG] [types/wlr_layer_shell_v1.c:458] new layer_surface 0x557f516030f0 (res 0x557f515de880)
Nov 12 08:57:00 hostname sway[762]: 00:06:02.743 [sway/desktop/layer_shell.c:513] new layer surface: namespace lockscreen layer 3 anchor 15 size 0x0 margin 0,0,0,0,
Nov 12 08:57:00 hostname sway[762]: 00:06:02.745 [DEBUG] [types/wlr_output.c:791] Disabling direct scan-out on output 'DP-1' (locks: 1)
Nov 12 08:57:00 hostname sway[762]: 00:06:02.745 [DEBUG] [types/wlr_output.c:791] Disabling direct scan-out on output 'HDMI-A-2' (locks: 1)
Nov 12 08:57:00 hostname sway[762]: 00:06:02.755 [DEBUG] [types/wlr_output.c:791] Enabling direct scan-out on output 'DP-1' (locks: 0)
Nov 12 08:57:00 hostname sway[762]: 00:06:02.765 [DEBUG] [types/wlr_output.c:791] Enabling direct scan-out on output 'HDMI-A-2' (locks: 0)

### 8:58 - CHANGE OUTPUTS (KVM)
Nov 12 08:57:59 hostname sway[762]: 00:07:02.152 [DEBUG] [backend/session/session.c:45] udev event for card0 (change)
Nov 12 08:57:59 hostname sway[762]: 00:07:02.152 [DEBUG] [backend/drm/backend.c:112] /dev/dri/card0 invalidated
Nov 12 08:57:59 hostname sway[762]: 00:07:02.152 [INFO] [backend/drm/drm.c:1248] Scanning DRM connectors
Nov 12 08:57:59 hostname sway[762]: 00:07:02.153 [INFO] [backend/drm/drm.c:1423] 'DP-1' disconnected
Nov 12 08:57:59 hostname sway[762]: 00:07:02.153 [INFO] [backend/drm/drm.c:1613] Emitting destruction signal for 'DP-1'
Nov 12 08:57:59 hostname sway[762]: 00:07:02.153 [DEBUG] [backend/drm/drm.c:1054] De-allocating CRTC 0 for output 'DP-1'
Nov 12 08:58:00 hostname sway[762]: 00:07:02.358 [sway/tree/output.c:264] Disabling output 'DP-1'
Nov 12 08:58:00 hostname sway[762]: 00:07:02.358 [sway/ipc-server.c:306] Sending workspace::move event
Nov 12 08:58:00 hostname sway[762]: 00:07:02.358 [sway/ipc-server.c:958] Added IPC reply of type 0x80000000 to client 52 queue: { "change": "move", "old": null, "current": { "id": 4, "name": "1", "rect": { "x": 0, "y": 26, "width": 1920, "height": 1054 }, "focused": false, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ { "id": 7, "name": "[0] 0:journalctl - user@hostname:~", "rect": { "x": 0, "y": 53, "width": 1920, "height": 1027 }, "focused": false, "focus": [ ], "border": "normal", "current_border_width": 2, "layout": "none", "orientation": "none", "percent": 1.0, "window_rect": { "x": 0, "y": 0, "width": 1920, "height": 1027 }, "deco_rect": { "x": 0, "y": 0, "width": 1920, "height": 27 }, "geometry": { "x": 0, "y": 0, "width": 800, "height": 630 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 0, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "type": "con", "pid": 937, "app_id": "Alacritty", "visible": false, "max_render_time": 0, "shell": "xdg_shell", "inhibit_idle": false, "idle_inhibitors": { "user": "none", "application": "none" } } ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]" } }
Nov 12 08:58:00 hostname sway[762]: 00:07:02.358 [sway/ipc-server.c:958] Added IPC reply of type 0x80000000 to client 65 queue: { "change": "move", "old": null, "current": { "id": 4, "name": "1", "rect": { "x": 0, "y": 26, "width": 1920, "height": 1054 }, "focused": false, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ { "id": 7, "name": "[0] 0:journalctl - user@hostname:~", "rect": { "x": 0, "y": 53, "width": 1920, "height": 1027 }, "focused": false, "focus": [ ], "border": "normal", "current_border_width": 2, "layout": "none", "orientation": "none", "percent": 1.0, "window_rect": { "x": 0, "y": 0, "width": 1920, "height": 1027 }, "deco_rect": { "x": 0, "y": 0, "width": 1920, "height": 27 }, "geometry": { "x": 0, "y": 0, "width": 800, "height": 630 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 0, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "type": "con", "pid": 937, "app_id": "Alacritty", "visible": false, "max_render_time": 0, "shell": "xdg_shell", "inhibit_idle": false, "idle_inhibitors": { "user": "none", "application": "none" } } ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]" } }
Nov 12 08:58:00 hostname sway[762]: 00:07:02.359 [sway/tree/arrange.c:263] Usable area for ws: 1920x1054@0,26
Nov 12 08:58:00 hostname sway[762]: 00:07:02.359 [sway/tree/arrange.c:293] Arranging workspace '1' at 1920.000000, 26.000000
Nov 12 08:58:00 hostname sway[762]: 00:07:02.359 [sway/tree/arrange.c:263] Usable area for ws: 1920x1054@0,26
Nov 12 08:58:00 hostname sway[762]: 00:07:02.359 [sway/tree/arrange.c:293] Arranging workspace '2' at 1920.000000, 26.000000
Nov 12 08:58:00 hostname sway[762]: 00:07:02.359 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '0:0:Eee_PC_WMI_hotkeys')
Nov 12 08:58:00 hostname sway[762]: 00:07:02.373 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '2538:305:Generic_Virtual_HID_System_Control')
Nov 12 08:58:00 hostname sway[762]: 00:07:02.378 [sway/input/seat.c:664] Applying input config to 2538:305:Generic_Virtual_HID
Nov 12 08:58:00 hostname sway[762]: 00:07:02.378 [sway/input/seat.c:664] Applying input config to 2538:305:Generic_Virtual_HID_Consumer_Control
Nov 12 08:58:00 hostname sway[762]: 00:07:02.378 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '2538:305:Generic_Virtual_HID_Consumer_Control')
Nov 12 08:58:00 hostname sway[762]: 00:07:02.382 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '2538:305:Generic_Virtual_HID')
Nov 12 08:58:00 hostname sway[762]: 00:07:02.387 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '16700:8194:Dell_Dell_USB_Keyboard_Hub_System_Control')
Nov 12 08:58:00 hostname sway[762]: 00:07:02.394 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '16700:8194:Dell_Dell_USB_Keyboard_Hub_Consumer_Control')
Nov 12 08:58:00 hostname sway[762]: 00:07:02.399 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '16700:8194:Dell_Dell_USB_Keyboard_Hub')
Nov 12 08:58:00 hostname sway[762]: 00:07:02.403 [sway/input/seat.c:664] Applying input config to 1133:49271:Logitech_USB_Optical_Mouse
Nov 12 08:58:00 hostname sway[762]: 00:07:02.403 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '0:1:Power_Button')
Nov 12 08:58:00 hostname sway[762]: 00:07:02.408 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '0:6:Video_Bus')
Nov 12 08:58:00 hostname sway[762]: 00:07:02.413 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '0:1:Power_Button')
Nov 12 08:58:00 hostname sway[762]: 00:07:02.418 [sway/desktop/transaction.c:427] Transaction 0x557f515bd760 committing with 6 instructions
Nov 12 08:58:00 hostname sway[762]: 00:07:02.418 [sway/desktop/transaction.c:281] Applying transaction 0x557f515bd760
Nov 12 08:58:00 hostname sway[762]: 00:07:02.418 [sway/tree/container.c:1193] Container 0x557f51acad80 entered output 0x557f519883d0
Nov 12 08:58:00 hostname sway[762]: 00:07:02.418 [sway/tree/output.c:288] Destroying output 'DP-1'
Nov 12 08:58:00 hostname sway[762]: 00:07:02.418 [sway/desktop/transaction.c:427] Transaction 0x557f515bd760 committing with 1 instructions
Nov 12 08:58:00 hostname sway[762]: 00:07:02.418 [sway/desktop/transaction.c:281] Applying transaction 0x557f515bd760
Nov 12 08:58:00 hostname sway[762]: 00:07:02.418 [sway/tree/arrange.c:263] Usable area for ws: 1920x1054@0,26
Nov 12 08:58:00 hostname sway[762]: 00:07:02.418 [sway/tree/arrange.c:293] Arranging workspace '1' at 1920.000000, 26.000000
Nov 12 08:58:00 hostname sway[762]: 00:07:02.418 [sway/tree/arrange.c:263] Usable area for ws: 1920x1054@0,26
Nov 12 08:58:00 hostname sway[762]: 00:07:02.418 [sway/tree/arrange.c:293] Arranging workspace '2' at 1920.000000, 26.000000
Nov 12 08:58:00 hostname sway[762]: 00:07:02.418 [sway/desktop/transaction.c:427] Transaction 0x557f51b389d0 committing with 4 instructions
Nov 12 08:58:00 hostname sway[762]: 00:07:02.418 [sway/desktop/transaction.c:281] Applying transaction 0x557f51b389d0
Nov 12 08:58:00 hostname sway[762]: 00:07:02.448 [DEBUG] [backend/drm/drm.c:1080] Reallocating CRTCs
Nov 12 08:58:00 hostname sway[762]: 00:07:02.448 [DEBUG] [backend/drm/drm.c:1091] State before reallocation:
Nov 12 08:58:00 hostname sway[762]: 00:07:02.448 [DEBUG] [backend/drm/drm.c:1097]   'VGA-1' crtc=-1 state=0 desired_enabled=0
Nov 12 08:58:00 hostname sway[762]: 00:07:02.448 [DEBUG] [backend/drm/drm.c:1097]   'DP-1' crtc=-1 state=0 desired_enabled=1
Nov 12 08:58:00 hostname sway[762]: 00:07:02.448 [DEBUG] [backend/drm/drm.c:1097]   'HDMI-A-1' crtc=-1 state=0 desired_enabled=0
Nov 12 08:58:00 hostname sway[762]: 00:07:02.448 [DEBUG] [backend/drm/drm.c:1097]   'HDMI-A-2' crtc=1 state=3 desired_enabled=1
Nov 12 08:58:00 hostname sway[762]: 00:07:02.448 [DEBUG] [backend/drm/drm.c:1097]   'HDMI-A-3' crtc=-1 state=0 desired_enabled=0
Nov 12 08:58:00 hostname sway[762]: 00:07:02.448 [DEBUG] [backend/drm/drm.c:1149] State after reallocation:
Nov 12 08:58:00 hostname sway[762]: 00:07:02.448 [DEBUG] [backend/drm/drm.c:1156]   'VGA-1' crtc=-1 state=0 desired_enabled=0
Nov 12 08:58:00 hostname sway[762]: 00:07:02.448 [DEBUG] [backend/drm/drm.c:1156]   'DP-1' crtc=-1 state=0 desired_enabled=1
Nov 12 08:58:00 hostname sway[762]: 00:07:02.448 [DEBUG] [backend/drm/drm.c:1156]   'HDMI-A-1' crtc=-1 state=0 desired_enabled=0
Nov 12 08:58:00 hostname sway[762]: 00:07:02.448 [DEBUG] [backend/drm/drm.c:1156]   'HDMI-A-2' crtc=1 state=3 desired_enabled=1
Nov 12 08:58:00 hostname sway[762]: 00:07:02.448 [DEBUG] [backend/drm/drm.c:1156]   'HDMI-A-3' crtc=-1 state=0 desired_enabled=0
Nov 12 08:58:00 hostname sway[762]: 00:07:02.461 [DEBUG] [backend/drm/drm.c:1481] No connector for crtc_id 45
Nov 12 08:58:00 hostname sway[762]: 00:07:02.461 [sway/ipc-server.c:535] Client 52 writable
Nov 12 08:58:00 hostname sway[762]: 00:07:02.461 [sway/ipc-server.c:535] Client 65 writable
Nov 12 08:58:00 hostname sway[762]: 00:07:02.462 [sway/desktop/layer_shell.c:343] Layer surface destroyed (wallpaper)
Nov 12 08:58:00 hostname sway[762]: 00:07:02.463 [sway/desktop/layer_shell.c:343] Layer surface destroyed (lockscreen)
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:219] Client 50 readable
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:958] Added IPC reply of type 0x1 to client 50 queue: [ { "id": 4, "name": "1", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]", "focused": false, "visible": false }, { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]", "focused": true, "visible": true } ]
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:219] Client 60 readable
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:958] Added IPC reply of type 0x1 to client 60 queue: [ { "id": 4, "name": "1", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]", "focused": false, "visible": false }, { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]", "focused": true, "visible": true } ]
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:535] Client 50 writable
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:535] Client 60 writable
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:214] Client 56 hung up
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:565] IPC Client 56 disconnected
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:214] Client 58 hung up
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:565] IPC Client 58 disconnected
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:214] Client 60 hung up
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:565] IPC Client 60 disconnected
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:214] Client 65 hung up
Nov 12 08:58:00 hostname sway[762]: 00:07:02.464 [sway/ipc-server.c:565] IPC Client 65 disconnected
Nov 12 08:58:00 hostname sway[762]: 00:07:02.465 [sway/desktop/layer_shell.c:343] Layer surface destroyed (waybar)

### 8:59 - CHANGE BACK (KVM)
Nov 12 08:59:00 hostname sway[762]: 00:08:02.413 [DEBUG] [backend/session/session.c:45] udev event for card0 (change)
Nov 12 08:59:00 hostname sway[762]: 00:08:02.413 [DEBUG] [backend/drm/backend.c:112] /dev/dri/card0 invalidated
Nov 12 08:59:00 hostname sway[762]: 00:08:02.413 [INFO] [backend/drm/drm.c:1248] Scanning DRM connectors
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1343] 'DP-1' connected
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [DEBUG] [backend/drm/drm.c:1344] Current CRTC: -1
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1349] Physical size: 600x340
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1367] Detected modes:
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   2560x1440@59951 (preferred)
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   1920x1200@59950
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   1920x1080@60000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   1920x1080@60000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   1920x1080@59940
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   1920x1080@50000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   1920x1080@50000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   1680x1050@59954
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   1280x1024@75025
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   1280x1024@60020
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   1440x900@59887
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   1280x960@60000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   1280x800@59810
Nov 12 08:59:00 hostname sway[762]: 00:08:02.423 [INFO] [backend/drm/drm.c:1389]   1152x864@75000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   1280x720@60000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   1280x720@60000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   1280x720@59940
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   1280x720@50000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   1280x720@50000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   1024x768@75029
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   1024x768@70069
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   1024x768@60004
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   832x624@74551
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   800x600@75000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   800x600@72188
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   800x600@60317
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   800x600@56250
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   720x576@50000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   720x576@50000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   720x576@50000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   720x480@60000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   720x480@60000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   720x480@59940
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   720x480@59940
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   640x480@75000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   640x480@72809
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   640x480@66667
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   640x480@60000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   640x480@59940
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   640x480@59940
Nov 12 08:59:00 hostname sway[762]: 00:08:02.424 [INFO] [backend/drm/drm.c:1389]   720x400@70082
Nov 12 08:59:00 hostname sway[762]: 00:08:02.453 [DEBUG] [backend/drm/drm.c:1080] Reallocating CRTCs
Nov 12 08:59:00 hostname sway[762]: 00:08:02.453 [DEBUG] [backend/drm/drm.c:1091] State before reallocation:
Nov 12 08:59:00 hostname sway[762]: 00:08:02.453 [DEBUG] [backend/drm/drm.c:1097]   'VGA-1' crtc=-1 state=0 desired_enabled=0
Nov 12 08:59:00 hostname sway[762]: 00:08:02.453 [DEBUG] [backend/drm/drm.c:1097]   'DP-1' crtc=-1 state=1 desired_enabled=1
Nov 12 08:59:00 hostname sway[762]: 00:08:02.453 [DEBUG] [backend/drm/drm.c:1097]   'HDMI-A-1' crtc=-1 state=0 desired_enabled=0
Nov 12 08:59:00 hostname sway[762]: 00:08:02.453 [DEBUG] [backend/drm/drm.c:1097]   'HDMI-A-2' crtc=1 state=3 desired_enabled=1
Nov 12 08:59:00 hostname sway[762]: 00:08:02.453 [DEBUG] [backend/drm/drm.c:1097]   'HDMI-A-3' crtc=-1 state=0 desired_enabled=0
Nov 12 08:59:00 hostname sway[762]: 00:08:02.453 [DEBUG] [backend/drm/drm.c:1149] State after reallocation:
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [DEBUG] [backend/drm/drm.c:1156]   'VGA-1' crtc=-1 state=0 desired_enabled=0
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [DEBUG] [backend/drm/drm.c:1156]   'DP-1' crtc=2 state=1 desired_enabled=1
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [DEBUG] [backend/drm/drm.c:1156]   'HDMI-A-1' crtc=-1 state=0 desired_enabled=0
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [DEBUG] [backend/drm/drm.c:1156]   'HDMI-A-2' crtc=1 state=3 desired_enabled=1
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [DEBUG] [backend/drm/drm.c:1156]   'HDMI-A-3' crtc=-1 state=0 desired_enabled=0
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [INFO] [backend/drm/drm.c:1455] Requesting modeset for 'DP-1'
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [sway/desktop/output.c:910] New output 0x557f51940530: DP-1
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [sway/config/output.c:348] Turning on output DP-1
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [sway/config/output.c:352] Set DP-1 mode to 1920x1080 (60.000000 Hz)
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [sway/config/output.c:266] Assigning configured mode to DP-1
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [sway/config/output.c:379] Auto-detected output scale: 1.000000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [sway/config/output.c:409] Committing output DP-1
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [INFO] [backend/drm/drm.c:803] Modesetting 'DP-1' with '1920x1080@60000mHz'
Nov 12 08:59:00 hostname sway[762]: 00:08:02.454 [DEBUG] [backend/drm/drm.c:685] Initializing renderer on connector 'DP-1'
Nov 12 08:59:00 hostname sway[762]: 00:08:02.503 [sway/config/output.c:455] Set DP-1 position to 0, 0
Nov 12 08:59:00 hostname sway[762]: 00:08:02.503 [sway/tree/arrange.c:263] Usable area for ws: 1920x1054@0,26
Nov 12 08:59:00 hostname sway[762]: 00:08:02.503 [sway/tree/arrange.c:293] Arranging workspace '1' at 1920.000000, 26.000000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.503 [sway/tree/arrange.c:263] Usable area for ws: 1920x1054@0,26
Nov 12 08:59:00 hostname sway[762]: 00:08:02.503 [sway/tree/arrange.c:293] Arranging workspace '2' at 1920.000000, 26.000000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.503 [sway/desktop/transaction.c:427] Transaction 0x557f518ea680 committing with 4 instructions
Nov 12 08:59:00 hostname sway[762]: 00:08:02.503 [sway/desktop/transaction.c:281] Applying transaction 0x557f518ea680
Nov 12 08:59:00 hostname sway[762]: 00:08:02.503 [sway/ipc-server.c:306] Sending workspace::move event
Nov 12 08:59:00 hostname sway[762]: 00:08:02.503 [sway/ipc-server.c:958] Added IPC reply of type 0x80000000 to client 52 queue: { "change": "move", "old": null, "current": { "id": 4, "name": "1", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focused": false, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ { "id": 7, "name": "[0] 0:journalctl - user@hostname:~", "rect": { "x": 1920, "y": 53, "width": 1920, "height": 1027 }, "focused": false, "focus": [ ], "border": "normal", "current_border_width": 2, "layout": "none", "orientation": "none", "percent": 1.0, "window_rect": { "x": 0, "y": 0, "width": 1920, "height": 1027 }, "deco_rect": { "x": 0, "y": 0, "width": 1920, "height": 27 }, "geometry": { "x": 0, "y": 0, "width": 800, "height": 630 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 0, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "type": "con", "pid": 937, "app_id": "Alacritty", "visible": true, "max_render_time": 0, "shell": "xdg_shell", "inhibit_idle": false, "idle_inhibitors": { "user": "none", "application": "none" } } ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "DP-1", "type": "workspace", "representation": "T[Alacritty]" } }
Nov 12 08:59:00 hostname sway[762]: 00:08:02.504 [sway/desktop/layer_shell.c:189] Usable area changed, rearranging output
Nov 12 08:59:00 hostname sway[762]: 00:08:02.504 [sway/tree/arrange.c:263] Usable area for ws: 1920x1080@0,0
Nov 12 08:59:00 hostname sway[762]: 00:08:02.504 [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 0.000000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.504 [sway/tree/arrange.c:263] Usable area for ws: 1920x1054@0,26
Nov 12 08:59:00 hostname sway[762]: 00:08:02.504 [sway/tree/arrange.c:293] Arranging workspace '2' at 1920.000000, 26.000000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.504 [sway/tree/arrange.c:263] Usable area for ws: 1920x1080@0,0
Nov 12 08:59:00 hostname sway[762]: 00:08:02.504 [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 0.000000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.504 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '0:0:Eee_PC_WMI_hotkeys')
Nov 12 08:59:00 hostname sway[762]: 00:08:02.514 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '2538:305:Generic_Virtual_HID_System_Control')
Nov 12 08:59:00 hostname sway[762]: 00:08:02.524 [sway/input/seat.c:664] Applying input config to 2538:305:Generic_Virtual_HID
Nov 12 08:59:00 hostname sway[762]: 00:08:02.524 [sway/input/seat.c:664] Applying input config to 2538:305:Generic_Virtual_HID_Consumer_Control
Nov 12 08:59:00 hostname sway[762]: 00:08:02.524 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '2538:305:Generic_Virtual_HID_Consumer_Control')
Nov 12 08:59:00 hostname sway[762]: 00:08:02.533 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '2538:305:Generic_Virtual_HID')
Nov 12 08:59:00 hostname sway[762]: 00:08:02.542 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '16700:8194:Dell_Dell_USB_Keyboard_Hub_System_Control')
Nov 12 08:59:00 hostname sway[762]: 00:08:02.547 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '16700:8194:Dell_Dell_USB_Keyboard_Hub_Consumer_Control')
Nov 12 08:59:00 hostname sway[762]: 00:08:02.553 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '16700:8194:Dell_Dell_USB_Keyboard_Hub')
Nov 12 08:59:00 hostname sway[762]: 00:08:02.558 [sway/input/seat.c:664] Applying input config to 1133:49271:Logitech_USB_Optical_Mouse
Nov 12 08:59:00 hostname sway[762]: 00:08:02.558 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '0:1:Power_Button')
Nov 12 08:59:00 hostname sway[762]: 00:08:02.563 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '0:6:Video_Bus')
Nov 12 08:59:00 hostname sway[762]: 00:08:02.568 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '0:1:Power_Button')
Nov 12 08:59:00 hostname sway[762]: 00:08:02.573 [sway/desktop/transaction.c:427] Transaction 0x557f51c11e40 committing with 6 instructions
Nov 12 08:59:00 hostname sway[762]: 00:08:02.584 [sway/ipc-server.c:535] Client 52 writable
Nov 12 08:59:00 hostname sway[762]: 00:08:02.585 [DEBUG] [types/wlr_surface.c:666] New wlr_surface 0x557f518f5ab0 (res 0x557f516346c0)
Nov 12 08:59:00 hostname sway[762]: 00:08:02.585 [DEBUG] [types/wlr_layer_shell_v1.c:458] new layer_surface 0x557f5175ce40 (res 0x557f516fc170)
Nov 12 08:59:00 hostname sway[762]: 00:08:02.585 [sway/desktop/layer_shell.c:513] new layer surface: namespace wallpaper layer 0 anchor 15 size 0x0 margin 0,0,0,0,
Nov 12 08:59:00 hostname sway[762]: 00:08:02.585 [sway/ipc-server.c:219] Client 50 readable
Nov 12 08:59:00 hostname sway[762]: 00:08:02.585 [sway/ipc-server.c:958] Added IPC reply of type 0x1 to client 50 queue: [ { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]", "focused": true, "visible": true }, { "id": 4, "name": "1", "rect": { "x": 0, "y": 0, "width": 1920, "height": 1080 }, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "DP-1", "type": "workspace", "representation": "T[Alacritty]", "focused": false, "visible": true } ]
Nov 12 08:59:00 hostname sway[762]: 00:08:02.585 [sway/ipc-server.c:535] Client 50 writable
Nov 12 08:59:00 hostname sway[762]: 00:08:02.588 [sway/ipc-server.c:153] Event on IPC listening socket
Nov 12 08:59:00 hostname sway[762]: 00:08:02.588 [sway/ipc-server.c:199] New client: fd 56
Nov 12 08:59:00 hostname sway[762]: 00:08:02.588 [sway/ipc-server.c:153] Event on IPC listening socket
Nov 12 08:59:00 hostname sway[762]: 00:08:02.588 [sway/ipc-server.c:199] New client: fd 58
Nov 12 08:59:00 hostname sway[762]: 00:08:02.588 [sway/ipc-server.c:219] Client 58 readable
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [sway/ipc-server.c:958] Added IPC reply of type 0x2 to client 58 queue: {"success": true}
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [sway/ipc-server.c:535] Client 58 writable
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [sway/ipc-server.c:153] Event on IPC listening socket
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [sway/ipc-server.c:199] New client: fd 60
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [sway/ipc-server.c:153] Event on IPC listening socket
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [sway/ipc-server.c:199] New client: fd 65
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [sway/ipc-server.c:219] Client 65 readable
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [sway/ipc-server.c:958] Added IPC reply of type 0x2 to client 65 queue: {"success": true}
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [sway/ipc-server.c:535] Client 65 writable
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [sway/ipc-server.c:219] Client 60 readable
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [sway/ipc-server.c:958] Added IPC reply of type 0x1 to client 60 queue: [ { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]", "focused": true, "visible": true }, { "id": 4, "name": "1", "rect": { "x": 0, "y": 0, "width": 1920, "height": 1080 }, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "DP-1", "type": "workspace", "representation": "T[Alacritty]", "focused": false, "visible": true } ]
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [sway/ipc-server.c:535] Client 60 writable
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [DEBUG] [types/wlr_surface.c:666] New wlr_surface 0x557f51a67ed0 (res 0x557f518b9e90)
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [DEBUG] [types/wlr_surface.c:666] New wlr_surface 0x557f51c023b0 (res 0x557f51b6d300)
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [DEBUG] [types/wlr_layer_shell_v1.c:458] new layer_surface 0x557f51b6ca40 (res 0x557f51b59060)
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [sway/desktop/layer_shell.c:513] new layer surface: namespace lockscreen layer 3 anchor 15 size 0x0 margin 0,0,0,0,
Nov 12 08:59:00 hostname sway[762]: 00:08:02.589 [DEBUG] [types/wlr_output.c:791] Disabling direct scan-out on output 'DP-1' (locks: 1)
Nov 12 08:59:00 hostname sway[762]: 00:08:02.592 [sway/desktop/transaction.c:505] Transaction 0x557f51c11e40 is ready
Nov 12 08:59:00 hostname sway[762]: 00:08:02.592 [sway/desktop/transaction.c:281] Applying transaction 0x557f51c11e40
Nov 12 08:59:00 hostname sway[762]: 00:08:02.592 [sway/tree/container.c:1205] Container 0x557f51acad80 left output 0x557f519883d0
Nov 12 08:59:00 hostname sway[762]: 00:08:02.592 [sway/tree/container.c:1193] Container 0x557f51acad80 entered output 0x557f51951700
Nov 12 08:59:00 hostname sway[762]: 00:08:02.603 [DEBUG] [types/wlr_output.c:791] Enabling direct scan-out on output 'DP-1' (locks: 0)
Nov 12 08:59:00 hostname sway[762]: 00:08:02.615 [DEBUG] [types/wlr_surface.c:666] New wlr_surface 0x557f516fbbd0 (res 0x557f51897b10)
Nov 12 08:59:00 hostname sway[762]: 00:08:02.615 [DEBUG] [types/wlr_layer_shell_v1.c:458] new layer_surface 0x557f51c01440 (res 0x557f51b631a0)
Nov 12 08:59:00 hostname sway[762]: 00:08:02.615 [sway/desktop/layer_shell.c:513] new layer surface: namespace waybar layer 2 anchor 13 size 0x19 margin 0,0,0,0,
Nov 12 08:59:00 hostname sway[762]: 00:08:02.724 [sway/desktop/layer_shell.c:189] Usable area changed, rearranging output
Nov 12 08:59:00 hostname sway[762]: 00:08:02.724 [sway/tree/arrange.c:263] Usable area for ws: 1920x1054@0,26
Nov 12 08:59:00 hostname sway[762]: 00:08:02.724 [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 26.000000
Nov 12 08:59:00 hostname sway[762]: 00:08:02.724 [sway/desktop/transaction.c:427] Transaction 0x557f51921160 committing with 2 instructions
Nov 12 08:59:00 hostname sway[762]: 00:08:02.733 [sway/desktop/transaction.c:505] Transaction 0x557f51921160 is ready
Nov 12 08:59:00 hostname sway[762]: 00:08:02.733 [sway/desktop/transaction.c:281] Applying transaction 0x557f51921160
Nov 12 08:59:02 hostname sway[762]: 00:08:04.609 [sway/input/seat.c:101] Refusing to set focus, input is inhibited
Nov 12 08:59:02 hostname sway[762]: 00:08:04.610 [sway/input/seat.c:101] Refusing to set focus, input is inhibited
Nov 12 08:59:02 hostname sway[762]: 00:08:04.610 [sway/ipc-server.c:306] Sending workspace::focus event
Nov 12 08:59:02 hostname sway[762]: 00:08:04.610 [sway/ipc-server.c:958] Added IPC reply of type 0x80000000 to client 52 queue: { "change": "focus", "old": { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focused": false, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ { "id": 10, "name": "[1] 0:bash - user@hostname:~", "rect": { "x": 1920, "y": 53, "width": 1920, "height": 1027 }, "focused": false, "focus": [ ], "border": "normal", "current_border_width": 2, "layout": "none", "orientation": "none", "percent": 1.0, "window_rect": { "x": 0, "y": 0, "width": 1920, "height": 1027 }, "deco_rect": { "x": 0, "y": 0, "width": 1920, "height": 27 }, "geometry": { "x": 0, "y": 0, "width": 800, "height": 630 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 0, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "type": "con", "pid": 1171, "app_id": "Alacritty", "visible": true, "max_render_time": 0, "shell": "xdg_shell", "inhibit_idle": false, "idle_inhibitors": { "user": "none", "application": "none" } } ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]" }, "current": { "id": 4, "name": "1", "rect": { "x": 0, "y": 26, "width": 1920, "height": 1054 }, "focused": false, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ { "id": 7, "name": "[0] 0:journalctl - user@hostname:~", "rect": { "x": 0, "y": 53, "width": 1920, "height": 1027 }, "focused": true, "focus": [ ], "border": "normal", "current_border_width": 2, "layout": "none", "orientation": "none", "percent": 1.0, "window_rect": { "x": 0, "y": 0, "width": 1920, "height": 1027 }, "deco_rect": { "x": 0, "y": 0, "width": 1920, "height": 27 }, "geometry": { "x": 0, "y": 0, "width": 800, "height": 630 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 0, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "type": "con", "pid": 937, "app_id": "Alacritty", "visible": true, "max_render_time": 0, "shell": "xdg_shell", "inhibit_idle": false, "idle_inhibitors": { "user": "none", "application": "none" } } ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "DP-1", "type": "workspace", "representation": "T[Alacritty]" } }
Nov 12 08:59:02 hostname sway[762]: 00:08:04.610 [sway/ipc-server.c:958] Added IPC reply of type 0x80000000 to client 65 queue: { "change": "focus", "old": { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focused": false, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ { "id": 10, "name": "[1] 0:bash - user@hostname:~", "rect": { "x": 1920, "y": 53, "width": 1920, "height": 1027 }, "focused": false, "focus": [ ], "border": "normal", "current_border_width": 2, "layout": "none", "orientation": "none", "percent": 1.0, "window_rect": { "x": 0, "y": 0, "width": 1920, "height": 1027 }, "deco_rect": { "x": 0, "y": 0, "width": 1920, "height": 27 }, "geometry": { "x": 0, "y": 0, "width": 800, "height": 630 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 0, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "type": "con", "pid": 1171, "app_id": "Alacritty", "visible": true, "max_render_time": 0, "shell": "xdg_shell", "inhibit_idle": false, "idle_inhibitors": { "user": "none", "application": "none" } } ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]" }, "current": { "id": 4, "name": "1", "rect": { "x": 0, "y": 26, "width": 1920, "height": 1054 }, "focused": false, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ { "id": 7, "name": "[0] 0:journalctl - user@hostname:~", "rect": { "x": 0, "y": 53, "width": 1920, "height": 1027 }, "focused": true, "focus": [ ], "border": "normal", "current_border_width": 2, "layout": "none", "orientation": "none", "percent": 1.0, "window_rect": { "x": 0, "y": 0, "width": 1920, "height": 1027 }, "deco_rect": { "x": 0, "y": 0, "width": 1920, "height": 27 }, "geometry": { "x": 0, "y": 0, "width": 800, "height": 630 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 0, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "type": "con", "pid": 937, "app_id": "Alacritty", "visible": true, "max_render_time": 0, "shell": "xdg_shell", "inhibit_idle": false, "idle_inhibitors": { "user": "none", "application": "none" } } ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "DP-1", "type": "workspace", "representation": "T[Alacritty]" } }
Nov 12 08:59:02 hostname sway[762]: 00:08:04.610 [sway/desktop/transaction.c:427] Transaction 0x557f51913a00 committing with 6 instructions
Nov 12 08:59:02 hostname sway[762]: 00:08:04.610 [sway/desktop/transaction.c:281] Applying transaction 0x557f51913a00
Nov 12 08:59:02 hostname sway[762]: 00:08:04.611 [sway/ipc-server.c:535] Client 52 writable
Nov 12 08:59:02 hostname sway[762]: 00:08:04.611 [sway/ipc-server.c:535] Client 65 writable
Nov 12 08:59:02 hostname sway[762]: 00:08:04.611 [sway/ipc-server.c:219] Client 50 readable
Nov 12 08:59:02 hostname sway[762]: 00:08:04.612 [sway/ipc-server.c:958] Added IPC reply of type 0x1 to client 50 queue: [ { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]", "focused": false, "visible": true }, { "id": 4, "name": "1", "rect": { "x": 0, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "DP-1", "type": "workspace", "representation": "T[Alacritty]", "focused": true, "visible": true } ]
Nov 12 08:59:02 hostname sway[762]: 00:08:04.612 [sway/ipc-server.c:219] Client 60 readable
Nov 12 08:59:02 hostname sway[762]: 00:08:04.612 [sway/ipc-server.c:958] Added IPC reply of type 0x1 to client 60 queue: [ { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]", "focused": false, "visible": true }, { "id": 4, "name": "1", "rect": { "x": 0, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "DP-1", "type": "workspace", "representation": "T[Alacritty]", "focused": true, "visible": true } ]
Nov 12 08:59:02 hostname sway[762]: 00:08:04.612 [sway/ipc-server.c:535] Client 50 writable
Nov 12 08:59:02 hostname sway[762]: 00:08:04.612 [sway/ipc-server.c:535] Client 60 writable
Nov 12 08:59:05 hostname sway[762]: 00:08:07.621 [INFO] [backend/drm/backend.c:103] DRM fd paused
Nov 12 08:59:05 hostname sway[762]: 00:08:08.184 [sway/desktop/layer_shell.c:343] Layer surface destroyed (lockscreen)
Nov 12 08:59:05 hostname sway[762]: 00:08:08.184 [sway/desktop/transaction.c:427] Transaction 0x557f51c11e40 committing with 3 instructions
Nov 12 08:59:05 hostname sway[762]: 00:08:08.184 [sway/desktop/transaction.c:281] Applying transaction 0x557f51c11e40
Nov 12 08:59:05 hostname sway[762]: 00:08:08.185 [sway/desktop/layer_shell.c:343] Layer surface destroyed (lockscreen)
Nov 12 08:59:06 hostname sway[762]: 00:08:09.107 [INFO] [backend/drm/backend.c:91] DRM fd resumed
Nov 12 08:59:06 hostname sway[762]: 00:08:09.107 [INFO] [backend/drm/drm.c:1248] Scanning DRM connectors
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:1080] Reallocating CRTCs
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:1091] State before reallocation:
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:1097]   'VGA-1' crtc=-1 state=0 desired_enabled=0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:1097]   'DP-1' crtc=0 state=3 desired_enabled=1
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:1097]   'HDMI-A-1' crtc=-1 state=0 desired_enabled=0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:1097]   'HDMI-A-2' crtc=1 state=3 desired_enabled=1
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:1097]   'HDMI-A-3' crtc=-1 state=0 desired_enabled=0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:1149] State after reallocation:
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:1156]   'VGA-1' crtc=-1 state=0 desired_enabled=0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:1156]   'DP-1' crtc=0 state=3 desired_enabled=1
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:1156]   'HDMI-A-1' crtc=-1 state=0 desired_enabled=0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:1156]   'HDMI-A-2' crtc=1 state=3 desired_enabled=1
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:1156]   'HDMI-A-3' crtc=-1 state=0 desired_enabled=0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [INFO] [backend/drm/drm.c:803] Modesetting 'DP-1' with '1920x1080@60000mHz'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.147 [DEBUG] [backend/drm/drm.c:685] Initializing renderer on connector 'DP-1'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.203 [INFO] [backend/drm/drm.c:803] Modesetting 'HDMI-A-2' with '1920x1080@60000mHz'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.203 [DEBUG] [backend/drm/drm.c:685] Initializing renderer on connector 'HDMI-A-2'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.221 [ERROR] [backend/drm/drm.c:364] Failed to page-flip output 'DP-1': a page-flip is already pending
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [ERROR] [backend/drm/drm.c:364] Failed to page-flip output 'HDMI-A-2': a page-flip is already pending
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [DEBUG] [backend/libinput/events.c:208] Removing Power Button [0:1]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/input-manager.c:202] removing device: '0:1:Power_Button'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/seat.c:891] removing device 0:1:Power_Button from seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/keyboard.c:770] Removing keyboard 0:1:Power_Button from group 0x557f518cc930
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [DEBUG] [backend/libinput/events.c:208] Removing Video Bus [0:6]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/input-manager.c:202] removing device: '0:6:Video_Bus'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/seat.c:891] removing device 0:6:Video_Bus from seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/keyboard.c:770] Removing keyboard 0:6:Video_Bus from group 0x557f518cc930
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [DEBUG] [backend/libinput/events.c:208] Removing Power Button [0:1]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/input-manager.c:202] removing device: '0:1:Power_Button'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/seat.c:891] removing device 0:1:Power_Button from seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/keyboard.c:770] Removing keyboard 0:1:Power_Button from group 0x557f518cc930
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [DEBUG] [backend/libinput/events.c:208] Removing Logitech USB Optical Mouse [1133:49271]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/input-manager.c:202] removing device: '1133:49271:Logitech_USB_Optical_Mouse'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/seat.c:891] removing device 1133:49271:Logitech_USB_Optical_Mouse from seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [DEBUG] [backend/libinput/events.c:208] Removing Dell Dell USB Keyboard Hub [16700:8194]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/input-manager.c:202] removing device: '16700:8194:Dell_Dell_USB_Keyboard_Hub'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/seat.c:891] removing device 16700:8194:Dell_Dell_USB_Keyboard_Hub from seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/keyboard.c:770] Removing keyboard 16700:8194:Dell_Dell_USB_Keyboard_Hub from group 0x557f518cc930
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [DEBUG] [backend/libinput/events.c:208] Removing Dell Dell USB Keyboard Hub Consumer Control [16700:8194]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/input-manager.c:202] removing device: '16700:8194:Dell_Dell_USB_Keyboard_Hub_Consumer_Control'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/seat.c:891] removing device 16700:8194:Dell_Dell_USB_Keyboard_Hub_Consumer_Control from seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [sway/input/keyboard.c:770] Removing keyboard 16700:8194:Dell_Dell_USB_Keyboard_Hub_Consumer_Control from group 0x557f518cc930
Nov 12 08:59:06 hostname sway[762]: 00:08:09.235 [DEBUG] [backend/libinput/events.c:208] Removing Dell Dell USB Keyboard Hub System Control [16700:8194]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/input-manager.c:202] removing device: '16700:8194:Dell_Dell_USB_Keyboard_Hub_System_Control'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/seat.c:891] removing device 16700:8194:Dell_Dell_USB_Keyboard_Hub_System_Control from seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/keyboard.c:770] Removing keyboard 16700:8194:Dell_Dell_USB_Keyboard_Hub_System_Control from group 0x557f518cc930
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [DEBUG] [backend/libinput/events.c:208] Removing Generic Virtual HID [2538:305]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/input-manager.c:202] removing device: '2538:305:Generic_Virtual_HID'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/seat.c:891] removing device 2538:305:Generic_Virtual_HID from seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/keyboard.c:770] Removing keyboard 2538:305:Generic_Virtual_HID from group 0x557f518cc930
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [DEBUG] [backend/libinput/events.c:208] Removing Generic Virtual HID Consumer Control [2538:305]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/input-manager.c:202] removing device: '2538:305:Generic_Virtual_HID_Consumer_Control'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/seat.c:891] removing device 2538:305:Generic_Virtual_HID_Consumer_Control from seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/input-manager.c:202] removing device: '2538:305:Generic_Virtual_HID_Consumer_Control'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/seat.c:891] removing device 2538:305:Generic_Virtual_HID_Consumer_Control from seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/keyboard.c:770] Removing keyboard 2538:305:Generic_Virtual_HID_Consumer_Control from group 0x557f518cc930
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [DEBUG] [backend/libinput/events.c:208] Removing Generic Virtual HID [2538:305]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/input-manager.c:202] removing device: '2538:305:Generic_Virtual_HID'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/seat.c:891] removing device 2538:305:Generic_Virtual_HID from seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [DEBUG] [backend/libinput/events.c:208] Removing Generic Virtual HID System Control [2538:305]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/input-manager.c:202] removing device: '2538:305:Generic_Virtual_HID_System_Control'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/seat.c:891] removing device 2538:305:Generic_Virtual_HID_System_Control from seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/keyboard.c:770] Removing keyboard 2538:305:Generic_Virtual_HID_System_Control from group 0x557f518cc930
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [DEBUG] [backend/libinput/events.c:208] Removing Eee PC WMI hotkeys [0:0]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/input-manager.c:202] removing device: '0:0:Eee_PC_WMI_hotkeys'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/seat.c:891] removing device 0:0:Eee_PC_WMI_hotkeys from seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/keyboard.c:770] Removing keyboard 0:0:Eee_PC_WMI_hotkeys from group 0x557f518cc930
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/keyboard.c:776] Destroying empty keyboard group 0x557f518cc930
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [DEBUG] [backend/libinput/events.c:94] Added Power Button [0:1]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/input-manager.c:234] adding device: '0:1:Power_Button'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '0:1:Power_Button')
Nov 12 08:59:06 hostname sway[762]: 00:08:09.236 [sway/input/seat.c:871] adding device 0:1:Power_Button to seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.245 [sway/input/keyboard.c:882] Created keyboard group 0x557f516c37d0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.245 [sway/input/keyboard.c:905] Adding keyboard 0:1:Power_Button to group 0x557f516c37d0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.247 [DEBUG] [backend/libinput/events.c:94] Added Video Bus [0:6]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.247 [sway/input/input-manager.c:234] adding device: '0:6:Video_Bus'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.247 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '0:6:Video_Bus')
Nov 12 08:59:06 hostname sway[762]: 00:08:09.247 [sway/input/seat.c:871] adding device 0:6:Video_Bus to seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.250 [sway/input/keyboard.c:857] Adding keyboard 0:6:Video_Bus to group 0x557f516c37d0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.252 [DEBUG] [backend/libinput/events.c:94] Added Power Button [0:1]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.252 [sway/input/input-manager.c:234] adding device: '0:1:Power_Button'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.252 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '0:1:Power_Button')
Nov 12 08:59:06 hostname sway[762]: 00:08:09.252 [sway/input/seat.c:871] adding device 0:1:Power_Button to seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.255 [sway/input/keyboard.c:857] Adding keyboard 0:1:Power_Button to group 0x557f516c37d0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.257 [DEBUG] [backend/libinput/events.c:94] Added Logitech USB Optical Mouse [1133:49271]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.257 [sway/input/input-manager.c:234] adding device: '1133:49271:Logitech_USB_Optical_Mouse'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.257 [sway/input/seat.c:871] adding device 1133:49271:Logitech_USB_Optical_Mouse to seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.257 [sway/input/seat.c:664] Applying input config to 1133:49271:Logitech_USB_Optical_Mouse
Nov 12 08:59:06 hostname sway[762]: 00:08:09.257 [DEBUG] [backend/libinput/events.c:94] Added Dell Dell USB Keyboard Hub [16700:8194]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.257 [sway/input/input-manager.c:234] adding device: '16700:8194:Dell_Dell_USB_Keyboard_Hub'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.257 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '16700:8194:Dell_Dell_USB_Keyboard_Hub')
Nov 12 08:59:06 hostname sway[762]: 00:08:09.257 [sway/input/seat.c:871] adding device 16700:8194:Dell_Dell_USB_Keyboard_Hub to seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.261 [sway/input/keyboard.c:857] Adding keyboard 16700:8194:Dell_Dell_USB_Keyboard_Hub to group 0x557f516c37d0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.262 [DEBUG] [backend/libinput/events.c:94] Added Dell Dell USB Keyboard Hub Consumer Control [16700:8194]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.262 [sway/input/input-manager.c:234] adding device: '16700:8194:Dell_Dell_USB_Keyboard_Hub_Consumer_Control'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.262 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '16700:8194:Dell_Dell_USB_Keyboard_Hub_Consumer_Control')
Nov 12 08:59:06 hostname sway[762]: 00:08:09.262 [sway/input/seat.c:871] adding device 16700:8194:Dell_Dell_USB_Keyboard_Hub_Consumer_Control to seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.266 [sway/input/keyboard.c:857] Adding keyboard 16700:8194:Dell_Dell_USB_Keyboard_Hub_Consumer_Control to group 0x557f516c37d0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.267 [DEBUG] [backend/libinput/events.c:94] Added Dell Dell USB Keyboard Hub System Control [16700:8194]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.267 [sway/input/input-manager.c:234] adding device: '16700:8194:Dell_Dell_USB_Keyboard_Hub_System_Control'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.267 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '16700:8194:Dell_Dell_USB_Keyboard_Hub_System_Control')
Nov 12 08:59:06 hostname sway[762]: 00:08:09.267 [sway/input/seat.c:871] adding device 16700:8194:Dell_Dell_USB_Keyboard_Hub_System_Control to seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.271 [sway/input/keyboard.c:857] Adding keyboard 16700:8194:Dell_Dell_USB_Keyboard_Hub_System_Control to group 0x557f516c37d0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.272 [DEBUG] [backend/libinput/events.c:94] Added Generic Virtual HID [2538:305]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.272 [sway/input/input-manager.c:234] adding device: '2538:305:Generic_Virtual_HID'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.272 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '2538:305:Generic_Virtual_HID')
Nov 12 08:59:06 hostname sway[762]: 00:08:09.272 [sway/input/seat.c:871] adding device 2538:305:Generic_Virtual_HID to seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.276 [sway/input/keyboard.c:857] Adding keyboard 2538:305:Generic_Virtual_HID to group 0x557f516c37d0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.277 [DEBUG] [backend/libinput/events.c:94] Added Generic Virtual HID Consumer Control [2538:305]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.277 [sway/input/input-manager.c:234] adding device: '2538:305:Generic_Virtual_HID_Consumer_Control'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.277 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '2538:305:Generic_Virtual_HID_Consumer_Control')
Nov 12 08:59:06 hostname sway[762]: 00:08:09.277 [sway/input/seat.c:871] adding device 2538:305:Generic_Virtual_HID_Consumer_Control to seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.281 [sway/input/keyboard.c:857] Adding keyboard 2538:305:Generic_Virtual_HID_Consumer_Control to group 0x557f516c37d0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.282 [sway/input/input-manager.c:234] adding device: '2538:305:Generic_Virtual_HID_Consumer_Control'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.282 [sway/input/seat.c:871] adding device 2538:305:Generic_Virtual_HID_Consumer_Control to seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.282 [sway/input/seat.c:664] Applying input config to 2538:305:Generic_Virtual_HID_Consumer_Control
Nov 12 08:59:06 hostname sway[762]: 00:08:09.282 [DEBUG] [backend/libinput/events.c:94] Added Generic Virtual HID [2538:305]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.282 [sway/input/input-manager.c:234] adding device: '2538:305:Generic_Virtual_HID'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.282 [sway/input/seat.c:871] adding device 2538:305:Generic_Virtual_HID to seat seat0
Nov 12 08:59:06 hostname sway[762]: 00:08:09.282 [sway/input/seat.c:664] Applying input config to 2538:305:Generic_Virtual_HID
Nov 12 08:59:06 hostname sway[762]: 00:08:09.282 [DEBUG] [backend/libinput/events.c:94] Added Generic Virtual HID System Control [2538:305]
Nov 12 08:59:06 hostname sway[762]: 00:08:09.282 [sway/input/input-manager.c:234] adding device: '2538:305:Generic_Virtual_HID_System_Control'
Nov 12 08:59:06 hostname sway[762]: 00:08:09.282 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '2538:305:Generic_Virtual_HID_System_Control')
Nov 12 08:59:06 hostname sway[762]: 00:08:09.282 [sway/input/seat.c:871] adding device 2538:305:Generic_Virtual_HID_System_Control to seat seat0
Nov 12 08:59:07 hostname sway[762]: 00:08:09.286 [sway/input/keyboard.c:857] Adding keyboard 2538:305:Generic_Virtual_HID_System_Control to group 0x557f516c37d0
Nov 12 08:59:07 hostname sway[762]: 00:08:09.287 [DEBUG] [backend/libinput/events.c:94] Added Eee PC WMI hotkeys [0:0]
Nov 12 08:59:07 hostname sway[762]: 00:08:09.287 [sway/input/input-manager.c:234] adding device: '0:0:Eee_PC_WMI_hotkeys'
Nov 12 08:59:07 hostname sway[762]: 00:08:09.287 [sway/input/libinput.c:197] sway_input_configure_libinput_device('type:keyboard' on '0:0:Eee_PC_WMI_hotkeys')
Nov 12 08:59:07 hostname sway[762]: 00:08:09.287 [sway/input/seat.c:871] adding device 0:0:Eee_PC_WMI_hotkeys to seat seat0
Nov 12 08:59:07 hostname sway[762]: 00:08:09.291 [sway/input/keyboard.c:857] Adding keyboard 0:0:Eee_PC_WMI_hotkeys to group 0x557f516c37d0
Nov 12 08:59:07 hostname sway[762]: 00:08:09.327 [DEBUG] [types/wlr_surface.c:666] New wlr_surface 0x557f518f5670 (res 0x557f51620fd0)
Nov 12 08:59:07 hostname sway[762]: 00:08:09.327 [DEBUG] [types/wlr_relative_pointer_v1.c:145] relative_pointer_v1 0x557f518c84f0 created for client 0x557f51617f20
Nov 12 08:59:07 hostname sway[762]: 00:08:09.328 [DEBUG] [types/wlr_surface.c:666] New wlr_surface 0x557f5186d3e0 (res 0x557f51b48ba0)
Nov 12 08:59:07 hostname sway[762]: 00:08:09.328 [DEBUG] [types/wlr_relative_pointer_v1.c:145] relative_pointer_v1 0x557f51634a20 created for client 0x557f5198f730
Nov 12 08:59:07 hostname sway[762]: 00:08:09.777 [sway/ipc-server.c:306] Sending workspace::focus event
Nov 12 08:59:07 hostname sway[762]: 00:08:09.777 [sway/ipc-server.c:958] Added IPC reply of type 0x80000000 to client 52 queue: { "change": "focus", "old": { "id": 4, "name": "1", "rect": { "x": 0, "y": 26, "width": 1920, "height": 1054 }, "focused": false, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ { "id": 7, "name": "[0] 0:journalctl - user@hostname:~", "rect": { "x": 0, "y": 53, "width": 1920, "height": 1027 }, "focused": false, "focus": [ ], "border": "normal", "current_border_width": 2, "layout": "none", "orientation": "none", "percent": 1.0, "window_rect": { "x": 0, "y": 0, "width": 1920, "height": 1027 }, "deco_rect": { "x": 0, "y": 0, "width": 1920, "height": 27 }, "geometry": { "x": 0, "y": 0, "width": 800, "height": 630 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 0, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "type": "con", "pid": 937, "app_id": "Alacritty", "visible": true, "max_render_time": 0, "shell": "xdg_shell", "inhibit_idle": false, "idle_inhibitors": { "user": "none", "application": "none" } } ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "DP-1", "type": "workspace", "representation": "T[Alacritty]" }, "current": { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focused": false, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ { "id": 10, "name": "[1] 0:bash - user@hostname:~", "rect": { "x": 1920, "y": 53, "width": 1920, "height": 1027 }, "focused": true, "focus": [ ], "border": "normal", "current_border_width": 2, "layout": "none", "orientation": "none", "percent": 1.0, "window_rect": { "x": 0, "y": 0, "width": 1920, "height": 1027 }, "deco_rect": { "x": 0, "y": 0, "width": 1920, "height": 27 }, "geometry": { "x": 0, "y": 0, "width": 800, "height": 630 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 0, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "type": "con", "pid": 1171, "app_id": "Alacritty", "visible": true, "max_render_time": 0, "shell": "xdg_shell", "inhibit_idle": false, "idle_inhibitors": { "user": "none", "application": "none" } } ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]" } }
Nov 12 08:59:07 hostname sway[762]: 00:08:09.777 [sway/ipc-server.c:958] Added IPC reply of type 0x80000000 to client 65 queue: { "change": "focus", "old": { "id": 4, "name": "1", "rect": { "x": 0, "y": 26, "width": 1920, "height": 1054 }, "focused": false, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ { "id": 7, "name": "[0] 0:journalctl - user@hostname:~", "rect": { "x": 0, "y": 53, "width": 1920, "height": 1027 }, "focused": false, "focus": [ ], "border": "normal", "current_border_width": 2, "layout": "none", "orientation": "none", "percent": 1.0, "window_rect": { "x": 0, "y": 0, "width": 1920, "height": 1027 }, "deco_rect": { "x": 0, "y": 0, "width": 1920, "height": 27 }, "geometry": { "x": 0, "y": 0, "width": 800, "height": 630 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 0, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "type": "con", "pid": 937, "app_id": "Alacritty", "visible": true, "max_render_time": 0, "shell": "xdg_shell", "inhibit_idle": false, "idle_inhibitors": { "user": "none", "application": "none" } } ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "DP-1", "type": "workspace", "representation": "T[Alacritty]" }, "current": { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focused": false, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ { "id": 10, "name": "[1] 0:bash - user@hostname:~", "rect": { "x": 1920, "y": 53, "width": 1920, "height": 1027 }, "focused": true, "focus": [ ], "border": "normal", "current_border_width": 2, "layout": "none", "orientation": "none", "percent": 1.0, "window_rect": { "x": 0, "y": 0, "width": 1920, "height": 1027 }, "deco_rect": { "x": 0, "y": 0, "width": 1920, "height": 27 }, "geometry": { "x": 0, "y": 0, "width": 800, "height": 630 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 0, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "type": "con", "pid": 1171, "app_id": "Alacritty", "visible": true, "max_render_time": 0, "shell": "xdg_shell", "inhibit_idle": false, "idle_inhibitors": { "user": "none", "application": "none" } } ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]" } }
Nov 12 08:59:07 hostname sway[762]: 00:08:09.777 [sway/desktop/transaction.c:427] Transaction 0x557f516a3b70 committing with 5 instructions
Nov 12 08:59:07 hostname sway[762]: 00:08:09.777 [sway/desktop/transaction.c:281] Applying transaction 0x557f516a3b70
Nov 12 08:59:07 hostname sway[762]: 00:08:09.778 [sway/ipc-server.c:535] Client 52 writable
Nov 12 08:59:07 hostname sway[762]: 00:08:09.778 [sway/ipc-server.c:535] Client 65 writable
Nov 12 08:59:07 hostname sway[762]: 00:08:09.778 [sway/ipc-server.c:219] Client 50 readable
Nov 12 08:59:07 hostname sway[762]: 00:08:09.778 [sway/ipc-server.c:958] Added IPC reply of type 0x1 to client 50 queue: [ { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]", "focused": true, "visible": true }, { "id": 4, "name": "1", "rect": { "x": 0, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "DP-1", "type": "workspace", "representation": "T[Alacritty]", "focused": false, "visible": true } ]
Nov 12 08:59:07 hostname sway[762]: 00:08:09.778 [sway/ipc-server.c:219] Client 60 readable
Nov 12 08:59:07 hostname sway[762]: 00:08:09.778 [sway/ipc-server.c:958] Added IPC reply of type 0x1 to client 60 queue: [ { "id": 9, "name": "2", "rect": { "x": 1920, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 10 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 2, "output": "HDMI-A-2", "type": "workspace", "representation": "T[Alacritty]", "focused": true, "visible": true }, { "id": 4, "name": "1", "rect": { "x": 0, "y": 26, "width": 1920, "height": 1054 }, "focus": [ 7 ], "border": "none", "current_border_width": 0, "layout": "tabbed", "orientation": "none", "percent": null, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window": null, "urgent": false, "marks": [ ], "fullscreen_mode": 1, "nodes": [ ], "floating_nodes": [ ], "sticky": false, "num": 1, "output": "DP-1", "type": "workspace", "representation": "T[Alacritty]", "focused": false, "visible": true } ]
Nov 12 08:59:07 hostname sway[762]: 00:08:09.778 [sway/ipc-server.c:535] Client 50 writable
Nov 12 08:59:07 hostname sway[762]: 00:08:09.778 [sway/ipc-server.c:535] Client 60 writable
mmonaco commented 3 years ago

Also note, I just tried with --image /path/to/foo.jpg instead of --screenshot at v1.6-2 (not your latest 78321df). No crashing or locking up, so still seems specific to --screenshot.

mortie commented 3 years ago

Good news! I was able to reproduce your issue by just unplugging and replugging any display when running your swaylock command. That makes debugging way easier.

mmonaco commented 3 years ago

Despite all of this, I may actually prefer the --image now TBH :). However, would a FR even be possible to add a --background option that scrapes the background that's currently applied to each output?

Also, do you have a donation link? I'm happy to tip you for your time spent on this (and for working on -effects in general).

mmonaco commented 3 years ago

One more datapoint: With the latest commit to apply effects to --image too, we also hit the regression and I get this extra error output:

swaylock: cairo-surface.c:955: cairo_surface_destroy: Assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&surface->ref_count)' failed.

mortie commented 3 years ago

Ok, I think everything should work as of https://github.com/mortie/swaylock-effects/commit/6b11567611aef9b95fcc440891b5d679374e2823. I'm not able to reproduce any issues anymore.

The reason things froze in they way they did is that OpenMP was sometimes used both before and after the fork() when -f was used. Most of the effects use OpenMP for parallelization, and OpenMP doesn't really work properly in the child process if it was also used in the parent process (which isn't super surprising, considering how badly fork() and threads go together). The effect of using openmp both before and after the fork was simply that openmp in the child process would freeze, presumably waiting for some non-existent thread to respond to a condition variable or something.

The recent series of commits also makes swaylock-effects more aggressive about re-using images it has already prepared (so that if DP-2 is removed and then added again, the old DP-2 screenshot is used), and fixes issues with applying effects to images with pixel formats other than RGB24.

Please test out these changes and tell me if they fix the issues for you too :)

Since you ask, I created one of those paypal donation links: https://www.paypal.com/donate?hosted_button_id=BH5DD69XNFZYA&source=url

mortie commented 3 years ago

Please do open a separate issue with a feature request for the --background thing. I'm not sure if it's possible with Wayland, but I'd have to investigate that. I agree it would be a nice feature if it's possible.

If you still encounter the CAIRO_REFERENCE_COUNT_HAS_REFERENCE error, I'm interested in hearing more about that. I've never seen it before. Do you know if you use a special build of cairo with asserts enabled or if those asserts are enabled for every cairo build?

mortie commented 3 years ago

And, regarding:

A secondary issue (or maybe primary depending on your perspective) is that there's no defense in depth here and an error is leading to my screen being completely visible while locked. Input is still blocked, but I'm not sure if that's because swaylock is deadlocked or not.

Yeah, this isn't ideal. IMO, the fundamental issue here is that there's no way to tell the compositor that the screen is locked; the only defense against an attacker viewing the screen is that swaylock creates a full-screen window which is in front of everything. The ideal solution would be to set the compositor in a mode where it will refuse to show anything except for the lock-screen windows.

Since that's impossible right now, an alternative solution is to have two lock screen processes; one which is super simple and only creates full-screen, white, opaque windows until it's killed, the other being the main swaylock-effects process. This would protect us from almost all possible bugs in the swaylock-effects process (which is especially important considering that --effect-custom lets the user load arbitrary C code with all kinds of bugs into the main swaylock-effects process).

One of the nice things about Wayland is that it at least prevents the user from interacting with anything while the screen is locked. If this was X11, this bug where the lock screen hangs wouldn't just have been an information disclosure; this bug would've let anyone do anything they wish as if the screen wasn't locked at all. Since swaylock uses the input inhibitor protocol, all user input is at prevented even when the process hangs, which is nice.

mmonaco commented 3 years ago

Ok, I think everything should work as of 6b11567. I'm not able to reproduce any issues anymore.

Please test out these changes and tell me if they fix the issues for you too :)

Looks good! I see the log output: "Using existing image instead of taking a screenshot for output".

Since you ask, I created one of those paypal donation links: https://www.paypal.com/donate?hosted_button_id=BH5DD69XNFZYA&source=url

Done

Please do open a separate issue with a feature request for the --background thing. I'm not sure if it's possible with Wayland, but I'd have to investigate that. I agree it would be a nice feature if it's possible.

Done. #34

If you still encounter the CAIRO_REFERENCE_COUNT_HAS_REFERENCE error, I'm interested in hearing more about that. I've never seen it before. Do you know if you use a special build of cairo with asserts enabled or if those asserts are enabled for every cairo build?

I don't have a special Cairo build. Just stock Arch packaging.