[BUG] Upgrading extra/sdbus-cpp or libsdbus-c++ from 2.2.1 to 2.3.0 breaks hypridle
Describe the bug
Reference Issue: https://github.com/hyprwm/hypridle/issues/200
Confirmed fix is to downgrade sdbus-cpp to 2.2.1 for now until hypridle maintainers release an update where they rebuild with the newer sdbus-cpp 2.3.0
Summary
After a routine system upgrade, hypridle crashes immediately on every launch
with SIGSEGV. The screen no longer locks, dims, or suspends on idle, and the
ML4W waybar hypridle module stays red. Clicking the waybar
module to toggle it does nothing because the daemon dies the instant it starts.
This is not an ML4W config bug. Root cause is an sdbus-cpp ABI break:
sdbus-cpp was upgraded 2.2.1 -> 2.3.0 while hypridle was not rebuilt against
it.
Filing here because every ML4W + Arch user will hit this after an update, and a known-issue note / workaround in the docs would save people a lot of debugging.
Steps to reproduce
Issue is evident on startup
Expected behavior
hypridle works
Screenshots
No response
Distribution
Arch Linux
If Other, specify
No response
Additional context
No response
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
UPDATE
Confirmed safe to downgrade. Here's the key check: all three sdbus-cpp consumers (hypridle, hyprlock, xdg-desktop-portal-hyprland) were last built on 2026-04-30, against sdbus-cpp 2.2.x. The 2.3.0 bump was 2026-05-18, and none were rebuilt after it.
So downgrading to 2.2.1 doesn't break any of them, it actually realigns all three with what they were compiled against.
HOW TO FIX (Band-Aid for now)
-
Downgrade sdbus-cpp to 2.2.1 (from the Arch Linux Archive): ! sudo pacman -U https://archive.archlinux.org/packages/s/sdbus-cpp/sdbus-cpp-2.2.1-1-x86_64.pkg.tar.zst
-
Hold it so the next yay -Syu doesn't silently re-break it. Append
sdbus-cppto your existing IgnorePkg line in/etc/pacman.conf -
Restart the affected daemons (or restart your PC) so they pick up the downgraded lib: ! pkill -x hypridle; systemctl --user restart xdg-desktop-portal-hyprland.service 2>/dev/null; setsid -f hypridle >/dev/null 2>&1; sleep 3; pgrep -ax hypridle && ~/.config/hypr/scripts/hypridle.sh status
Two things to track for later:
- When Arch ships a rebuilt hypridle (a pkgrel bump lus-cpp gets a soname/provides bump): remove sdbus-cpp from IgnorePkg and yay -Syu normally.
@mrjxtr - Given that the dependencies issues have been resolved in the Arch repo, should we consider this issue solved and can be closed?
Yes. Than we can close it.