Skip to content

Crash when turning off or switching monitor with a KVM #861

@fgungor

Description

@fgungor

Regression?

No

Hyprlock Info and Version

Version 0.9.1

Compositor Info and Version

System/Version info
Date: Sat Jul 19 21:37:06 2025
Tag: v0.50.1, commits: 6291
built against:
 aquamarine 0.9.2
 hyprlang 0.6.3
 hyprutils 0.8.1
 hyprcursor 0.1.12
 hyprgraphics 0.1.5


no flags were set


System Information:
System name: Linux
Node name: molly
Release: 6.16.3-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Sat, 23 Aug 2025 15:32:49 +0000


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD104 [GeForce RTX 4070] [10de:2786] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  580.76.05  Thu Aug  7 20:32:41 UTC 2025


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

Description

If monitor is switched to a different machine when hyprlock is active it will crash. Upon switching back a message is displayed describing how to restart hyprlock.

How to reproduce

  1. Lock the screen in Hyprland

  2. Either

    • Turn off the monitor and turn it back on -or-
    • While using a KVM, switch the monitor between the machine running hyprlock and another one.

Crash reports, logs, images, videos

If monitor is switched to a different machine when hyprlock is active it will crash. Upon switching back a message is displayed describing how to restart hyprlock.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions