Bug 1227408

Summary: Ardour: unable to export in fast mode
Product: [openSUSE] openSUSE Tumbleweed Reporter: Ferdinando Vivacqua <ferdinando.vivacqua>
Component: SoundAssignee: Takashi Iwai <tiwai>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: alarrosa, edogawa, ferdinando.vivacqua
Version: CurrentFlags: alarrosa: needinfo?
alarrosa: needinfo? (ferdinando.vivacqua)
Target Milestone: ---   
Hardware: Other   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ferdinando Vivacqua 2024-07-04 16:05:59 UTC
Using Ardour, I'm not able to export any session anymore in any format, because the output is very distorted, even with all plugin disabled. It works properly in the real-time mode. Probably related to recent update of pipewire stack
Comment 1 Edgar Aichinger 2024-07-05 09:23:19 UTC
I can confirm the bug, I investigated a bit more and can add a few observations/comments:

It only happens when exporting ranges or whole sessions, exporting regions via context menu works without issue.
It only happens with pipewire-jack, using Ardour's jack backend. Switching to ALSA backend, also after replacing pipewire-jack by jack/libjack v1.9.22 the exported file sounds fine. 

The pipewire packages I was using are from MM:Libs (I assume the ones in OSS repo will show the same).

To me it seems this is an upstream pipewire bug.
Comment 2 Takashi Iwai 2024-07-05 11:12:07 UTC
Let's add the package maintainer to Cc.
Comment 3 Takashi Iwai 2024-07-09 13:00:37 UTC
Which pipewire package / versions do show the problem?
Comment 4 Ferdinando Vivacqua 2024-07-09 17:12:12 UTC
(In reply to Takashi Iwai from comment #3)
> Which pipewire package / versions do show the problem?

pipewire 1.2.0-1.1
Comment 5 Antonio Larrosa 2024-07-19 09:19:22 UTC
The changelog for pipewire 1.2.1 mentions a fix for a regression in ardour export. I've submitted it to Tumbleweed a couple of days ago. Ferdinando, can you test if upgrading to 1.2.1 fixes the issue for you?
Comment 6 Ferdinando Vivacqua 2024-07-19 18:07:32 UTC
(In reply to Antonio Larrosa from comment #5)
> The changelog for pipewire 1.2.1 mentions a fix for a regression in ardour
> export. I've submitted it to Tumbleweed a couple of days ago. Ferdinando,
> can you test if upgrading to 1.2.1 fixes the issue for you?

Hi Antonio! At the moment in the 1.2.1 version is still available to update: I will let you know!
Thank you!
Comment 7 Ferdinando Vivacqua 2024-07-19 19:14:11 UTC
(In reply to Ferdinando Vivacqua from comment #6)
> (In reply to Antonio Larrosa from comment #5)
> > The changelog for pipewire 1.2.1 mentions a fix for a regression in ardour
> > export. I've submitted it to Tumbleweed a couple of days ago. Ferdinando,
> > can you test if upgrading to 1.2.1 fixes the issue for you?
> 
> Hi Antonio! At the moment in the 1.2.1 version is still available to update:
> I will let you know!
> Thank you!

Sorry, I mean the 1.2.1 version is not available yet.
Comment 8 Antonio Larrosa 2024-07-19 19:24:29 UTC
Ah, you're right, sorry. I saw it was approved two days ago, but there hasn't been any new TW release yet since then. It will be available in the next release. Let's hope that happens soon.