I have Ubuntu 21.04 running on a Live USB drive just to play with PipeWire, and I was pleasantly surprised to see PipeWire's service running right out of the box.
Code: Select all
ubuntu@ubuntu:~$ systemctl --user status pipewire.service
● pipewire.service - Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-04-22 22:05:32 UTC; 1h 56min ago
TriggeredBy: ● pipewire.socket
Main PID: 2064 (pipewire)
CGroup: /user.slice/user-999.slice/user@999.service/session.slice/pipewire.service
└─2064 /usr/bin/pipewire
Apr 22 22:05:32 ubuntu systemd[2055]: Started Multimedia Service.
But when I open Carla, the patchbay appears blank.
I found this four month old blog post . His blog post is before today's Ubuntu 21.04 release. It explains he used pw-jack carla to make it work, so I tried that but it is showing generic 2-channel inputs and outputs.
Code: Select all
$ sudo apt install pipewire-audio-client-libraries
$ pw-jack carla
Carla 2.3.0 started, status:
Python version: 3.9.4
Qt version: 5.15.2
PyQt version: 5.15.4
Binary dir: /usr/lib/carla
Resources dir: /usr/share/carla/resources
Frontend pixel ratio is 1.0
libjack.so.0 loaded successfully!
Carla assertion failure: "ports != nullptr" in file CarlaEngineJack.cpp, line 3752
So, unlike the blogger's example, Carla is still unable to see my Scarlett. Even though Ubuntu sees my Scarlett, Carla does not. Not sure what to do at this point. Before I start poking around, manually editing configuration files, I'm wondering if there's a better way.
Edit: I found the Debian page on PipeWire which shows how to alleviate running pw-jack, which now allows JACK clients to run through PipeWire libraries by default, but does not solve the missing audio device issue:
Code: Select all
ubuntu@ubuntu:/etc/pipewire$ sudo touch /etc/pipewire/media-session.d/with-jack
ubuntu@ubuntu:~$ sudo cp /usr/share/doc/pipewire/examples/ld.so.conf.d/pipewire-jack-*.conf /etc/ld.so.conf.d/
ubuntu@ubuntu:~$ sudo ldconfig