-
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
Keyboard not responding in swaylock #6131
Comments
Your bug report is missing debug logs. Please add a link to the full debug log file. |
Yes, I am not collecting logs for now, but will try to gather some tomorrow. |
I think I have the same issue. I'm running sway-git on Arch Linux to get around the subsurface "menu flickering" issue in Firefox 87.0 and I find that I can't unlock the screen on swaylock-git. Versions:
I captured a debug log while starting sway and immediately executing Let me know if there is any other information I can provide. |
When it happens, switch to a TTY and check if there is more than one swaylock instance running. |
Yes there seem to be two: $ ps auxw | grep swaylock
aorth 224419 0.0 0.1 36116 26644 pts/3 SL+ 15:43 0:00 swaylock
aorth 224420 0.0 0.0 24936 6200 pts/3 S+ 15:43 0:00 swaylock
aorth 224771 0.0 0.0 6404 2460 tty4 S+ 15:43 0:00 grep swaylock I had to |
In that case I imagine the issue is not lack of responsiveness, but that you are interacting with the "lower" swaylock instance (layer-shell clients like swaylock do not abide by normal focus rules), giving the appearance of unresponsiveness. |
@kennylevinsen So this seems to be an issue in wlroots/sway. I had been using swaylock-git because I was on sway-git and wlroots-git, but it behaves the same way with swaylock 1.5. I'm surprised nobody else is has reported this...? |
I think I have a similar issue from time to time (I have to type the password several times before it is accepted), but I never checked the number of processes running. Will try to see the next time. |
@cyberhuman are you using sway 1.5? This only happens to me on recent sway-git versions (for example, current sway 1.6rc). I'm currently using sway 1.5 again so I don't have this bug. |
I have a custom version built from master on Dec 24 with patches so I don't really know 😅 |
Sway 1.6 just entered Arch Linux today so now I have this problem again. Swaylock 1.5 seems to start two instances, as @kennylevinsen noticed. Only way to unlock the screen is to switch to a TTY and Is the correct place to report this in sway, wlroots, or swaylock? Thanks! |
I just tried sway 1.6, wlroots 0.13, and swaylock 1.5 again and everything is working. I don't know what changed. Here are my versions on Arch: # pacman -Qs sway
local/sway 1:1.6-1
Tiling Wayland compositor and replacement for the i3 window manager
local/swaybg 1.0-4
Wallpaper tool for Wayland compositors
local/swayidle 1.6-1
Idle management daemon for Wayland
local/swaylock 1.5-1
Screen locker for Wayland |
This is probably irrelevant but I noticed the following lines in your config:
Could it be that swaylock lost the focus when a notification occurs? |
Experiencing the same issue with the same line. I have removed that one from my config temporarily. Let's see whether this helps, |
That was not the cause here. |
The problem is in Swaylock on lid close (sleep) with Nvidia drivers running on wayland. It doesnt happen when you manually invoke "swaylock -f" but when you close lid and open it back, mouse, keyboard wont response, also it wont allow to go to tty. |
I am having the same issues intermittently but I am not using any NVIDIA drivers or hardware. Occasionally, after closing and re-opening the lid, I am greeted with the
My #!/usr/bin/env bash
playerctl -a pause
swaylock -f -c 000000 -i ~/Pictures/Wallpapers/owl-lock.png Arch |
That's usually a sign that something is going wrong. There shouldn't be any cursor on lock screen imho.
You could switch to a |
I am experiencing this issue as well, two monitors connected to a desktop. The issue is intermittent which suggests a race condition to me. But sometimes after swaylock, my system goes unresponsive, monitors see no input, and I can't unlock system. I will try to gather debug logs. exec swayidle -w |
boot to boot session logs with sway debug. I removed some nginx entries from the journalctl output. Let me know if I can provide any other information and thank you for any assistance. |
any advice? this continues to occur and is making sway nearly unusable. |
@StevenPine please don't hijack unrelated issues. Your log does not appear to contain any issues. You can ask in the IRC channel for further assistance. The original issue reported here should be solved by the session lock protocol, so closing. |
Hello,
I just updated after one month sway and I got one issue there:
After running swaylock - even from command line and not only after sleep I am not able to type password. It doesn'ŧ respond to any key. It worked before the update. I cannot go to "stable" version of sway because there were some issues in multi-monitor setup.
sway version 1.6-rc1-03daa53a (Mar 22 2021, branch 'master')
sway config:
The text was updated successfully, but these errors were encountered: