-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating background with swaymsg causes brief system freeze #5606
Comments
Might have something to do with 3de1a39 |
I too am experiencing this issue, but only with an external screen connected (DisplayPort). This may corroborate emersion's suspicion. To make matters worse, I suspect this problem to be the cause of Firefox and sometimes other applications crashing with, what looks like, a compositor error. |
This comment has been minimized.
This comment has been minimized.
@emersion I tried git bisect and I get the commit you pointed out as the bad one.
Would it be possible to exclude some of the |
I have also been experiencing this issue with a wallpaper changer script I wrote. It also seems to mess with inputs such that holding down a key when the change happens will cause that key to get "stuck" down until you release and press it again, although sometimes the opposite happens where the key will release itself and you have to release and press again to get it to go. Very annoying when playing games. |
The commit re-configures input devices when output commands are run. Instead we could do it when a new output is plugged in and see how it goes. |
Sway's default background setter causes a brief system freeze. swaywm/sway#5606 Updating to use swaybg instead when available.
Sway's default background setter causes a brief system freeze. swaywm/sway#5606 Updating to use swaybg instead when available.
system freeze doesn occur if background is changed by killing and launching |
Sway version v1.5
https://gist.github.com/Neeek/c60fed165b002ccc68d39be3fadd4b7d
default config
Once sway is started, open up gears or glxgears or eglgears_X11 in a terminal and in another terminal enter the command
swaymsg output "*" bg solid_color fill "#000000"
observe about 40 dropped frames in gears (at 144Hz, more like 15 at 60Hz), so about 200ms of delay.
Sway doesn't receive input during the downtime also, which can be quite jarring while using the system with a wallpaper script or background manager. Downgrading to sway version 1.4 and wlroots 10 fixed the issue for me.
Thanks
The text was updated successfully, but these errors were encountered: