Unable to start jack server

Bug description

I Tried using Cadence to configure/install the jack server. When pressing the “start” button for Jack, I get the following error:

“Failed to start Jack, please check the logs…”

Checking the logs, I get:

Sat Mar 13 18:37:00 2021: Starting jack server...
Sat Mar 13 18:37:00 2021: JACK server starting in realtime mode with priority 10
Sat Mar 13 18:37:00 2021: self-connect-mode is "Don't restrict self connect requests"
Sat Mar 13 18:37:00 2021: Acquired audio card Audio0
Sat Mar 13 18:37:00 2021: creating alsa driver ... hw:sofhdadsp,0|hw:sofhdadsp,0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Sat Mar 13 18:37:00 2021: configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
Sat Mar 13 18:37:00 2021: ALSA: final selected sample format for capture: 24bit little-endian
Sat Mar 13 18:37:00 2021: ERROR: ALSA: cannot set period size to 1024 frames for capture
Sat Mar 13 18:37:00 2021: ERROR: ALSA: cannot configure capture channel
Sat Mar 13 18:37:00 2021: Released audio card Audio0
Sat Mar 13 18:37:00 2021: ERROR: Cannot initialize driver
Sat Mar 13 18:37:00 2021: ERROR: JackServer::Open failed with -1
Sat Mar 13 18:37:00 2021: ERROR: Failed to open server

Environment

  • Output of jackd --version: jackdmp version 1.9.17 tmpdir /dev/shm protocol 8.
  • Operating System: Manjaro Linux.
  • Jack Installation: from the the jack2 package using yay.

Personal sound configuration

Output of jackd -d alsa:

Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
jack_get_descriptor : dll 
jack_get_descriptor returns null for 'jack_firewire.so'
Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
jackdmp 1.9.17
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2021 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 24bit little-endian
ALSA: cannot set period size to 1024 frames for capture
ALSA: cannot configure capture channel
Released audio card Audio0
audio_reservation_finish
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server

Output of aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Output of lscpi -kv:

00:00.0 Host bridge: Intel Corporation Coffee Lake HOST and DRAM Controller (rev 0b)
	DeviceName: Intel Dual Band Wireless-AC 9560 802.11 AC 2x2 WiFi + BT 5 Combo Adapter
	Subsystem: Hewlett-Packard Company Device 8514
	Flags: bus master, fast devsel, latency 0
	Capabilities: 
	Kernel driver in use: skl_uncore

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake) (prog-if 00 [VGA controller])
DeviceName: Onboard IGD
Subsystem: Hewlett-Packard Company Device 8514
Flags: bus master, fast devsel, latency 0, IRQ 170
Memory at 9f000000 (64-bit, non-prefetchable) [size=16M]
Memory at 60000000 (64-bit, prefetchable) [size=256M]
I/O ports at 3000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities:
Kernel driver in use: i915
Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0b)
Subsystem: Hewlett-Packard Company Device 8514
Flags: fast devsel, IRQ 16
Memory at 404a110000 (64-bit, non-prefetchable) [size=32K]
Capabilities:
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device

00:12.0 Signal processing controller: Intel Corporation Cannon Point-LP Thermal Controller (rev 30)
Subsystem: Hewlett-Packard Company Device 8514
Flags: fast devsel, IRQ 16
Memory at 404a129000 (64-bit, non-prefetchable) [size=4K]
Capabilities:
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal

00:13.0 Serial controller: Intel Corporation Cannon Point-LP Integrated Sensor Hub (rev 30) (prog-if 00 [8250])
Subsystem: Hewlett-Packard Company Device 8514
Flags: bus master, fast devsel, latency 0, IRQ 20
Memory at 404a122000 (64-bit, non-prefetchable) [size=8K]
Capabilities:
Kernel driver in use: intel_ish_ipc
Kernel modules: intel_ish_ipc

00:14.0 USB controller: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller (rev 30) (prog-if 30 [XHCI])
Subsystem: Hewlett-Packard Company Device 8514
Flags: bus master, medium devsel, latency 0, IRQ 139
Memory at 404a100000 (64-bit, non-prefetchable) [size=64K]
Capabilities:
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

00:14.2 RAM memory: Intel Corporation Cannon Point-LP Shared SRAM (rev 30)
Subsystem: Hewlett-Packard Company Device 8514
Flags: fast devsel
Memory at 404a120000 (64-bit, non-prefetchable) [disabled] [size=8K]
Memory at 404a128000 (64-bit, non-prefetchable) [disabled] [size=4K]
Capabilities:

00:14.3 Network controller: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 30)
Subsystem: Intel Corporation Device 0034
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at 404a11c000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP Serial IO I2C Controller #0 (rev 30)
Subsystem: Hewlett-Packard Company Device 8514
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at 404a126000 (64-bit, non-prefetchable) [size=4K]
Capabilities:
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP Serial IO I2C Controller #1 (rev 30)
Subsystem: Hewlett-Packard Company Device 8514
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at 404a127000 (64-bit, non-prefetchable) [size=4K]
Capabilities:
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation Cannon Point-LP MEI Controller #1 (rev 30)
Subsystem: Hewlett-Packard Company Device 8514
Flags: bus master, fast devsel, latency 0, IRQ 141
Memory at 404a125000 (64-bit, non-prefetchable) [size=4K]
Capabilities:
Kernel driver in use: mei_me
Kernel modules: mei_me

00:1c.0 PCI bridge: Intel Corporation Device 9dba (rev f0) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 122
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: a0100000-a01fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities:
Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #5 (rev f0) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 123
Bus: primary=00, secondary=02, subordinate=6c, sec-latency=0
I/O behind bridge: 00004000-00006fff [size=12K]
Memory behind bridge: 70000000-9e0fffff [size=737M]
Prefetchable memory behind bridge: 0000004000000000-0000004049ffffff [size=1184M]
Capabilities:
Kernel driver in use: pcieport

00:1d.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #13 (rev f0) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 124
Bus: primary=00, secondary=6d, subordinate=6d, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: a0000000-a00fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities:
Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 30)
Subsystem: Hewlett-Packard Company Device 8514
Flags: bus master, medium devsel, latency 0

00:1f.3 Multimedia audio controller: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30)
Subsystem: Hewlett-Packard Company Device 8514
Flags: bus master, fast devsel, latency 32, IRQ 183
Memory at 404a118000 (64-bit, non-prefetchable) [size=16K]
Memory at 404a000000 (64-bit, non-prefetchable) [size=1M]
Capabilities:
Kernel driver in use: sof-audio-pci
Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci

00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 30)
Subsystem: Hewlett-Packard Company Device 8514
Flags: medium devsel, IRQ 16
Memory at 404a124000 (64-bit, non-prefetchable) [size=256]
I/O ports at efa0 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801

00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP SPI Controller (rev 30)
Subsystem: Hewlett-Packard Company Device 8514
Flags: fast devsel
Memory at fe010000 (32-bit, non-prefetchable) [size=4K]

01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
DeviceName: Realtek PCIE CardReader
Subsystem: Hewlett-Packard Company Device 8514
Flags: bus master, fast devsel, latency 0, IRQ 138
Memory at a0100000 (32-bit, non-prefetchable) [size=4K]
Capabilities:
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci

02:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02) (prog-if 00 [Normal decode])
Physical Slot: 8
Flags: bus master, fast devsel, latency 0, IRQ 16
Bus: primary=02, secondary=03, subordinate=6c, sec-latency=0
I/O behind bridge: 00004000-00005fff [size=8K]
Memory behind bridge: 70000000-9e0fffff [size=737M]
Prefetchable memory behind bridge: 0000004000000000-0000004049ffffff [size=1184M]
Capabilities:
Kernel driver in use: pcieport

03:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 125
Bus: primary=03, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: 9e000000-9e0fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities:
Kernel driver in use: pcieport

03:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 126
Bus: primary=03, secondary=05, subordinate=37, sec-latency=0
I/O behind bridge: 00004000-00004fff [size=4K]
Memory behind bridge: 70000000-87efffff [size=383M]
Prefetchable memory behind bridge: 0000004000000000-000000401fffffff [size=512M]
Capabilities:
Kernel driver in use: pcieport

03:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 127
Bus: primary=03, secondary=38, subordinate=38, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: 87f00000-87ffffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities:
Kernel driver in use: pcieport

03:04.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 128
Bus: primary=03, secondary=39, subordinate=6c, sec-latency=0
I/O behind bridge: 00005000-00005fff [size=4K]
Memory behind bridge: 88000000-9dffffff [size=352M]
Prefetchable memory behind bridge: 0000004020000000-0000004049ffffff [size=672M]
Capabilities:
Kernel driver in use: pcieport

04:00.0 System peripheral: Intel Corporation JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] (rev 02)
Subsystem: Hewlett-Packard Company Device 8514
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at 9e000000 (32-bit, non-prefetchable) [size=256K]
Memory at 9e040000 (32-bit, non-prefetchable) [size=4K]
Capabilities:
Kernel driver in use: thunderbolt
Kernel modules: thunderbolt

38:00.0 USB controller: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] (rev 02) (prog-if 30 [XHCI])
Subsystem: Hewlett-Packard Company Device 8514
Flags: bus master, fast devsel, latency 0, IRQ 140
Memory at 87f00000 (32-bit, non-prefetchable) [size=64K]
Capabilities:
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

6d:00.0 Non-Volatile memory controller: Toshiba Corporation Device 0116 (prog-if 02 [NVM Express])
Subsystem: Toshiba Corporation Device 0001
Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
Memory at a0000000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: nvme

Computer model: HP Spectre x360 - 13-ap0xxxx

I had to tweak some stuff to make the audio work (particularly, the computer microphone didn’t pick up any sound). All I did in this reguard is described in the Audio section of my model’s (HP Spectre x360 Convertible 13) page on the Archwiki.

It is an extremely short read, and also goes into more details about audio problems related to my specific computer model. To rewrite what I did here: I installed the sof-firware package using yay and added these lines:

blacklist snd_hda_intel
blacklist snd_soc_skl

To /etc/modprobe.d/blacklist.conf.

The above link gives more detailed information.