i3 / i3lock

improved screen locker
https://i3wm.org/i3lock
BSD 3-Clause "New" or "Revised" License
918 stars 399 forks source link

i3lock stuck on "verifying" after suspend #131

Closed SinForest closed 7 years ago

SinForest commented 7 years ago

I'm using i3lock 2.9-1 from the official ARCH repos. When I lock the laptop, keep in on suspend for a while and try unlocking it, the unlocking freezes at "verifying...". I can switch to other TTYs. The error does not occur when downgrading to version 2.8-1. I'm using i3lock -efi .

Airblader commented 7 years ago

Van you perhaps bisect the issue since it works with 2.8?

maximbaz commented 7 years ago

I experience this as well. It will be difficult to bisect, because it doesn't reproduce every time.

What I observed so far:

My command is: i3lock -efnc 000000

Airblader commented 7 years ago

Can you check whether i3lock is even still running (pgrep i3lock)? If so, what if you xkill i3lock (since the mouse is functioning again)?

Are you using a compositor? If so, does the issue also occur when the compositor isn't running?

maximbaz commented 7 years ago

pgrep says i3lock is not running, that explains why killall i3lock does nothing 🙂 I'll try to repro it without compton next, although compton was not upgraded for long time.

Then I'll try to use i3lock v2.8, to confirm that the new version is indeed the root cause.

maximbaz commented 7 years ago

It seems to work fine with compton disabled. Reading other open issues, seems to be caused by #96, which hopefully gets improved / reverted soon. Until then, this is a valid workaround:

killall compton
i3lock -efnc 000000
compton &!
Airblader commented 7 years ago

Thanks for the feedback. Closing since we don't support compositing and there's a discussion to revert #96 already.

d3banjan commented 6 years ago

I seem to have the same problem. Verify takes too long. I am on ubuntu 17.10.

i3lock --debug 
[i3lock-debug] device = 3
[i3lock-debug] found Xinerama screen: 1366 x 768 at 0 x 0
[i3lock-debug] scaling_factor is 1, physical diameter is 190 px
[i3lock-debug] device = 3
[i3lock-debug] Watching window 0x02400003
[i3lock-debug] redraw_screen(unlock_state = 0, auth_state = 0)
[i3lock-debug] scaling_factor is 1, physical diameter is 190 px
xxxx@xxxxx-xxxx-xxxx:~$ [i3lock-debug] process_xkb_event for device 3
[i3lock-debug] current password = x
[i3lock-debug] redraw_screen(unlock_state = 2, auth_state = 0)
[i3lock-debug] scaling_factor is 1, physical diameter is 190 px
[i3lock-debug] process_xkb_event for device 3
[i3lock-debug] current password = xx
[i3lock-debug] redraw_screen(unlock_state = 2, auth_state = 0)
[i3lock-debug] scaling_factor is 1, physical diameter is 190 px
[i3lock-debug] redraw_screen(unlock_state = 1, auth_state = 0)
[i3lock-debug] scaling_factor is 1, physical diameter is 190 px
[i3lock-debug] current password = xxx
[i3lock-debug] redraw_screen(unlock_state = 2, auth_state = 0)
[i3lock-debug] scaling_factor is 1, physical diameter is 190 px
[i3lock-debug] redraw_screen(unlock_state = 1, auth_state = 0)
[i3lock-debug] scaling_factor is 1, physical diameter is 190 px
[i3lock-debug] current password = xxxx
[i3lock-debug] redraw_screen(unlock_state = 2, auth_state = 0)
[i3lock-debug] scaling_factor is 1, physical diameter is 190 px
[i3lock-debug] redraw_screen(unlock_state = 1, auth_state = 0)
[i3lock-debug] scaling_factor is 1, physical diameter is 190 px
[i3lock-debug] redraw_screen(unlock_state = 1, auth_state = 0)
[i3lock-debug] scaling_factor is 1, physical diameter is 190 px
[i3lock-debug] redraw_screen(unlock_state = 0, auth_state = 1)
[i3lock-debug] scaling_factor is 1, physical diameter is 190 px
[i3lock-debug] successfully authenticated
[i3lock-debug] Read event of type 18
[i3lock-debug] UnmapNotify for 0x02400003