jack2 icon indicating copy to clipboard operation
jack2 copied to clipboard

Jackdbus wakes up every 200ms

Open StefanBruens opened this issue 2 years ago • 0 comments

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.

https://github.com/jackaudio/jack2/blob/886b35c3bda019a2e83102c0711bbaa475efde7e/dbus/jackdbus.c#L950

The only actual need for the timed wakeup is a pending save.

StefanBruens avatar Dec 13 '23 04:12 StefanBruens