Disabling Pipewire with systemctl?

Hey everyone, I'm the weird one still using jack2 as my sound server and pulseaudio-jack as a sync to get all my audio right. I'm an audio engineer, and pipewire isn't filling my needs quite yet.

So since there are so many dependencies everywhere, I'd like to stop pipewire from autostarting. Here's what I've done, I know I haven't gotten it right.

#! systemctl stop pipewire.service
#! systemctl disable pipewire.service
#! systemctl mask pipewire.service

What am I missing? is pipewire managed by systemctl, because I can't seem to get this to stop autostarting even when I stop the service (Even autostarting right again after killing the process.)

garuda-inxi

System:
  Kernel: 5.16.14-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=d69a45fb-6f16-4c3d-97a5-ebbc8bee37dc rw [email protected]
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=e7e1b346-6a75-45ae-886b-1e82fc4dd92a loglevel=3
  Desktop: KDE Plasma 5.24.3 tk: Qt 5.15.3 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20JNS0JU01 v: ThinkPad T470 W10DG
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20JNS0JU01 v: SDK0J40697 WIN
    serial: <superuser required> UEFI: LENOVO v: N1QET78W (1.53 )
    date: 09/13/2018
Battery:
  ID-1: BAT1 charge: 44.4 Wh (100.0%) condition: 44.4/47.5 Wh (93.5%)
    volts: 12.3 min: 10.8 model: LGC 01AV491 type: Li-ion serial: <filter>
    status: Full cycles: 70
CPU:
  Info: model: Intel Core i5-6300U bits: 64 type: MT MCP arch: Skylake
    family: 6 model-id: 0x4E (78) stepping: 3 microcode: 0xEC
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 500 min/max: 400/3000 scaling: driver: intel_pstate
    governor: powersave cores: 1: 500 2: 500 3: 500 4: 500 bogomips: 19999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Lenovo driver: i915
    v: kernel ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:1916 class-ID: 0300
  Device-2: Microdia PC-LM1E type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-1.1:4 chip-ID: 0c45:636d class-ID: 0102 serial: <filter>
  Device-3: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-8:7
    chip-ID: 5986:111c class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
    loaded: intel unloaded: modesetting alternate: fbdev,vesa gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
    s-diag: 582mm (22.9")
  Monitor-1: eDP1 mapped: eDP-1 model: AU Optronics built: 2016
    res: 1920x1080 hz: 60 dpi: 157 gamma: 1.2 size: 310x170mm (12.2x6.7")
    diag: 354mm (13.9") ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 21.3.7
    direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
    chip-ID: 8086:9d70 class-ID: 0403
  Device-2: Microdia PC-LM1E type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-1.1:4 chip-ID: 0c45:636d class-ID: 0102 serial: <filter>
  Device-3: QinHeng CH345 MIDI adapter type: USB driver: snd-usb-audio
    bus-ID: 1-1.2.4:9 chip-ID: 1a86:752d class-ID: 0103
  Device-4: M-Audio Oxygen 49 type: USB driver: snd-usb-audio
    bus-ID: 1-1.3:8 chip-ID: 0763:0196 class-ID: 0103
  Device-5: BEHRINGER GmbH UMC404HD 192k type: USB driver: snd-usb-audio
    bus-ID: 1-2:3 chip-ID: 1397:0509 class-ID: fe01
  Sound Server-1: ALSA v: k5.16.14-zen1-1-zen running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: JACK v: 1.9.20 running: yes
  Sound Server-4: PulseAudio v: 15.0 running: yes
  Sound Server-5: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:156f class-ID: 0200
  IF: enp0s31f6 state: down mac: <filter>
  Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:24f3 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-7:5 chip-ID: 8087:0a2b class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
  Local Storage: total: 177.85 GiB used: 19.12 GiB (10.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk
    model: X600 M.2 2280 SATA 128GB size: 119.24 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter>
    rev: 3012 scheme: GPT
  ID-2: /dev/sdc maj-min: 8:32 type: USB model: AS Mass size: 58.61 GiB
    block-size: physical: 512 B logical: 512 B type: N/A serial: <filter>
    scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 110.15 GiB size: 110.15 GiB (100.00%)
    used: 19.11 GiB (17.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 110.15 GiB size: 110.15 GiB (100.00%)
    used: 19.11 GiB (17.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 110.15 GiB size: 110.15 GiB (100.00%)
    used: 19.11 GiB (17.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 110.15 GiB size: 110.15 GiB (100.00%)
    used: 19.11 GiB (17.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda3 maj-min: 8:3
  ID-2: swap-2 type: zram size: 7.64 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 41.0 C pch: 39.5 C mobo: N/A
  Fan Speeds (RPM): fan-1: 0
Info:
  Processes: 216 Uptime: 1h 33m wakeups: 2 Memory: 7.64 GiB
  used: 2.57 GiB (33.6%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1471 lib: 390 Shell: fish
  v: 3.3.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.13
e[1;34mGaruda (2.5.6-2):e[0m
e[1;34m  System install date:e[0m     2022-03-16
e[1;34m  Last full system update:e[0m 2022-03-16 e[1;31m↻
e[1;34m  Is partially upgraded:  e[0m No
e[1;34m  Relevant software:      e[0m NetworkManager
e[1;34m  Windows dual boot:      e[0m Probably (Run as root to verify)
e[1;34m  Snapshots:              e[0m Snapper
e[1;34m  Failed units:           e[0m

Garuda Linux comes with Garuda Assistant. You can restore the use of PulseAudio and Jack and disable Pipewire there.

There is no need to deal with the command line, as the devs provides a much better GUI frontend.

2 Likes

There are a bunch of dependencies that I don't want to mess with in removing pipewire. The assistant doesn't actually remove pipewire on my systemss. It would be easier to to have it installed and disabled rather than try to remove it manually.

Plus I'd like to learn how to use systemctl correctly.

I believe it is systemctl --user stop pipewire.socket.

How do you define easier? Do you know what it needs? :roll_eyes:
AFAIK you can only have one enabled/acting.
If you want pulseaudio, use pulseaudio.
I suggest you use Garuda utility to replace pipewire. Else, read Archwiki on how to install pulseaudio, or alsa, or whatever you think you need.
Do you know what you need?

1 Like

Removing pipewire is probably not possible as plasma depends on it.

4 Likes

Perfect! Thanks so much.

1 Like

I've found my answer, but I have been able to run pipewire in tandem with jack, and I had routed pulseaudio through jack as well. I didn't want to, but everything was going at the same time.

Now that I can turn off pipewire, I'm able to run pulseaudio through the jack sink, Jack runs all the time for my audio software, and I don't have to manage the dependency stuff between jack and pipewire. Right now I'm a very happy camper. Thanks for all the help!

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.