Quite often, whenever I suspend my laptop, kanshi crashes. This is the log of a whole session:
https://paste.ubuntu.com/p/NjJCcqM8wv/
The most relevant section:
Feb 02 19:00:31 applying profile '<anonymous at line 7, col 1>'
Feb 02 19:00:31 applying profile output 'eDP-1' on connected head 'eDP-1'
Feb 02 19:00:31 applying profile output 'Iiyama North America PL2410HD 11046A0B03094' on connected head 'DP-5'
Feb 02 19:00:31 applying profile '<anonymous at line 2, col 1>'
Feb 02 19:00:31 applying profile output 'Sharp Corporation 0x1476 0x00000000' on connected head 'eDP-1'
Feb 02 19:00:31 wl_display@1: error 1: invalid arguments for zwlr_output_configuration_v1@4.enable_head
Kanshi config https://github.com/luispabon/sway-dotfiles/blob/master/configs/kanshi/config
Sway & wlroots master (this has been happening since at least Sway 1.5) Kanshi master dabd7a29174a74b3f21a2b4cc3d9dc63221761bb
I'm not sure how to get any more debug info out of kanshi.
Can you collect a
WAYLAND_DEBUG=1
log of kanshi?
Of course, I'll report back.
Here: https://paste.ubuntu.com/p/R6tMt8rkC5/
This wasn't upon suspension actually. I unplugged the thunderbolt dock where two of the displays are at to take the laptop elsewhere.
Sounds like you're hitting https://github.com/swaywm/wlr-protocols/issues/62
Copy that. Do I take it the issue is inherent to the protocol itself and can't be fixed in code without deviating from it?
Fixing this race condition requires protocol changes, yes.
Understood, thank you. Should I close this issue then?
I guess we can keep it open for now.