i3 / i3lock

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

i3lock takes long to lock #228

Closed tl-yang closed 2 years ago

tl-yang commented 5 years ago

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

When calling the i3lock, screen takes almost 2 seconds to lock.

Expected Behavior

lock immediately

Reproduction Instructions

i3lock

Environment

Output of i3 --moreversion 2>&-:

Binary i3 version:  4.16.1-169-g60a6d14 (2019-04-11, branch "gaps-next") © 2009 Michael Stapelberg and contributors
Running i3 version: 4.16.1-169-g60a6d14 (2019-04-11, branch "gaps-next") (pid 2664)
Loaded i3 config: .config/i3/config (Last modified: Tue 23 Apr 2019 08:17:42 PM CDT, 982 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3

Running ltrace -tt i3lock > /tmp/i3lock.ltrace 2>&1 PasteBin

LOG

- Linux Distribution & Version: Ubuntu 16.04
- Are you using a compositor yes, compton 

Hi guys, first of all, thank you for this great window manager. I'm a newbie in i3, when I was experiencing with i3, I found it took almost 2 secs to lock the screen. And after inputting the password, it will take 2 secs for verifying message to pop out. I've tried to restart i3 and reboot my laptop but the problem still remains. I have a Geforce MX150 video card but currently, it's disabled. I have no clue what's going on, any help will be much appreciated. Thanks!

i3bot commented 5 years ago

I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

tl-yang commented 5 years ago

I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

Thank you for reminding me about log, I've uploaded a log file, hope this can help.

Airblader commented 5 years ago

@stapelberg Can you transfer this to i3/i3lock? Transferring issues unfortunately requires administrator privileges.

stapelberg commented 5 years ago

Done

stapelberg commented 4 years ago

@tl-yang Is this issue still reproducible? If yes, can you please run:

strace -fvy -tt -o /tmp/strace.log i3lock --debug

Then provide strace.log here? Please do not unlock your screen, but instead kill i3lock via SSH or a virtual console, as your password is printed in debug mode.

stapelberg commented 2 years ago

Closing because of inactivity