Sample rate problem after closing JACK server

Hello Forum! Maybe this is not strictly related to Ardour, but I hope someone can help me.

I am on Linux Mint and I got rid of Pipewire getting back to Pulseaudio + JACK. When I boot the system, Pulseaudio works flawlessly with all the audio applications (VLC, Celluloid, etc). If I start JACK (48k) with Qjackctl everything works as expected and I can run all the JACK aware apps (Ardour, Carla, etc), I can use all the other apps through the pulseaudio jack-sink module. After stopping JACK I get speeded up playback and distorted sound coming out from audio applications through Pulseaudio. This doesn’t happen if I set JACK to run at a sample rate of 44.1… I’m puzzled!

My setup:
Linux Mint 22
Behringer UMC404 USB
Pulseaudio V. 16.1

On a side note, the reason why I switched back to Pulse+JACK is that I had crackles and artifacts on the audio exported by Ardour, regardless of the audio format and buffer size.

I read here in the forum that is a known issue and it’s been fixed on recent versions of Pipewire. Unfortunately on Mint the latest version I was able to install (without building it myself) was 1.0.7.

If anybody can help me upgrading my system to a newer version of PW, I’ll be happy to get back to it.

Thank you so much.

You can always switch to the ALSA backend for export, that is not affected by Pipewire bugs in older versions.

I don’t remember what application should return the device settings to default when using Pulseaudio. Have you checked to make sure you got all of the traditional control and configuration programs for Pulseaudio re-installed? That kind of behavior would be controlled by wireplumber in a pipewire based system, so there may be some program you missed if you were having to install by hand all the utilities which were previously part of the system install in older Mint versions.

If Mint has forums that is probably a better place to ask for Mint specific repository questions, but likely there will be a few people here who know of either a Mint or general way to do that.
Mint is based on another distribution, right?
This post has a link to a PPA for Ubuntu distributions with newer pipewire backports:
Post by Majik with pipewire backports PPA

Hey @ccaudle, thank you for taking the time to reply.

I tried the approach to switch to ALSA just for the export but for some reasons it was unsatisfactory. Now I can’t exatcly remember why, but itd didn’t work for me.

Although I read that post on the forum, I completely missed the link to the Rob Savoury repository. I’ll se if it works and maybe I could move back to Pipewire.

Thanks

@aFunkyBass FWIW, I use @brummer’s pajackconnect script from within QJackCtl to manage the dance between PulseAudio and Jackd, per this screenshot: