View Issue Details

IDCategoryLast Update
0007119bugs2016-11-25 13:44
ReportermagnetophonAssigned To 
Reproducibilityalways 
Status feedbackResolutionopen 
PlatformlinuxOSNixOSOS Version16.09
Product Version5.4 
Fixed in Version 
Summary0007119: solo produces xruns reproducibly
DescriptionThis big template:
https://github.com/magnetophon/.dot/raw/master/audio/.config/ardour5/templates/32inLiveMonitor-template/32inLiveMonitor-template.template
runs x-run free with 2*64 buffers.
When I press solo, I get an xrun plus a glitch in the output audio.
The recorded audio is fine, kudos!
TagsNo tags attached.

Activities

timbyr

2016-11-17 11:11

developer  

Ardour-32-Tracks-Solo-128-period.trace.json.gz (1,327,718 bytes)

timbyr

2016-11-17 11:19

developer   ~0018979

I've added a logging file in Trace Event format that may help explain what is happening in this case. You can see what happens in the Audioengine thread when you solo a single track at about 5163ms

paul

2016-11-25 11:59

administrator   ~0019040

This may be dramatically improved at or after git commit c5eda4cfe1e, so nightly builds available on Nov 26th and later.

timbyr

2016-11-25 13:43

developer  

Ardour-0d9030cee1-solo-16-tracks-in-group.trace.json.gz (1,241,724 bytes)

timbyr

2016-11-25 13:43

developer  

Ardour-91ee1b6186-solo-16-tracks-in-group.trace.json.gz (1,084,671 bytes)

timbyr

2016-11-25 13:44

developer   ~0019041

I have attached two log files in the Trace Event format for two builds (before/after Solo related fixes) under the same conditions with same Session (64 Audio tracks)

The log shows the time taken to enable and disable Solo for one track in a group of 16 tracks. The same logging categories are enabled in both logs with roughly the same overhead. There is a lot more information that could be added to these logs but I've tried to keep the overhead to a minimum.

The log output for a build of master@91ee1b6186 (which is before any recent Solo related fixes) shows Session::Process taking ~36ms to enable/disable solo and the other build of master@0d9030cee1 (with the Solo fixes) takes ~4ms during Session::Process when processing the solo change.

So definitely seems like a marked improvement based on my testing.

Issue History

Date Modified Username Field Change
2016-11-16 18:22 magnetophon New Issue
2016-11-17 11:11 timbyr File Added: Ardour-32-Tracks-Solo-128-period.trace.json.gz
2016-11-17 11:19 timbyr Note Added: 0018979
2016-11-25 11:59 paul Note Added: 0019040
2016-11-25 12:00 timbyr Status new => feedback
2016-11-25 13:43 timbyr File Added: Ardour-0d9030cee1-solo-16-tracks-in-group.trace.json.gz
2016-11-25 13:43 timbyr File Added: Ardour-91ee1b6186-solo-16-tracks-in-group.trace.json.gz
2016-11-25 13:44 timbyr Note Added: 0019041