Hyprland: Hyprland freezes up laptop if I switch to another tty and back to hyprlands tty
Hyprland Version
System/Version info
Hyprland, built from branch main at commit 54a8329936d31537411c7a1a4d1815820b98316a dirty (layout: Fixed ghost window when opened while fullscreen on a different workspace (4822)).
Date: Sun Feb 25 14:09:41 2024
Tag: v0.35.0-96-g54a83299
flags: (if any)
System Information:
System name: Linux
Node name: justine-laptop
Release: 6.7.6-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 23 Feb 2024 16:31:48 +0000
GPU information:
07:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon RX Vega 6 (Ryzen 4000/5000 Mobile Series)] [1002:1636] (rev d1) (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:
Bug or Regression?
Bug
Description
I though the issue was Hyprlock as I was testing it but discovered without Hyprlock I can reproduce the total freeze i.e no keyboards or input devices work and the display no longer updates.
To induce it say I start Hyprland on tty2 and then switch to tty1 and back it freezes. The only way to recover is to power off the laptop.
I tried the same on river and sway and it works fine for them.
How to reproduce
Start Hyprland on tty2 then switch to say tty1 and back and it freezes.
Crash reports, logs, images, videos
No response
About this issue
- Original URL
- State: closed
- Created 4 months ago
- Reactions: 2
- Comments: 21 (11 by maintainers)
Commits related to this issue
- events: apply monitor state on sessionActive ref #4839 — committed to hyprwm/Hyprland by vaxerski 4 months ago
- events: apply monitor state on sessionActive ref #4839 — committed to lisuke/Hyprland by vaxerski 4 months ago
I can commit the patch no prob
can you check latest I think a dupe got fixed
Happens when defined custom resolution and refresh rate. Freeze:
monitor = HDMI-A-1, 1920x1080@75, 0x0, 1monitor = HDMI-A-1, 1920x1080@75, auto, 1monitor = HDMI-A-1, 1920x1080@75.002998, 0x0, 1Work as expected (no freeze):monitor = HDMI-A-1, preferred, auto, 1monitor = HDMI-A-1, highrr, 0x0, 1Log has nothing useful as it stops after
[LOG] Session got activated!when freezed. Stable version works as expected with any config variation from above.Bisect result: d62e7a5125c551fe8a94e076e64d42b702d923b1 is the first bad commit
me neither, but I’ll leave the examination to you. Lmk if you find the culprit