Open AndreasBackx opened 4 months ago
I have a similar problem.
after removing the external monitor from my laptop, the first time I call
hyprctl keyword monitor "eDP-1, enable"
Hyprland shuts down and I'm back to the login screen
[LOG] Instance Signature: cba1ade848feac44b2eda677503900639581c3f4_1715843843_591556996
[LOG] Runtime directory: /run/user/1000/hypr/cba1ade848feac44b2eda677503900639581c3f4_1715843843_591556996
[LOG] Hyprland PID: 165344
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Release: 6.8.9-arch1-2
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000
[LOG] GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-P [Iris Xe Graphics] [8086:a7a0] (rev 04) (prog-if 00 [VGA controller])
[LOG] 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
Same here, also happens on wake-up from suspend.
Crash-dump from systemd-journal, not sure it helps:
Downgrading to 39.1-5 with
pacman -U https://archive.archlinux.org/packages/h/hyprland/hyprland-0.39.1-5-x86_64.pkg.tar.zst
Does remove the problem if someone needs a quick patch to be able to work on their machine.
@vaxerski I will do so, though it might take a while to reproduce as it doesn't happen consistently and this particular machine is used less frequently as well (2 days a week). Will post here when I have some debug log though.
The problem seems to be fixed with the latest version 0.41.0
@AndreasBackx ?
Has this been solved. I have the same problem. When waking from suspend, if I have external monitors connected, hyprland crashes.
make sure you're on latest 0.41.2 and if it's still there post a debug stacktrace https://wiki.hyprland.org/Crashes-and-Bugs/#obtaining-a-debug-stacktrace
I'm afraid I don't know how to build hyprland in debug. I am running nixos and am using this flake input:
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
so running hyprctl version
doesn't give me a version number, but this:
Hyprland, built from branch at commit e4d09aa3a9de9a9e71c10bf4b6800585b3db9a4c ().
Date: 2024-06-25
Tag: , commits: e4d09aa3a9de9a9e71c10bf4b6800585b3db9a4c
The behaviour I get is that hyprland crashes when resuming from sleep with external monitors connected, or simply plugging in external monitors.
I am running hyprland on nixos on a Framework 13 11th Gen i5 with Intel graphics.
@vaxerski hey, sorry. I've been using Hyprland compiled with debug and have had some crashes with it. Though I hadn't reported any yet because I haven't been able to set the time aside to figure out coredumpctl
. I'm using Fedora which should have it enabled by default. Will report back once I have, though it's been especially busy. My apologies.
I'm afraid I don't know how to build hyprland in debug.
@ehula https://wiki.hyprland.org/Nix/Contributing-and-Debugging/#build-in-debug-mode
Hyprland Version
System/Version info
```sh Hyprland, built from branch at commit cba1ade848feac44b2eda677503900639581c3f4 (props: bump version to 0.40.0). Date: Sat May 4 15:42:32 2024 Tag: v0.40.0, commits: 4606 flags: (if any) System Information: System name: Linux Node name: andreasbackx-fedora-MJ0HJDFH Release: 6.8.9-300.fc40.x86_64 Version: #1 SMP PREEMPT_DYNAMIC Thu May 2 18:59:06 UTC 2024 GPU information: 61:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3080 Lite Hash Rate] [10de:2216] (rev a1) (prog-if 00 [VGA controller]) os-release: NAME="Fedora Linux" VERSION="40 (Workstation Edition)" ID=fedora VERSION_ID=40 VERSION_CODENAME="" PLATFORM_ID="platform:f40" PRETTY_NAME="Fedora Linux 40 (Workstation Edition)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:40" DEFAULT_HOSTNAME="fedora" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/" SUPPORT_URL="https://ask.fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=40 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=40 SUPPORT_END=2025-05-13 VARIANT="Workstation Edition" VARIANT_ID=workstation plugins: ```Bug or Regression?
Bug
Description
Using the following hypridle setup, my monitors were first turned off and then
swaylock
(lock
there is a wrapper script) was called afterwards:When I came back to my desk and moved my mouse, the monitors turned back on and while I was typing my password (or right after I pressed enter, unsure) Hyprland crashed.
How to reproduce
Likely by turning DPMS back on, and potentially combining it with a lock, though I don't think the lock is necesary. This combined with Nvidia and multiple monitors.
Crash reports, logs, images, videos
Crash:
You can find my dotfiles at https://github.com/AndreasBackx/dotfiles/tree/main/private_dot_config/hypr