omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Lockscreen sometimes only show up on one monitor when using a multi-monitor setup

Open diegopluna opened this issue 1 year ago • 17 comments

Image Self-explanatory image 😂

diegopluna avatar Jul 03 '25 19:07 diegopluna

Oh weird!! I've never seen that before. Seems like a Hyprlock bug. What does your monitors.conf file look like? Had you made any changes to the hyprlock.conf?

dhh avatar Jul 03 '25 19:07 dhh

I did not make any changes to hyprlock, but I did change the monitors.conf.

# Use single default monitor (see all monitors with: hyprctl monitors)
# monitor=,preferred,auto,auto
monitor=DP-3, 2560x1440@170,1920x0,1.25
monitor=DP-2, [email protected], 0x0, 1

# Example for Framework 13 w/ 6K XDR Apple display
# monitor = DP-5, [email protected], auto, 2
# monitor = eDP-1, [email protected], auto, 2

diegopluna avatar Jul 03 '25 19:07 diegopluna

Maybe @vaxerski can help point us in the right direction.

dhh avatar Jul 03 '25 21:07 dhh

whomstd've summoned me

no, your config looks good. I don't know why this would happen. I use two monitors and have never had this happen. What's the hyprlock version?

Also for hyprlock most of the development nowadays is made by max, so I'll tag him as well @PaideiaDilemma

vaxerski avatar Jul 03 '25 21:07 vaxerski

no, your config looks good. I don't know why this would happen. I use two monitors and have never had this happen. What's the hyprlock version?

Hyprlock version is 0.8.2-2

diegopluna avatar Jul 03 '25 22:07 diegopluna

Hello!! Any chance i could get some logs from hyprlock??

PointerDilemma avatar Jul 04 '25 04:07 PointerDilemma

How can I get the logs? If i trigger hyprlock using hyprlock > logs.txt to get the logs it works just fine, this bug only seems to occur when waking system from sleep.

diegopluna avatar Jul 04 '25 14:07 diegopluna

Experiencing same issue.

Here is my monitor config:

# See https://wiki.hyprland.org/Configuring/Monitors/

# Use single default monitor (see all monitors with: hyprctl monitors)
monitor=,preferred,auto,1
monitor=DP-3,2560x1440,0x0,auto  # Top
monitor=DP-2,2560x1440,0x1440,1  # Bottom
monitor=DP-1,1920x1080,2560x540,1,transform,3  # Right

Here is the hyperlock logs:

