~emersion/kanshi#62: 
invalid arguments for zwlr_output_configuration_v1@4.enable_head

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

Status
REPORTED
Submitter
github.com:luispabon (unverified)
Assigned to
No-one
Submitted
8 months ago
Updated
8 months ago
Labels
No labels applied.

github.com:luispabon (unverified) 8 months ago · edit

I'm not sure how to get any more debug info out of kanshi.

github.com:emersion (unverified) 8 months ago · edit

Can you collect a WAYLAND_DEBUG=1 log of kanshi?

github.com:luispabon (unverified) 8 months ago · edit

Of course, I'll report back.

github.com:luispabon (unverified) 8 months ago · edit

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.

github.com:emersion (unverified) 8 months ago · edit

github.com:luispabon (unverified) 8 months ago · edit

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?

github.com:emersion (unverified) 8 months ago · edit

Fixing this race condition requires protocol changes, yes.

github.com:luispabon (unverified) 8 months ago · edit

Understood, thank you. Should I close this issue then?

github.com:emersion (unverified) 8 months ago · edit

I guess we can keep it open for now.

Register here or Log in to comment, or comment via email.