hyprlock icon indicating copy to clipboard operation
hyprlock copied to clipboard

No output with dpms off

Open HRQ-99 opened this issue 1 month ago • 0 comments

Regression?

No

Hyprlock Info and Version

Hyprlock version v0.9.2

Hyprlock config
general {
  fail_timeout = 0250 #millisecons
} 

#for battery on laptop
source = ~/.config/hypr/lock.conf

background {
    monitor =
    path = ~/Pictures/Wallpapers/dark_souls.jpg
    blur_passes = 0
}

input-field {
    monitor =
    size = 15%, 5%
    outline_thickness = 3
    inner_color = rgba(0, 0, 0, 0)

    outer_color = rgba(33ccaabb) rgba(00ff99aa) 45deg
    check_color=rgba(00ff99aa) rgba(ff6633aa) 120deg
    fail_color=rgba(ff6633ee) rgba(ff0066ee) 40deg

    font_color = rgb(180, 180, 180)
    fade_on_empty = false
    rounding = 24

    position = 0, -20
    halign = center
    valign = center
}

#Login message
label {
    monitor =
    text = Light the bonfire, $USER
    color = rgba(200, 200, 200, 1.0)
    font_size = 20
    font_family = DaddyTimeMono Nerd Font

    position = 0, 80
    halign = center
    valign = center
}

#Time
label {
    monitor =
    text =  $TIME
    color = rgba(200, 200, 200, 1.0)
    font_size = 72
    font_family = DaddyTimeMono Nerd Font

    position = 0, -100
    halign = center
    valign = top
}

#Suspend button
label {
    text =  
    onclick = systemctl suspend
    color = rgba(200, 200, 255, 1.0)
    font_size = 32
    font_family = "DaddyTimeMono Nerd Font"
    position = -12, 12
    halign = right
    valign = bottom
}

Compositor Info and Version

System/Version info
Hyprland 0.52.1 built from branch v0.52.1 at commit 967c3c7404d4fa00234e29c70df3e263386d2597 clean (version: bump to 0.52.1).
Date: Sun Nov 9 23:31:36 2025
Tag: v0.52.1, commits: 6564

Libraries:
Hyprgraphics: built against 0.3.0, system has 0.3.0
Hyprutils: built against 0.10.2, system has 0.10.2
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.3, system has 0.6.6
Aquamarine: built against 0.9.5, system has 0.9.5

no flags were set


System Information:
System name: Linux
Node name: hyperion
Release: 6.17.8-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 14 Nov 2025 06:54:20 +0000

Libraries:
Hyprgraphics: built against 0.3.0, system has 0.3.0
Hyprutils: built against 0.10.2, system has 0.10.2
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.3, system has 0.6.6
Aquamarine: built against 0.9.5, system has 0.9.5



GPU information: 
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] [1002:747e] (rev c8) (prog-if 00 [VGA controller])
0f:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c5) (prog-if 00 [VGA controller])


os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo


plugins:

Explicit sync: supported
GL ver: 3.2
Backend: drm

Monitor info:
	Panel DP-1: 2560x1440, DP-1 Acer Technologies XV270U X1 2516048AE3LEH -> backend drm
		explicit ✔️
		edid:
			hdr ✔️
			chroma ✔️
			bt2020 ✔️
		vrr capable ❌
		non-desktop ❌
		
	Panel DP-2: 1920x1080, DP-2 ASUSTek COMPUTER INC VG245 G9LMQS041851 -> backend drm
		explicit ✔️
		edid:
			hdr ❌
			chroma ✔️
			bt2020 ❌
		vrr capable ✔️
		non-desktop ❌
		

Description

If one of the monitors is turned off using dpms (I use keybind, bind = $mainMod, r , exec, sleep 0.25 && hyprctl dispatch dpms toggle DP-2), and then use hyprlock, there is no output only a black screen (on the active display), I can type the password to unlock though.

It may be a regression, I am not sure so I checked no. Issue#684

I don't know if these would help, but these are screenshots taken using hyprshot of the active (DP-1) display. If both monitors are active, hyprshot takes screenshot of the correct hyprlock ouptut(image no.3).

Before locking: Image

After locking: Image

After locking (when both monitors are active): Image

How to reproduce

Turn off a monitor with dpms dispatcher in hyprland, then call hyprlock.

Crash reports, logs, images, videos

hyprlock.log

hyprland.log

HRQ-99 avatar Nov 23 '25 20:11 HRQ-99