Pipewire and Jack on Fedora 39
I recently switched from a MacBook Pro to an AMD Framework 13 Laptop. That means that I need to actually figure out how to make Linux audio work.
There were no issues using Pipewire for ALSA sound but I was unable to get Jack clients connected with errors like:
Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Which lead me to https://www.reddit.com/r/debian/comments/15a184k/if_you_want_to_use_pipewire_jack_you_need_this/
Because there were no specific pipewire configs in my /etc/ld.so.conf.d/
folder I assumed this was probably my issue as well since this had previously fixed a similar issue on my previous debian install.
But the other bummer is that this file was nowhere to be found in Fedora 39- it DID appear it was in another version of pipewire-jack-audio-connection-kit
but I was not interested in overwriting the system installed version of that package
So the solution for me was to go grab the RPM and copy the file from there:
# Download the package that provides pipewire-jack-x86_64.conf
dnf download pipewire-jack-audio-connection-kit-1.0.0-1.fc39
# Extract it
rpm2cpio pipewire-jack-audio-connection-kit-1.0.0-1.fc39.x86_64.rpm | cpio -idmv
# Move it
sudo mv pipewire-jack-x86_64.conf /etc/ld.so.conf.d/
# Load it
sudo ldconfig
And that was it, the jack server started and clients could connect.
Deep diving into Linux audio systems avoided for another year