Pulseeffects-legacy causes Cadmus to no longer output audio

Hello,

I am currently having an issue with the noise suppression frontend Cadmus after having used pulseeffects-legacy. Originally, Cadmus had worked completely fine, but now it seems that whenever Cadmus is enabled, it is completely silent.

The audio device generated from Cadmus does indeed appear in pavucontrol, it just does not have any audio.

I have noted one thing: while using pulseeffects-legacy, the application generated from Cadmus appears, and is disabled. However, I am able to manually tick it to be enabled, and suddenly the device works. Additionally, Cadmus can occasionally crash pulseaudio when enabling now.

The issue is that I no longer want to use pulseeffects-legacy due to its latency, and there is no easy way that I can find to enable the device like in pulseeffects.

What are some ways I can debug this issue? I’m not very familiar with what areas to start looking.

inxi output:

System:
  Kernel: 5.15.28-1-MANJARO arch: x86_64 bits: 64 compiler: gcc
    v: 11.2.0 Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29
    info: xfce4-panel wm: bspwm v: 0.9.7-2-g342c2e3 vt: 7
    dm: LightDM v: 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: H97 Pro4
    serial: <superuser required>
    UEFI-[Legacy]: American Megatrends v: P1.90 date: 07/27/2015
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 15.56 GiB used: 3.11 GiB (20.0%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: quad core model: Intel Core i7-4790K bits: 64
    type: MT MCP smt: enabled arch: Haswell rev: 3 cache:
    L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 4367 high: 4389 min/max: 800/4400 cores:
    1: 4366 2: 4359 3: 4386 4: 4363 5: 4389 6: 4349 7: 4382
    8: 4342 bogomips: 63884
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx
    avx2 bmi1 bmi2 bts clflush cmov constant_tsc cpuid cpuid_fault
    cx16 cx8 de ds_cpl dtes64 dtherm dts ept ept_ad erms est
    f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht ibpb
    ibrs ida invpcid invpcid_single lahf_lm lm mca mce md_clear
    mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe
    pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse
    pse36 pti pts rdrand rdtscp rep_good sdbg sep smep ss ssbd
    sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow
    tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic
    xsave xsaveopt xtopology xtpr
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660 SUPER] vendor: PNY
    driver: nvidia v: 510.54 pcie: speed: 2.5 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:21c4 class-ID: 0300
  Device-2: Microdia USB 2.0 Camera type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 3-1:2
    chip-ID: 0c45:636b class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 compositor: Compton
    driver: X: loaded: nvidia gpu: nvidia display-ID: :0.0
    screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96
    s-size: 1016x286mm (40.00x11.26") s-diag: 1055mm (41.55")
  Monitor-1: DVI-D-0 pos: right res: 1920x1080 hz: 60 dpi: 305
    size: 160x90mm (6.3x3.54") diag: 184mm (7.23") modes: N/A
  Monitor-2: HDMI-0 pos: primary,left res: 1920x1080 hz: 60
    dpi: 55 size: 880x490mm (34.65x19.29") diag: 1007mm (39.65")
    modes: N/A
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel 9 Series Family HD Audio vendor: ASRock
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:8ca0 class-ID: 0403
  Device-2: NVIDIA TU116 High Definition Audio vendor: PNY
    driver: snd_hda_intel v: kernel pcie: speed: 2.5 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:1aeb class-ID: 0403
  Device-3: Microdia USB 2.0 Camera type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 3-1:2
    chip-ID: 0c45:636b class-ID: 0102 serial: <filter>
  Device-4: Samson C01U condenser microphone type: USB
    driver: snd-usb-audio bus-ID: 3-14:11 chip-ID: 17a0:0001
    class-ID: 0102
  Sound Server-1: ALSA v: k5.15.28-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
Network:
  Device-1: Intel Ethernet I218-V vendor: ASRock driver: e1000e
    v: kernel port: f040 bus-ID: 00:19.0 chip-ID: 8086:15a1
    class-ID: 0200
  IF: enp0s25 state: up speed: 1000 Mbps duplex: full
    mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel
    pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0
    chip-ID: 8086:24f3 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Dynex Bluetooth 4.0 Adapter [Broadcom 1.12
  BCM20702A0]
    type: USB driver: btusb v: 0.8 bus-ID: 3-10:10
    chip-ID: 19ff:0239 class-ID: fe01 serial: <filter>
  Report: rfkill ID: hci1 rfk-id: 2 state: down
    bt-service: enabled,running rfk-block: hardware: no
    software: yes address: see --recommends
  Device-2: Intel Bluetooth wireless interface type: USB
    driver: btusb v: 0.8 bus-ID: 3-7:9 chip-ID: 8087:0a2b
    class-ID: e001
  Report: ID: hci0 rfk-id: 1 state: down
    bt-service: enabled,running rfk-block: hardware: no
    software: yes address: N/A
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.02 TiB used: 155.59 GiB (14.9%)
  ID-1: /dev/sda vendor: Western Digital
    model: WD10EZEX-00BBHA0 size: 931.51 GiB speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: 1A01 scheme: MBR
  ID-2: /dev/sdb vendor: Crucial model: CT120BX100SSD1
    size: 111.79 GiB speed: 6.0 Gb/s type: SSD serial: <filter>
    rev: MU02 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / size: 92.62 GiB used: 69.56 GiB (75.1%) fs: ext4
    dev: /dev/sdb1 label: N/A
    uuid: e40e6c82-f71a-4ec8-bfb0-dc37527f677b
  ID-2: /home/<filter>/hdd size: 457.38 GiB
    used: 86.03 GiB (18.8%) fs: ext4 dev: /dev/sda2
    label: Manjaro HDD
    uuid: d4448267-18eb-4c85-b58e-2dc3a3e87e7f
Swap:
  ID-1: swap-1 type: partition size: 17.12 GiB
    used: 0 KiB (0.0%) priority: -2 dev: /dev/sdb2 label: swap
    uuid: 1da51c4d-608d-4a8a-b2b3-7a823062d549
Unmounted:
  ID-1: /dev/sda1 size: 465.76 GiB fs: ntfs label: N/A
    uuid: E082AA8882AA62B0
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-1:2 info: Intel ports: 6 rev: 2.0 speed: 480 Mb/s
    chip-ID: 8087:8009 class-ID: 0900
  Hub-3: 2-0:1 info: Full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 2-1:2 info: Intel Integrated Hub ports: 8 rev: 2.0
    speed: 480 Mb/s chip-ID: 8087:8001 class-ID: 0900
  Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 14
    rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-1:2 info: Microdia USB 2.0 Camera
    type: Video,Audio driver: snd-usb-audio,uvcvideo interfaces: 4
    rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0c45:636b
    class-ID: 0102 serial: <filter>
  Device-2: 3-3:7 info: Razer USA Ornata Chroma
    type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 3
    rev: 2.0 speed: 12 Mb/s power: 500mA chip-ID: 1532:021e
    class-ID: 0300
  Device-3: 3-4:8 info: Logitech M-U0007 [Corded Mouse M500]
    type: Mouse driver: hid-generic,usbhid interfaces: 1 rev: 2.0
    speed: 1.5 Mb/s power: 98mA chip-ID: 046d:c069
    class-ID: 0301
  Device-4: 3-7:9 info: Intel Bluetooth wireless interface
    type: Bluetooth driver: btusb interfaces: 2 rev: 2.0
    speed: 12 Mb/s power: 100mA chip-ID: 8087:0a2b
    class-ID: e001
  Device-5: 3-10:10
    info: Dynex Bluetooth 4.0 Adapter [Broadcom 1.12 BCM20702A0]
    type: Bluetooth driver: btusb interfaces: 4 rev: 2.0
    speed: 12 Mb/s chip-ID: 19ff:0239 class-ID: fe01
    serial: <filter>
  Device-6: 3-14:11 info: Samson C01U condenser microphone
    type: Audio driver: snd-usb-audio interfaces: 2 rev: 1.1
    speed: 12 Mb/s power: 90mA chip-ID: 17a0:0001 class-ID: 0102
  Hub-6: 4-0:1 info: Super-speed hub ports: 6 rev: 3.0
    speed: 5 Gb/s chip-ID: 1d6b:0003 class-ID: 0900
  Hub-7: 5-0:1 info: Hi-speed hub with single TT ports: 2
    rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-8: 6-0:1 info: Super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 41.0 C mobo: N/A gpu: nvidia
    temp: 35 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 38%
Info:
  Processes: 272 Uptime: 6m wakeups: 0 Init: systemd v: 250
  Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: 1509
  pacman: 1502 snap: 7 Shell: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.14

If pulseeffects-legacy is no longer wanted it should be uninstalled to avoid any possible conflict with cadmus modules and simplify troubleshooting PulseAudio

check active PulseAudio modules and configuration of audio sinks and sources with

pacmd dump

If cadmus is working as expected, it should be loading 4 additional PulseAudio modules

  • module-null-sink - for an audio mix point
  • module-ladspa-sink - to host the LADSPA noise reduction plugin
  • module-loopback - convert the microphone audio capture source to a sink input for the LADSPA plugin
  • module-remap-source - because some packages do not recognise the Monitor of Null Output audio source in place of the microphone

The audio routing between the modules can be traced in the mixer control tabs for pavucontrol
Installing pagraphcontrol-git from AUR may be more useful to show the full layout of all PulseAudio modules in a GUI patchbay