Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

invalid arguments for [email protected]_head #99

Open
luispabon opened this issue Feb 3, 2021 · 9 comments
Open

invalid arguments for [email protected]_head #99

luispabon opened this issue Feb 3, 2021 · 9 comments

Comments

@luispabon
Copy link

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 [email protected]_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 dabd7a2

@luispabon
Copy link
Author

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

@emersion
Copy link
Owner

emersion commented Feb 3, 2021

Can you collect a WAYLAND_DEBUG=1 log of kanshi?

@luispabon
Copy link
Author

Of course, I'll report back.

@luispabon
Copy link
Author

luispabon commented Feb 3, 2021

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.

@emersion
Copy link
Owner

emersion commented Feb 3, 2021

Sounds like you're hitting swaywm/wlr-protocols#62

@luispabon
Copy link
Author

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?

@emersion
Copy link
Owner

emersion commented Feb 3, 2021

Fixing this race condition requires protocol changes, yes.

@luispabon
Copy link
Author

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

@emersion emersion changed the title Crash upon suspend invalid arguments for [email protected]_head Feb 4, 2021
@emersion
Copy link
Owner

emersion commented Feb 4, 2021

I guess we can keep it open for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants