You are not logged in.
Hi
I'm trying to run jackd in my PC with no success. This is the output:
$ jackd -vd alsa
jackdmp 1.9.21
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2022 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
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
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: JackDriver::Open capture_driver_name = hw:0
Jack: JackDriver::Open playback_driver_name = hw:0
Jack: Check protocol client = 9 server = 9
Jack: JackEngine::ClientInternalOpen: name = system
Jack: JackEngine::AllocateRefNum ref = 0
Jack: JackLinuxFutex::Allocate name = jack_sem.1000_default_system val = 0
Jack: JackEngine::NotifyAddClient: name = system
Jack: JackGraphManager::SetBufferSize size = 1024
Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Jack: JackDriver::SetupDriverSync driver sem in flush mode
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Jack: JackDriver::Close
Jack: JackConnectionManager::DirectDisconnect last: ref1 = 0 ref2 = 0
Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Jack: JackEngine::ClientInternalClose ref = 0
Jack: JackEngine::ClientCloseAux ref = 0
Jack: JackGraphManager::RemoveAllPorts ref = 0
Released audio card Audio0
audio_reservation_finish
Jack: ~JackDriver
Cannot initialize driver
Jack: no message buffer overruns
Jack: JackPosixThread::Stop
Jack: JackPosixThread::ThreadHandler : exit
JackServer::Open failed with -1
Jack: Succeeded in unlocking 107341340 byte memory area
Jack: JackShmMem::delete size = 0 index = 0
Jack: ~JackDriver
Jack: Succeeded in unlocking 1196 byte memory area
Jack: JackShmMem::delete size = 0 index = 1
Jack: Cleaning up shared memory
Jack: Cleaning up files
Jack: Unregistering server `default'
Failed to open server
$ This is my sound configuration:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALCS1200A Analog [ALCS1200A Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALCS1200A Digital [ALCS1200A Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
$$ sudo lshw -C sound
*-multimedia
description: Audio device
product: GK208 HDMI/DP Audio Controller
vendor: NVIDIA Corporation
physical id: 0.1
bus info: pci@0000:09:00.1
version: a1
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:148 memory:fc080000-fc083fff
*-multimedia
description: Audio device
product: Starship/Matisse HD Audio Controller
vendor: Advanced Micro Devices, Inc. [AMD]
physical id: 0.4
bus info: pci@0000:0b:00.4
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:150 memory:fcc00000-fcc07fff
$I tried with several sets without success. Can someone help me?
Thanks in advance.
Last edited by archlinuxforever (2022-07-01 12:36:58)
Offline
https://man.archlinux.org/man/jackd.1#A … ND_OPTIONS note the device option make sure you are selecting your actual sound card which would be hw:1 at the minimum instead of the nvidia hdmi node (where hw:0,0 doesn't exist which makes the default jack assumption fail anyway)
Offline
Thanks but I set it up before and I got many XRUNs. This is the log's begin:
13:46:41.275 Statistics reset.
13:46:41.276 ALSA connection change.
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
13:46:41.322 ALSA connection graph change.
13:46:53.751 JACK is starting...
13:46:53.751 /usr/bin/jackd -dalsa -dhw:0 -d alsa -d hw:1
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
13:46:53.779 JACK was started with PID=3577.
no message buffer overruns
no message buffer overruns
no message buffer overruns
jackdmp 1.9.21
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2022 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 Audio1
creating alsa driver ... hw:1|hw:1|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: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
13:46:55.987 JACK connection change.
13:46:55.987 Server configuration saved to "/home/oscar/.jackdrc".
13:46:55.988 Statistics reset.
13:46:56.007 Client activated.
13:46:56.007 Patchbay deactivated.
13:46:56.057 JACK connection graph change.
13:46:58.065 XRUN callback (9 skipped).
13:47:00.072 XRUN callback (13 skipped).
13:47:02.080 XRUN callback (12 skipped).
13:47:04.088 XRUN callback (16 skipped).
13:47:06.098 XRUN callback (8 skipped).
13:47:06.947 XRUN callback (64).
13:47:08.107 XRUN callback (3 skipped).
13:47:10.118 XRUN callback (16 skipped).
13:47:12.128 XRUN callback (11 skipped).
13:47:14.138 XRUN callback (10 skipped).
13:47:16.148 XRUN callback (10 skipped).
13:47:18.157 XRUN callback (13 skipped).
13:47:20.168 XRUN callback (9 skipped).
13:47:22.179 XRUN callback (7 skipped).
13:47:24.188 XRUN callback (9 skipped).
13:47:26.199 XRUN callback (9 skipped).
13:47:28.206 XRUN callback (15 skipped).
13:47:30.214 XRUN callback (15 skipped).
13:47:32.221 XRUN callback (16 skipped).
...Offline
Well getting xruns and "not working" are two different pairs of shoes and the original logs shows that it simply can't allocate a device due to hw:0,0 being nonsensical.
For fixing xruns see https://wiki.archlinux.org/title/JACK_A … it#Latency and https://wiki.archlinux.org/title/JACK_A … _resources
Offline
Thanks a lot!
I set up Server Suffix to:
-d alsa -d hw:1 -p 8192and now there are not XRUNS.
Offline