Hyprland: Hyprland crashes when turning on one monitor (two monitor setup)

Hyprland Version

System/Version info
Hyprland, built from branch  at commit 86be75dd97b5633b8c0aa6bdcb3346fa871a8480  ().
Date: 2024-02-20
Tag: 

flags: (if any)


System Information:
System name: Linux
Node name: gza
Release: 6.1.78
Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri Feb 16 18:06:32 UTC 2024


GPU information: 
24:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] [10de:1e84] (rev a1) (prog-if 00 [VGA controller])
2f:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] [1002:73ff] (rev c1) (prog-if 00 [VGA controller])


os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.20240218.b98a4e1"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"


plugins:

Bug or Regression?

Bug

Description

I have a two monitor setup monitor=DP-2,preferred,0x0,1 monitor=DP-2,addreserved,0,0,700,700 monitor=DP-3,preferred,1800x-1080,1

If I turn off DP-2 and turn it back on hyprland will always crash. It wont happen if I turn DP-3 on and off tho.

How to reproduce

Have two monitors turned on, turn one of the monitors off and turn it back on.

Crash reports, logs, images, videos

hyprlandCrashReport5179.txt

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Reactions: 6
  • Comments: 21 (5 by maintainers)

Commits related to this issue

Most upvoted comments

patch.txt does this do the trick?

That did the trick! Thanks

patch.txt does this do the trick?

your display driver?

[backend/drm/atomic.c:250] Failed to acquire FB for plane 98

sounds like a kernel error

@vaxerski I have now gone through the commits from 0.35.0 everything works correctly all until this commit https://github.com/hyprwm/Hyprland/commit/d62e7a5125c551fe8a94e076e64d42b702d923b1 I went through the changes in this commit and found that if I comment out: https://github.com/hyprwm/Hyprland/compare/main...goggi:Hyprland:damageWindow-test?diff=unified&w=#diff-dbcd1ce1e0b916536f17c999473ad9e22c014646ddb2df15c45d726884a3481cR1267 the freeze issue stops