Ardour 6.9.0 crashes on Ubuntu 22.04 LTS

Hello everybody.
I have a problem, of course. I updated the OS to Ubuntu 22.04 LTS (I had the 20.04 LTS) and reinstalled Ardour 6.9.0.
On the old OS it used to work fine.
Before to install Ardour I installed QJackctl, Pipewire, KXStudio repos, I’ve set Pipewire to manage the audio.
When I start Ardour I set Jack as audio system and my external board, Behringer, for both in and out device. Jack loads all the plugins, Ardour opens and after a couple seconds closes.
Then I have a system error.
If I select ALSA as audio system I have no problems, Ardour works fine.
The problem is, since I haven’t use it for quite some time, I don’t remember if on the older system I used ALSA or Jack as audio system.
I cannot even try to generate a debug since Ardour closes almost istantly.
Any hint about what might be the problem? Or if any of you had the same issue?
Thank you

I’ve set Pipewire to manage the audio.

What versions? There were some errors introduced in the pipewire 0.3.55 and wireplumber 0.4.11 which caused Ardour to crash in the case of pipewire, and prevented Ardour ALSA backend (or jackd) from gaining access to the audio device in the case of the wireplumber problem.

Thank you both.
These are the infos on Pipewire. It’s italian but you know the values.

leo@leo-Lenovo-V110-15ISK:~$ pactl info
Stringa server: /run/user/1000/pulse/native
Versione protocollo libreria: 35
Versione protocollo server: 35
Locale: sì
Indice client: 382
Dimensione tile: 65472
Nome utente: leo
Nome host: leo-Lenovo-V110-15ISK
Nome server: PulseAudio (on PipeWire 0.3.55)
Versione server: 15.0.0
Specifica di campionamento predefinita: float32le ch 2 48000 Hz
Mappa del canale predefinita: front-left,front-right
Sink predefinito: alsa_output.pci-0000_00_1f.3.analog-stereo
Sorgente predefinita: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie: 4019:af17
leo@leo-Lenovo-V110-15ISK:~$ 

With pipewire 0.3.55 you will need to use the ALSA backend, or use jackd instead of the pw-jack implementation.

I had this same issue with pipewire 3.55-1 and had to downgrade to 3.53, it works fine. I believe that ubuntu is still on 3.48 so, if you added a ppa to get a newer version of pipewire then maybe go get the older version from the ubuntu repo? I can verify 3.53 and below work fine, also I wasn’t able to get jackd to work with pipewire installed. When using Ardour it would only give me the jack option, which was pipewires jack. Thankfully I had the foresight to do a timeshift so I was able to go back to 3.53 I would suggest that with every wireplumber/pipewire update for a while as it is under heavy development.

Yes, I suspect you are having the same issue. I dont know where you got your pipewire version, If by chance you got pipewire from the git master, they think this issue is fixed so if it isnt open an issue there too. I was waiting for an update to my PPA version to verify if it was fixed or not.

Thanks for the hints, guys.
I installled Pipewire from the repository, I followed a guide by a guy who wrote it both for audio and video.

sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream -y
sudo add-apt-repository ppa:pipewire-debian/wireplumber-upstream -y

And this

sudo apt update; sudo apt full-upgrade -y; sudo apt install -y pipewire-audio-client-libraries libspa-0.2-bluetooth libspa-0.2-jack wireplumber pipewire-media-session-; sudo cp /usr/share/doc/pipewire/examples/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/; sudo cp /usr/share/doc/pipewire/examples/ld.so.conf.d/pipewire-jack-*.conf /etc/ld.so.conf.d/; sudo ldconfig; sudo apt remove -y pulseaudio-module-bluetooth; systemctl --user --now enable wireplumber.service; sudo addgroup $USER audio

If I chose ALSA in fact Ardour works. I don’t remember if on the previous OS I used to chose Jack or ALSA.
I installed QJackctl for Hydrogen and I didn’t know as well that on the last version I don’t need to start Jack before using Hydrogen because Pipewire does manage it.
Bowman, how can I downgrade to 3.53 version? Do I have to remove it completely and reinstall? Actually if Ardour works fine with ALSA it’s ok, but I prefer not having issues that can cause problems.

There are separate packages for pipewire JACK support, but you can’t have both pipewire JACK and original JACK installed together, at least not easily.
On my system I currently do not have pipewire-jack-audio-connection-kit (as it is called in Fedora) installed, but I do have jack-audio-connection-kit installed, which installs what is usually referred to as jackd v2 (which is actually v1.9.20).

