jack2 icon indicating copy to clipboard operation
jack2 copied to clipboard

jack2 xruns during or after freewheeling

Open x42 opened this issue 4 years ago • 0 comments

Describe the bug

When switching back from freewheeling, jack2 reports one or more xruns. Note: This does not happen with jack1.

Environment

  • JACK Version: jackdmp version 1.9.17 tmpdir /dev/shm protocol
  • Operating System: debian GNU/Linux (bullseye)
  • Installation: deb from debian

Steps To Reproduce

Export an Ardour session, with 6.6-547-g98721b1267 or later using jack2.

Further info: Ardour now reports xruns during realtime export. There is an currently assert (realtime_export ()); since xruns cannot happen when freewheeling. This is apparently triggered when using jack2 at the end of export (when switching back from freewheeling). Also note that it's not just one. A user reported 117 dropouts (using an optimized build that doesn't assert): https://discourse.ardour.org/t/there-have-been-dropouts-during-realtime-export/105930

Expected vs. actual behavior

jack2 should not call the xrun_callback while freewheeling or while entering/leaving freewheel mode.

x42 avatar May 18 '21 01:05 x42