Hyprlock version v0.8.2
[ERR] Config has errors:
Config error in file /home/l0gicgate/.local/share/omarchy/themes/tokyo-night/hyprlock.conf at line 6: config option <general:disable_loading_bar> does not exist.
Config error in file /home/l0gicgate/.local/share/omarchy/themes/tokyo-night/hyprlock.conf at line 7: config option <general:no_fade_in> does not exist.
Config error in file /home/l0gicgate/.local/share/omarchy/themes/tokyo-night/hyprlock.conf at line 31: config option <input-field:font_size> does not exist.
Config error in file /home/l0gicgate/.local/share/omarchy/themes/tokyo-night/hyprlock.conf at line 34: config option <input-field:placeholder_color> does not exist.
Proceeding ignoring faulty entries
[LOG]   | got iface: wl_seat v9
[LOG]    > Bound to wl_seat v9
[LOG]   | got iface: wl_data_device_manager v3
[LOG]   | got iface: wl_compositor v6
[LOG]    > Bound to wl_compositor v6
[LOG]   | got iface: wl_subcompositor v1
[LOG]   | got iface: wl_shm v1
[LOG]    > Bound to wl_shm v1
[LOG]   | got iface: wp_viewporter v1
[LOG]    > Bound to wp_viewporter v1
[LOG]   | got iface: wp_tearing_control_manager_v1 v1
[LOG]   | got iface: wp_fractional_scale_manager_v1 v1
[LOG]    > Bound to wp_fractional_scale_manager_v1 v1
[LOG]   | got iface: zxdg_output_manager_v1 v3
[LOG]   | got iface: wp_cursor_shape_manager_v1 v1
[LOG]    > Bound to wp_cursor_shape_manager_v1 v1
[LOG]   | got iface: zwp_idle_inhibit_manager_v1 v1
[LOG]   | got iface: zwp_relative_pointer_manager_v1 v1
[LOG]   | got iface: zxdg_decoration_manager_v1 v1
[LOG]   | got iface: wp_alpha_modifier_v1 v1
[LOG]   | got iface: zwlr_gamma_control_manager_v1 v1
[LOG]   | got iface: ext_foreign_toplevel_list_v1 v1
[LOG]   | got iface: zwp_pointer_gestures_v1 v3
[LOG]   | got iface: zwlr_foreign_toplevel_manager_v1 v3
[LOG]   | got iface: zwp_keyboard_shortcuts_inhibit_manager_v1 v1
[LOG]   | got iface: zwp_text_input_manager_v1 v1
[LOG]   | got iface: zwp_text_input_manager_v3 v1
[LOG]   | got iface: zwp_pointer_constraints_v1 v1
[LOG]   | got iface: zwlr_output_power_manager_v1 v1
[LOG]   | got iface: xdg_activation_v1 v1
[LOG]   | got iface: ext_idle_notifier_v1 v2
[LOG]   | got iface: hyprland_lock_notifier_v1 v1
[LOG]   | got iface: ext_session_lock_manager_v1 v1
[LOG]    > Bound to ext_session_lock_manager_v1 v1
[LOG]   | got iface: zwp_input_method_manager_v2 v1
[LOG]   | got iface: zwp_virtual_keyboard_manager_v1 v1
[LOG]   | got iface: zwlr_virtual_pointer_manager_v1 v2
[LOG]   | got iface: zwlr_output_manager_v1 v4
[LOG]   | got iface: org_kde_kwin_server_decoration_manager v1
[LOG]   | got iface: hyprland_focus_grab_manager_v1 v1
[LOG]   | got iface: zwp_tablet_manager_v2 v1
[LOG]   | got iface: zwlr_layer_shell_v1 v5
[LOG]   | got iface: wp_presentation v1
[LOG]   | got iface: xdg_wm_base v6
[LOG]   | got iface: zwlr_data_control_manager_v1 v2
[LOG]   | got iface: zwp_primary_selection_device_manager_v1 v1
[LOG]   | got iface: xwayland_shell_v1 v1
[LOG]   | got iface: zwlr_screencopy_manager_v1 v3
[LOG]    > Bound to zwlr_screencopy_manager_v1 v3
[LOG]   | got iface: hyprland_toplevel_export_manager_v1 v2
[LOG]   | got iface: hyprland_toplevel_mapping_manager_v1 v1
[LOG]   | got iface: hyprland_global_shortcuts_manager_v1 v1
[LOG]   | got iface: xdg_wm_dialog_v1 v1
[LOG]   | got iface: wp_single_pixel_buffer_manager_v1 v1
[LOG]   | got iface: wp_security_context_manager_v1 v1
[LOG]   | got iface: hyprland_ctm_control_manager_v1 v2
[LOG]   | got iface: hyprland_surface_manager_v1 v2
[LOG]   | got iface: wp_content_type_manager_v1 v1
[LOG]   | got iface: xdg_toplevel_tag_manager_v1 v1
[LOG]   | got iface: xdg_system_bell_v1 v1
[LOG]   | got iface: wp_color_manager_v1 v1
[LOG]   | got iface: wp_drm_lease_device_v1 v1
[LOG]   | got iface: wp_linux_drm_syncobj_manager_v1 v1
[LOG]   | got iface: wl_drm v2
[LOG]   | got iface: zwp_linux_dmabuf_v1 v5
[LOG]    > Bound to zwp_linux_dmabuf_v1 v5
[LOG]   | got iface: wl_output v4
[LOG]    > Bound to wl_output v4
[LOG]   | got iface: wl_output v4
[LOG]    > Bound to wl_output v4
[LOG]   | got iface: wl_output v4
[LOG]    > Bound to wl_output v4
[LOG] Exposed seat name: Hyprland
[LOG] [core] dmabufFeedbackMainDevice
[LOG] output DP-1 name DP-1
[LOG] output 58 description Samsung Electric Company U32J59x HCJTB01497 (DP-1)
[LOG] output 58 make Samsung Electric Company model U32J59x
[LOG] output 58 done
[LOG] output DP-2 name DP-2
[LOG] output 59 description Samsung Electric Company U32J59x HCJTB01500 (DP-2)
[LOG] output 59 make Samsung Electric Company model U32J59x
[LOG] output 59 done
[LOG] output DP-3 name DP-3
[LOG] output 60 description Samsung Electric Company U32J59x HCJTB01394 (DP-3)
[LOG] output 60 make Samsung Electric Company model U32J59x
[LOG] output 60 done
[LOG] Running on Hyprland
[LOG] Locking session
[LOG] Starting fade in
[LOG] Got fractional scale: 100.0%
[LOG] configure with serial 2607
[LOG] Configuring surface for logical [Vector2D: x: 1080, y: 1920] and pixel [Vector2D: x: 1080, y: 1920]
[LOG] Got fractional scale: 100.0%
[LOG] configure with serial 2608
[LOG] Configuring surface for logical [Vector2D: x: 2560, y: 1440] and pixel [Vector2D: x: 2560, y: 1440]
[LOG] Got fractional scale: 100.0%
[LOG] configure with serial 2609
[LOG] Configuring surface for logical [Vector2D: x: 2560, y: 1440] and pixel [Vector2D: x: 2560, y: 1440]
[LOG] onLockLocked called
[LOG] Authenticating
[LOG] PAM_PROMPT: Password: 
[LOG] auth: authenticated for hyprlock
[LOG] Unlocking session
[LOG] Unlocked, exiting!
[LOG] Reached the end, exiting

