View Issue Details

IDProjectCategoryView StatusLast Update
0008838ardourbugspublic2021-12-25 08:07
Reporterprchalp@gmail.com Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformArchOSLinuxOS Version(any)
Product Version6.9 
Summary0008838: Rewind to start not working with JACK
DescriptionRewind to start not working with JACK
Steps To ReproduceWith JACK time sync
pipweire is used


1) record some session
2) hit play button
3) press home key - ardour continues playing, without jump to start

> terminal shows:
 IMPOSSIBLE! OUT OF SYNC (delta = 147456) WITH JACK TRANSPORT (rlp = 0 wlp 2592)
 IMPOSSIBLE! OUT OF SYNC (delta = 147456) WITH JACK TRANSPORT (rlp = 0 wlp 2592)
 
 
I think, that there is some issue with quantums. maybe



// from github:
// libs/ardour/session_process.cc

    } else {

        DEBUG_TRACE (DEBUG::Slave, string_compose ("JACK transport: MOVING at %1\n", master_speed));

        if (_transport_fsm->rolling()) {
            /* master is rolling, and we're rolling ... with JACK we should always be perfectly in sync, so ... WTF? */
            if (delta) {
                if (remaining_latency_preroll() && worst_latency_preroll()) {
                    /* our transport position is not moving because we're doing latency alignment. Nothing in particular to do */
                    DEBUG_TRACE (DEBUG::Slave, "JACK transport: waiting for latency alignment\n");
                    transport_master_strategy.action = TransportMasterRelax;
                    return 1.0;
                } else {
                    cerr << "\n\n\n IMPOSSIBLE! OUT OF SYNC (delta = " << delta << ") WITH JACK TRANSPORT (rlp = " << remaining_latency_preroll() << " wlp " << worst_latency_preroll() << ")\n\n\n";
                }
            }
        }
    }
TagsNo tags attached.

Activities

x42

2021-12-14 16:15

administrator   ~0026273

Does it work with JACK -- not pipewire? If so this is a pipewire bug

prchalp@gmail.com

2021-12-14 16:56

reporter   ~0026274

Yes, it's and not is Ardour bug.
I don't want be unpleasant, but i think, that on pipewire's it will be ardour bug ;)

prchalp@gmail.com

2021-12-25 08:07

reporter   ~0026280

Solved in pipewire.

https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/f5908dbddfe87b90f663114007373be18f068bf1

Issue History

Date Modified Username Field Change
2021-12-14 16:05 prchalp@gmail.com New Issue
2021-12-14 16:15 x42 Note Added: 0026273
2021-12-14 16:56 prchalp@gmail.com Note Added: 0026274
2021-12-25 08:07 prchalp@gmail.com Status new => closed
2021-12-25 08:07 prchalp@gmail.com Resolution open => fixed
2021-12-25 08:07 prchalp@gmail.com Note Added: 0026280