hyprlock icon indicating copy to clipboard operation
hyprlock copied to clipboard

Lockscreen Freeze

Open SmilingMonkey7 opened this issue 1 year ago • 11 comments

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

SmilingMonkey7 avatar Jul 13 '24 14:07 SmilingMonkey7

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.

megaaa13 avatar Jul 15 '24 09:07 megaaa13

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?

PointerDilemma avatar Jul 15 '24 15:07 PointerDilemma

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...

megaaa13 avatar Jul 15 '24 15:07 megaaa13

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.

PointerDilemma avatar Jul 17 '24 09:07 PointerDilemma

@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.

wosym avatar Jul 30 '24 18:07 wosym

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

PerchunPak avatar Jul 30 '24 18:07 PerchunPak

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

wosym avatar Jul 30 '24 18:07 wosym

This is related to your Hyprland version, not hyprlock.

PointerDilemma avatar Jul 31 '24 15:07 PointerDilemma

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 !

megaaa13 avatar Aug 07 '24 13:08 megaaa13

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.

wosym avatar Aug 13 '24 23:08 wosym

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.

gloomDev avatar Aug 19 '24 17:08 gloomDev

same issue with 565 driver, hyprland 0.46.2-2 and hyprlock 0.6.1-1 on fedora

OyuDays avatar Jan 06 '25 17:01 OyuDays

FTR, I'm still hitting this on Hyprland 0.49.0 with hyprlock 0.8.2 and nvidia-drivers 570.190. I'm seeing authentication failures from pam_unix(hyprlock:auth) in the logs.

webknjaz avatar Sep 27 '25 15:09 webknjaz