You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even when jackdbus is just listening for DBus events it continuously wakes up every 200 ms.
Environment
JACK Version: 1.9.22
Operating System: Linux (openSUSE Tumbleweed 20231212)
Installation: Distribution packages
Steps To Reproduce
Start jackbus
Attach strace
Expected vs. actual behavior
When jackdbus is idle, it should not wake up.
Waking up, even when there are no actual events pending, shortens runtime on battery. This is especially important as jackdbus is often just running in the background.
Most processing happens as a result of an incoming
DBus event. The only case when a timed processing
is needed is due to an pending save.
Instead of implementing a full event loop just run the
timed loop while a save is pending, and use an
infinite timeout otherwise.
Fixes: jackaudio#962
Even when jackdbus is just listening for DBus events it continuously wakes up every 200 ms.
Environment
Steps To Reproduce
Start jackbus
Attach strace
Expected vs. actual behavior
When jackdbus is idle, it should not wake up.
Waking up, even when there are no actual events pending, shortens runtime on battery. This is especially important as jackdbus is often just running in the background.
jack2/dbus/jackdbus.c
Line 950 in 886b35c
The only actual need for the timed wakeup is a pending save.
The text was updated successfully, but these errors were encountered: