Skip to content

waybar stops talking to hyprland ipc after a display is plugged in/out #3975

Description

@gottaeat
$ Hyprland --version
Hyprland 0.47.2 built from branch  at commit 882f7ad7d2bbfc7440d0ccaef93b1cdd78e8e3ff  (version: bump to 0.47.2).
Date: Sun Feb 2 00:47:17 2025
Tag: v0.47.2, commits: 5767
built against:
 aquamarine 0.7.2
 hyprlang 0.6.0
 hyprutils 0.5.0
 hyprcursor 0.1.11
 hyprgraphics 0.1.2
$ waybar --version
Waybar v0.12.0

config.jsonc:

{
    "layer": "top",
    "position": "top",
    "height": "",
    "width": "",
    "spacing": 4,
    "modules-left": [
        "hyprland/workspaces"
    ],
    "modules-right": [
        "hyprland/language",
        "tray"
    ],
    "hyprland/language": {
        "format": "{short}"
    },
    "tray": {
        "icon-size": 21,
        "spacing": 1
    }
}

hyprland display config:

monitor = DP-1, 3840x2160@60, 0x0, 1.5, bitdepth, 8
monitor = HDMI-A-1, 1920x1080@60, 2560x0, 1, bitdepth, 8, vrr, 0

full process log:

[2025-03-08 15:09:48.443] [info] Using configuration file /home/user/.config/waybar/config.jsonc
[2025-03-08 15:09:48.445] [info] Discovered appearance 'dark'
[2025-03-08 15:09:48.445] [info] Using CSS file /home/user/.config/waybar/style.css
[2025-03-08 15:09:48.447] [info] Hyprland IPC starting
[2025-03-08 15:09:48.447] [info] Loading persistent workspaces from Hyprland workspace rules
[2025-03-08 15:09:48.476] [info] Loading persistent workspaces from Hyprland workspace rules
[2025-03-08 15:09:48.513] [info] Bar configured (width: 2560, height: 24) for output: DP-1
[2025-03-08 15:09:48.513] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-1
[2025-03-08 15:09:48.519] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-1

# - - HDMI-A-1 DISCONNECTED HERE - - #

# - - HDMI-A-1 PLUGGED BACK IN - - #

** (waybar:32723): CRITICAL **: 15:10:06.567: static void Glib::DispatchNotifier::unreference_instance(Glib::DispatchNotifier*, const Glib::Dispatcher*): assertion 'instance == notifier' failed
[2025-03-08 15:10:06.567] [info] Hyprland IPC stopping...

** (waybar:32724): CRITICAL **: 15:10:06.568: static void Glib::DispatchNotifier::unreference_instance(Glib::DispatchNotifier*, const Glib::Dispatcher*): assertion 'instance == notifier' failed
[2025-03-08 15:10:06.568] [info] Hyprland IPC stopping...

** (waybar:32725): CRITICAL **: 15:10:06.569: static void Glib::DispatchNotifier::unreference_instance(Glib::DispatchNotifier*, const Glib::Dispatcher*): assertion 'instance == notifier' failed
[2025-03-08 15:10:06.569] [info] Hyprland IPC stopping...

** (waybar:32726): CRITICAL **: 15:10:06.569: static void Glib::DispatchNotifier::unreference_instance(Glib::DispatchNotifier*, const Glib::Dispatcher*): assertion 'instance == notifier' failed
[2025-03-08 15:10:06.570] [info] Hyprland IPC stopping...

** (waybar:32733): CRITICAL **: 15:10:06.571: static void Glib::DispatchNotifier::unreference_instance(Glib::DispatchNotifier*, const Glib::Dispatcher*): assertion 'instance == notifier' failed
[2025-03-08 15:10:06.571] [info] Hyprland IPC stopping...

** (waybar:32734): CRITICAL **: 15:10:06.571: static void Glib::DispatchNotifier::unreference_instance(Glib::DispatchNotifier*, const Glib::Dispatcher*): assertion 'instance == notifier' failed
[2025-03-08 15:10:06.571] [info] Hyprland IPC stopping...

** (waybar:32735): CRITICAL **: 15:10:06.572: static void Glib::DispatchNotifier::unreference_instance(Glib::DispatchNotifier*, const Glib::Dispatcher*): assertion 'instance == notifier' failed
[2025-03-08 15:10:06.572] [info] Hyprland IPC stopping...

** (waybar:32736): CRITICAL **: 15:10:06.573: static void Glib::DispatchNotifier::unreference_instance(Glib::DispatchNotifier*, const Glib::Dispatcher*): assertion 'instance == notifier' failed
[2025-03-08 15:10:06.573] [info] Hyprland IPC stopping...

** (waybar:32737): CRITICAL **: 15:10:06.574: static void Glib::DispatchNotifier::unreference_instance(Glib::DispatchNotifier*, const Glib::Dispatcher*): assertion 'instance == notifier' failed
[2025-03-08 15:10:06.574] [info] Hyprland IPC stopping...
[2025-03-08 15:10:06.575] [info] Bar removed from output: HDMI-A-1
[2025-03-08 15:10:07.179] [info] Loading persistent workspaces from Hyprland workspace rules
[2025-03-08 15:10:07.202] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-1
[2025-03-08 15:10:07.205] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-1

after the last logline none of the hyprland/* modules work in any of the outputs.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions