hyprwm / hyprlock

Hyprland's GPU-accelerated screen locking utility
BSD 3-Clause "New" or "Revised" License
715 stars 53 forks source link

Lockscreen Freeze #419

Open SmilingMonkey7 opened 1 month ago

SmilingMonkey7 commented 1 month ago

Bit hard to describe but the following happens:

if i go into lock screen or my pc goes into lockscreen naturally and leave my pc for a while, i can come back and put in my password normally but the moment i press enter the pc completely freezes and i need to manually restart. i did an artifical test and the moment the clock that is on my screen freezes, is also the moment where i will have to restart manually if enter my password. Before that i can put in my password and it will resume normally

megaaa13 commented 1 month ago

Got the same issue : Sometimes, when hyprlock is exiting, the screen just freeze, and I have to go to another tty then go back in order to get it working. When swayidle starts hyprlock, I noticed than the clock seems to update only when I move my mouse, and was freezed at the time of locking. Tried and sucessfully remade it in a shell, but no unusual logs. I also checked journalctl but the only logs unusual were :

Jul 15 01:49:07 tower hyprlock[4214]: pam_unix(hyprlock:auth): conversation failed Jul 15 01:49:07 tower hyprlock[4214]: pam_unix(hyprlock:auth): auth could not identify password for [martin]

I use Nvidia driver 555 and NixOS 24.05. Here is my hyprlock.conf.

PaideiaDilemma commented 1 month ago

Jul 15 01:49:07 tower hyprlock[4214]: pam_unix(hyprlock:auth): conversation failed Jul 15 01:49:07 tower hyprlock[4214]: pam_unix(hyprlock:auth): auth could not identify password for [martin]

I think that part is already fixed with https://github.com/hyprwm/hyprlock/commit/3bedae44368b1e490ff0d5a9f3fd508a4041d3a5. I guess you are probably on 0.4.0.

I don't know if the freezing is related to this. But it might be. Can you post your distro and compositor versions as well?

megaaa13 commented 1 month ago

I am actually on 0.3.0-unstable-2024-04-24 as I'm following the Nix 24.05 channel (see here), and Hyprland is on v0.41.2.

And the freezing could be due to a Nvidia issue, but without logs I understand it's like completely impossible to solve it...

PaideiaDilemma commented 1 month ago

If you are able to, please try latest git (hyprland + hyprlock) and check if the freeze still happens.

I kinda think that has already been fixed.

wosym commented 1 month ago

@PaideiaDilemma what commit made the fix? What version would contain it? I currently have 0.4.1-1 and I have more or less the same issue as described here.

PerchunPak commented 1 month ago

For me, 0.4.1 fixed this issue, so just install 0.4.1 instead of git version

wosym commented 1 month ago

I just installed it for the first time ever, that version, and it's affected.

PaideiaDilemma commented 1 month ago

This is related to your Hyprland version, not hyprlock.

megaaa13 commented 1 month ago

If you are able to, please try latest git (hyprland + hyprlock) and check if the freeze still happens.

I kinda think that has already been fixed.

Took a while to respond but you were right, the issue seems to have disappeared while switching on a more recent version. Appreciate the help !

wosym commented 3 weeks ago

I just updated to Hyprland 0.42. The problem appears to be fixed at first glance, but in practice it isn't. One in every +- 20 locks, it still has the freeze behavior. It is still recoverable by switching to another tty.

EDIT: one in every +- 60 locks the freeze behavior is not recoverable by switching to another tty and a full reboot is required.

gloomDev commented 2 weeks ago

Got the same issue : Sometimes, when hyprlock is exiting, the screen just freeze, and I have to go to another tty then go back in order to get it working. When swayidle starts hyprlock, I noticed than the clock seems to update only when I move my mouse, and was freezed at the time of locking. Tried and sucessfully remade it in a shell, but no unusual logs. I also checked journalctl but the only logs unusual were :

Jul 15 01:49:07 tower hyprlock[4214]: pam_unix(hyprlock:auth): conversation failed Jul 15 01:49:07 tower hyprlock[4214]: pam_unix(hyprlock:auth): auth could not identify password for [martin]

I use Nvidia driver 555 and NixOS 24.05. Here is my hyprlock.conf.

Also using the 555 drivers and NixOS. Same issue here.