Image

l0gicgate avatar Jul 04 '25 20:07 l0gicgate

I wonder if it's due to the lack of any animations, maybe the first frame is stuck and no damage is queued?

vaxerski avatar Jul 04 '25 22:07 vaxerski

I just want to add that whenever I wake up from sleep, or that I switch from my Mac to PC on my KVM, I have to pkill Hyprland and then everything goes back to normal.

If I just run hyperlock on a fresh start, everything works fine and all the screens are covered by the background.

I can make a video to show you the behavior @vaxerski if that's helpful?

l0gicgate avatar Jul 04 '25 22:07 l0gicgate

I don't think it would be. A better thing to test is enabling the fade in/out animations for hyprlock and seeing if that helps

vaxerski avatar Jul 07 '25 16:07 vaxerski

@l0gicgate do your logs correspond with your screenshot? Cause @diegopluna said he can only repro when waking from sleep.

PointerDilemma avatar Jul 12 '25 09:07 PointerDilemma

Experiencing the same issue! I'm using nvidia if it helps.

mlive1992 avatar Jul 19 '25 08:07 mlive1992

I don't think it would be. A better thing to test is enabling the fade in/out animations for hyprlock and seeing if that helps

I tried this and didn't help. I forgot to mention that the issue is from the monitor that connected directly to the motherboard(iGPU), instead of dGPU. Is that help?

mlive1992 avatar Jul 20 '25 07:07 mlive1992

I'm unsure if this is the same issue or a new one. I have a similar situation since updating to 1.6.0 (or 1.6.1), except none of my monitors show the lock screen. Thankfully I can still enter my password and it works!

I have 3 monitors with one being vertical.

# monitors.conf
env = GDK_SCALE,1

monitor = DP-1, [email protected], 0x0, 1, transform, 3
monitor = HDMI-A-1, [email protected], 1080x415, 1
monitor = DVI-D-1, [email protected], 3000x415, 1

workspace = 1, monitor:DP-1
workspace = 2, monitor:HDMI-A-1
workspace = 3, monitor:DVI-D-1

Results of hyprlock > logs.txt: logs.txt

Image

ardavis avatar Jul 24 '25 20:07 ardavis

Again, unsure if it's the exact same issue as the original issue but my issue above has been resolved with the 1.6.2 update.

ardavis avatar Jul 27 '25 15:07 ardavis

It's been a while 😅. But yeah, for the past month or so this did not happen anymore, seems to be fixed. I'm going to close the issue for now.

diegopluna avatar Sep 08 '25 17:09 diegopluna