Chris I have QJackCtl. I installed it from the Ubuntu software center

I forgot to point out that I don’t start QjackCtl before to use either Hydrogen or Ardour.

Well if alsa works maybe stick with it until the fix comes down the pipeline?. I think the best bet for a downgrade is disabling that repository and jist finding another trustable one with 3.53. There is a downgrade process but to be honest it seemed quite a process.

QJackControl is an application to make Jack connections, it is not related to the version of the JACK server implementation, and is not needed to use JACK, it just provides a convenience in some situations.

It isn’t quite as easy as “dnf downgrade pipewire” like it is on Fedora, but not much harder.
apt-cache showpkg pipewire
Should show you the versions available, then pick whatever version is right before 0.3.55 and install with apt-get install pipewire=version you want

Thank thats good info. I wasnt aware it was that easy. The tutorial i looked at made it seem a lot more involved.

Thanks Chris.
Referring to the listing, my Pipewire version should be 0.3.56 even if in some points it says 0.3.48

leo@leo-Lenovo-V110-15ISK:~$ apt-cache showpkg pipewire
Package: pipewire
Versions: 
0.3.56-1~ubuntu22.04 (/var/lib/apt/lists/ppa.launchpadcontent.net_pipewire-debian_pipewire-upstream_ubuntu_dists_jammy_main_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/ppa.launchpadcontent.net_pipewire-debian_pipewire-upstream_ubuntu_dists_jammy_main_binary-amd64_Packages
                  MD5: df002cc10e79222f0911353e3dfa9350
 Description Language: 
                 File: /var/lib/apt/lists/ppa.launchpadcontent.net_pipewire-debian_pipewire-upstream_ubuntu_dists_jammy_main_binary-i386_Packages
                  MD5: df002cc10e79222f0911353e3dfa9350
 Description Language: en
                 File: /var/lib/apt/lists/ppa.launchpadcontent.net_pipewire-debian_pipewire-upstream_ubuntu_dists_jammy_main_i18n_Translation-en
                  MD5: df002cc10e79222f0911353e3dfa9350

0.3.48-1ubuntu1 (/var/lib/apt/lists/it.archive.ubuntu.com_ubuntu_dists_jammy_main_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/it.archive.ubuntu.com_ubuntu_dists_jammy_main_binary-amd64_Packages
                  MD5: 7683ccf51ec444edb89ba51bf96fc96c
 Description Language: 
                 File: /var/lib/apt/lists/it.archive.ubuntu.com_ubuntu_dists_jammy_main_binary-i386_Packages
                  MD5: 7683ccf51ec444edb89ba51bf96fc96c
 Description Language: it
                 File: /var/lib/apt/lists/it.archive.ubuntu.com_ubuntu_dists_jammy_main_i18n_Translation-it
                  MD5: 7683ccf51ec444edb89ba51bf96fc96c
 Description Language: en
                 File: /var/lib/apt/lists/it.archive.ubuntu.com_ubuntu_dists_jammy_main_i18n_Translation-en
                  MD5: 7683ccf51ec444edb89ba51bf96fc96c


Reverse Depends: 
  gstreamer1.0-pipewire,pipewire 0.3.56-1~ubuntu22.04
  wireplumber,pipewire 0.3.45
  pipewire-bin:i386,pipewire 0.3.5
  pipewire-bin:i386,pipewire 0.3.5
  pipewire-audio-client-libraries:i386,pipewire 0.3.5
  pipewire-audio-client-libraries:i386,pipewire 0.3.5
  pipewire:i386,pipewire 0.3.56-1~ubuntu22.04
  pipewire:i386,pipewire 0.3.56-1~ubuntu22.04
  libspa-0.2-modules:i386,pipewire 0.3.5
  libspa-0.2-modules:i386,pipewire 0.3.5
  libpipewire-module-x11-bell:i386,pipewire 0.3.5
  libpipewire-module-x11-bell:i386,pipewire 0.3.5
  libpipewire-0.3-modules:i386,pipewire 0.3.5
  libpipewire-0.3-modules:i386,pipewire 0.3.5
  pipewire-tests,pipewire 0.3.56-1~ubuntu22.04
  pipewire-pulse,pipewire 0.3.56-1~ubuntu22.04
  pipewire-media-session,pipewire 0.3.39
  pipewire-locales,pipewire
  pipewire-locales,pipewire
  pipewire-bin,pipewire 0.3.5
  pipewire-bin,pipewire 0.3.5
  pipewire-audio-client-libraries,pipewire 0.3.5
  pipewire-audio-client-libraries,pipewire 0.3.5
  pipewire-audio-client-libraries,pipewire 0.3.56-1~ubuntu22.04
  libspa-0.2-modules,pipewire 0.3.5
  libspa-0.2-modules,pipewire 0.3.5
  libpipewire-module-x11-bell,pipewire 0.3.5
  libpipewire-module-x11-bell,pipewire 0.3.5
  libpipewire-0.3-modules,pipewire 0.3.5
  libpipewire-0.3-modules,pipewire 0.3.5
  libpipewire-0.3-0,pipewire 0.3.56-1~ubuntu22.04
  wireplumber,pipewire 0.3.45
  xdg-desktop-portal-tests,pipewire 0.3.10
  gnome-remote-desktop,pipewire 0.3.0
  pipewire-audio-client-libraries:i386,pipewire 0.3.5
  pipewire-audio-client-libraries:i386,pipewire 0.3.5
  xdg-desktop-portal-wlr,pipewire
  xdg-desktop-portal-tests,pipewire 0.3.10
  pipewire-media-session,pipewire 0.3.39
  pipewire-tests,pipewire 0.3.48-1ubuntu1
  pipewire-pulse,pipewire 0.3.48-1ubuntu1
  pipewire-audio-client-libraries,pipewire 0.3.5
  pipewire-audio-client-libraries,pipewire 0.3.5
  pipewire-audio-client-libraries,pipewire 0.3.48-1ubuntu1
  pipewire-bin:i386,pipewire 0.3.5
  pipewire-bin:i386,pipewire 0.3.5
  pipewire:i386,pipewire 0.3.48-1ubuntu1
  pipewire:i386,pipewire 0.3.48-1ubuntu1
  libspa-0.2-modules:i386,pipewire 0.3.5
  libspa-0.2-modules:i386,pipewire 0.3.5
  libpipewire-0.3-modules:i386,pipewire 0.3.5
  libpipewire-0.3-modules:i386,pipewire 0.3.5
  gstreamer1.0-pipewire,pipewire 0.3.48-1ubuntu1
  pipewire-bin,pipewire 0.3.5
  pipewire-bin,pipewire 0.3.5
  libspa-0.2-modules,pipewire 0.3.5
  libspa-0.2-modules,pipewire 0.3.5
  libpipewire-0.3-modules,pipewire 0.3.5
  libpipewire-0.3-modules,pipewire 0.3.5
  libpipewire-0.3-0,pipewire 0.3.48-1ubuntu1
  gnome-remote-desktop,pipewire 0.3.0
Dependencies: 
0.3.56-1~ubuntu22.04 - libpipewire-0.3-modules (5 0.3.56-1~ubuntu22.04) pipewire-bin (5 0.3.56-1~ubuntu22.04) init-system-helpers (2 1.52) pipewire-locales (0 (null)) pipewire:i386 (35 0.3.56-1~ubuntu22.04) pipewire:i386 (38 0.3.56-1~ubuntu22.04) 
0.3.48-1ubuntu1 - libpipewire-0.3-modules (5 0.3.48-1ubuntu1) pipewire-bin (5 0.3.48-1ubuntu1) init-system-helpers (2 1.52) pipewire:i386 (35 0.3.48-1ubuntu1) pipewire:i386 (38 0.3.48-1ubuntu1) 
Provides: 
0.3.56-1~ubuntu22.04 - 
0.3.48-1ubuntu1 - 
Reverse Provides: 
leo@leo-Lenovo-V110-15ISK:~$ 

So did you try changing to 0.3.48 to see if that version does not have the problem?

While pipewire isn’t ready for prime-time (I would not yet use it for a live performance or critical infrastructure), the only way that it will get there is thanks all your the testing, patience and bug-reports!

Be it distro-specific advice or direct upstream reports, keep it coming!

i had this same problem on ubuntu - ardour wouldn’t load and neither would carla-rack (carla by itself would though). the ppa released a bug-fix update for pipewire a few days ago, so just update and make sure the new version is running.

Chris, I haven’t tried yet because I reinstalled the OS. The problem now is which Ardour to install: the one from the site (I’m a subscriber), the one in the Ubuntu Software (6.9), the one from the repository which I don’t know what version is or the one, if there’s any, from Flatpak?
A bit confusing. Also. Having understood that Hydrogen doesn’t need Jack anymore, I can probably avoid installing QJackCtl

Robin, I only use Ardour to record by myself, no live nor anything like that.