-
-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
On Gentoo, no systemd, no elogind. 0.1.5 worked as expected with the following config, though sometimes exhibited the bug addressed in #122.
hypridle.conf:
general {
}
listener {
timeout = 61
on-timeout = hyprctl dispatch dpms off
}
listener {
timeout = 60
on-timeout = hyprlock
}
stdout:
[LOG] Registered timeout rule for 61s:
on-timeout: hyprctl dispatch dpms off
on-resume:
[LOG] Registered timeout rule for 60s:
on-timeout: hyprlock
on-resume:
[[... got iface's ...]]
[LOG] found 2 rules
[LOG] wayland done, registering dbus
[LOG] Sleep inhibition enabled
[WARN] Couldn't connect to logind service ([org.freedesktop.DBus.Error.ServiceUnknown] The name org.freedesktop.login1 was not provided by any .service files)
[LOG] Using dbus path
[WARN] Couldn't retrieve current systemd inhibits ([org.freedesktop.DBus.Error.ServiceUnknown] The name org.freedesktop.login1 was not provided by any .service files)
gdb:
Starting program: /usr/bin/hypridle
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00005555555890d3 in CHypridle::inhibitSleep (this=this@entry=0x5555555bcc60) at /var/tmp/portage/gui-apps/hypridle-0.1.6/work/hypridle-0.1.6/src/core/Hypridle.cpp:578
578 auto method = m_sDBUSState.login->createMethodCall(sdbus::InterfaceName{"org.freedesktop.login1.Manager"}, sdbus::MethodName{"Inhibit"});
Thread 1 (Thread 0x7ffff7839dc0 (LWP 19705) "hypridle"):
#0 0x00005555555890d3 in CHypridle::inhibitSleep (this=this@entry=0x5555555bcc60) at /var/tmp/portage/gui-apps/hypridle-0.1.6/work/hypridle-0.1.6/src/core/Hypridle.cpp:578
#1 0x000055555558dbd1 in CHypridle::run (this=0x5555555bcc60) at /var/tmp/portage/gui-apps/hypridle-0.1.6/work/hypridle-0.1.6/src/core/Hypridle.cpp:131
#2 0x0000555555597bbd in main (argc=1, argv=<optimized out>, envp=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/unique_ptr.h:193CptPotato, AbrarAbe and lxe
Metadata
Metadata
Assignees
Labels
No labels