I installed jack but it won’t start either on real, nonrealtime, terminal or qjackctl.
It starts a loop of alsa driver xruns until I stop it.
Can anyone offer some help?
Write it terminal and write the output!!!
jack
It’s this - it goes on forever if I don’t stop it:
raphael@linux-6iaa:~> jackd -v -R -d alsa -d hw:0 -p 512 -n 2 -r 48000
jackdmp 1.9.5
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2009 Grame.
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
Engine profiling activated, beware 197 MBytes are needed to record profiling points...
Jack: Create non RT thread
Jack: ThreadHandler: start
Jack: JackSocketServerChannel::Open
Jack: Bind: addr.sun_path /dev/shm/jack_default_1000_0
Jack: JackSocketServerChannel::BuildPoolTable size = 1
Jack: JackEngine::Open
Jack: Connect: addr.sun_path /dev/shm/jack_default_1000_0
Jack: playback device hw:0
Jack: capture device hw:0
Jack: frames per period = 512
Jack: apparent rate = 48000
Jack: JackDriver::Open capture_driver_name = hw:0
Jack: JackDriver::Open playback_driver_name = hw:0
Jack: JackEngine::ClientInternalOpen: name = system
Jack: JackEngine::AllocateRefNum ref = 0
Jack: JackFifo::Allocate name = /dev/shm/jack_fifo.1000_default_system
Jack: JackEngine::NotifyAddClient: name = system
Jack: JackGraphManager::SetBufferSize size = 512
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
creating alsa driver ... hw:0|hw:0|512|2|48000|0|0|nomon|swmeter|-|32bit
Using ALSA driver HDA-Intel running on card 0 - HDA Intel at 0xf9ffc000 irq 27
configuring for 48000Hz, period = 512 frames (10.7 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
Jack: JackEngine::ClientInternalOpen: name = freewheel
Jack: JackEngine::AllocateRefNum ref = 1
Jack: JackFifo::Allocate name = /dev/shm/jack_fifo.1000_default_freewheel
Jack: JackEngine::NotifyAddClient: name = freewheel
Jack: JackConnectionManager::DirectConnect first: ref1 = 1 ref2 = 1
Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 1 ref2 = 1
Jack: JackDriver::SetupDriverSync driver sem in flush mode
Jack: JackGraphManager::SetBufferSize size = 512
Jack: JackAudioDriver::Attach fBufferSize 512 fSampleRate 48000
Jack: JackGraphManager::AllocatePortAux port_index = 1 name = system:capture_1 type = 32 bit float mono audio
Jack: JackConnectionManager::AddOutputPort ref = 0 port = 1
Jack: JackAudioDriver::Attach fCapturePortList* 1
Jack: JackGraphManager::AllocatePortAux port_index = 2 name = system:capture_2 type = 32 bit float mono audio
Jack: JackConnectionManager::AddOutputPort ref = 0 port = 2
Jack: JackAudioDriver::Attach fCapturePortList* 2
Jack: JackGraphManager::AllocatePortAux port_index = 3 name = system:playback_1 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 3
Jack: JackAudioDriver::Attach fPlaybackPortList* 3
Jack: JackGraphManager::AllocatePortAux port_index = 4 name = system:playback_2 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 4
Jack: JackAudioDriver::Attach fPlaybackPortList* 4
Jack: JackGraphManager::AllocatePortAux port_index = 5 name = system:playback_3 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 5
Jack: JackAudioDriver::Attach fPlaybackPortList* 5
Jack: JackGraphManager::AllocatePortAux port_index = 6 name = system:playback_4 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 6
Jack: JackAudioDriver::Attach fPlaybackPortList* 6
Jack: JackGraphManager::AllocatePortAux port_index = 7 name = system:playback_5 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 7
Jack: JackAudioDriver::Attach fPlaybackPortList* 7
Jack: JackGraphManager::AllocatePortAux port_index = 8 name = system:playback_6 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 8
Jack: JackAudioDriver::Attach fPlaybackPortList* 8
Jack: JackGraphManager::AllocatePortAux port_index = 9 name = system:playback_7 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 9
Jack: JackAudioDriver::Attach fPlaybackPortList* 9
Jack: JackGraphManager::AllocatePortAux port_index = 10 name = system:playback_8 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 10
Jack: JackAudioDriver::Attach fPlaybackPortList* 10
Jack: Clock source : system clock via clock_gettime
Jack: JackServer::Start
Jack: JackThreadedDriver::Start
Jack: Create non RT thread
Jack: ThreadHandler: start
Jack: JackThreadedDriver::Init IsRealTime
Jack: Create non RT thread
Jack: ThreadHandler: start
Jack: JackSocketServerChannel::ClientCreate socket
Jack: JackSocketServerChannel::BuildPoolTable size = 2
Jack: fSocketTable i = 1 fd = 10
alsa_driver_xrun_recovery
Jack: ALSA XRun wait_status = 0
Jack: fPollTable i = 1 fd = 10
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: JackRequest::Notification
Jack: ALSA XRun wait_status = 0
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
Jack: fPollTable i = 1 fd = 10
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
alsa_driver_xrun_recovery
^Cjack main caught signal 2
Jack: JackServer::Stop
Jack: JackThreadedDriver::Stop
Jack: JackPosixThread::Stop
Jack: fPollTable i = 1 fd = 10
Jack: JackRequest::Notification
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: JackEngine::NotifyClient: no callback for event = 3
Jack: ALSA XRun wait_status = 0
JackAudioDriver::ProcessAsync: read error, skip cycle
Jack: ThreadHandler: exit
Jack: JackServer::Close
Jack: JackPosixThread::Stop
Jack: fPollTable i = 1 fd = 10
Jack: JackRequest::Notification
Jack: JackRequest::Notification kQUIT
Jack: JackMachServerChannel::Execute JackQuitException
Jack: ThreadHandler: exit
Jack: JackServerSocket::Close /dev/shm/jack_default_1000_0
Jack: JackClientSocket::Close
Jack: JackAudioDriver::Detach
Jack: JackGraphManager::DisconnectAllOutput port_index = 1
Jack: JackConnectionManager::RemoveOutputPort ref = 0 port_index = 1
Jack: JackGraphManager::DisconnectAllOutput port_index = 2
Jack: JackConnectionManager::RemoveOutputPort ref = 0 port_index = 2
Jack: JackGraphManager::DisconnectAllInput port_index = 3
Jack: JackConnectionManager::RemoveInputPort ref = 0 port_index = 3
Jack: JackGraphManager::DisconnectAllInput port_index = 4
Jack: JackConnectionManager::RemoveInputPort ref = 0 port_index = 4
Jack: JackGraphManager::DisconnectAllInput port_index = 5
Jack: JackConnectionManager::RemoveInputPort ref = 0 port_index = 5
Jack: JackGraphManager::DisconnectAllInput port_index = 6
Jack: JackConnectionManager::RemoveInputPort ref = 0 port_index = 6
Jack: JackGraphManager::DisconnectAllInput port_index = 7
Jack: JackConnectionManager::RemoveInputPort ref = 0 port_index = 7
Jack: JackGraphManager::DisconnectAllInput port_index = 8
Jack: JackConnectionManager::RemoveInputPort ref = 0 port_index = 8
Jack: JackGraphManager::DisconnectAllInput port_index = 9
Jack: JackConnectionManager::RemoveInputPort ref = 0 port_index = 9
Jack: JackGraphManager::DisconnectAllInput port_index = 10
Jack: JackConnectionManager::RemoveInputPort ref = 0 port_index = 10
Jack: JackDriver::Close
Jack: JackConnectionManager::DirectDisconnect last: ref1 = 0 ref2 = 0
Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Jack: JackEngine::ClientCloseAux ref = 0
Jack: JackGraphManager::RemoveAllPorts ref = 0
Jack: JackFifo::Destroy name = /dev/shm/jack_fifo.1000_default_system
Jack: JackDriver::Close
Jack: JackConnectionManager::DirectDisconnect last: ref1 = 1 ref2 = 1
Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 1 ref2 = 1
Jack: JackEngine::ClientCloseAux ref = 1
Jack: JackGraphManager::RemoveAllPorts ref = 1
Jack: JackFifo::Destroy name = /dev/shm/jack_fifo.1000_default_freewheel
Jack: JackEngine::Close
Jack: JackClientSocket::Close
Jack: no message buffer overruns
Jack: JackPosixThread::Stop
Jack: ThreadHandler: exit
Jack: Succeeded in unlocking 86544668 byte memory area
Jack: JackShmMem::delete size = 0 index = 0
Jack: ~JackDriver
Jack: ~JackDriver
Jack: JackEngine::~JackEngine
Write server and clients timing data...
Jack: Succeeded in unlocking 207603580 byte memory area
Jack: JackShmMem::delete size = 0 index = 1
Jack: cleaning up shared memory
Jack: cleaning up files
Jack: unregistering server `default'
Write
su--
# zypper search jack
Ok, I get this:
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+------------------------+-------------------------------------------+--------
i | alsa-plugins-jack | JACK I/O Plug-In for the ALSA Library | package
| ctapi-cyberjack | CT-API and tools for Reiner SCT Cyberja-> | package
i | jack | Jack-Audio Connection Kit | package
| jack-rack | LADSPA Effects Rack for JACK | package
| jackEQ | JACK Equalization Tool for Live Perform-> | package
i | libjack-devel | Development package for jack | package
i | libjack0 | Jack Audio Connection Kit Library | package
| libjackasyn | A Wrapper Library for JACK | package
| pcsc-cyberjack | PC/SC IFD Handler for the Reiner SCT Cy-> | package
| pulseaudio-module-jack | JACK support for the PulseAudio sound s-> | package
i | qjackctl | Qt-based interface to JACK | package
| xmms2-plugin-jack | Jack Support for xmms2 | package
By coincedence we have this thread: jackd, timidity werken alleen als root
Now it is in dutch, but the idea is that jackd is a daemon and thus should run as a daemon, by root and in the background.
We succeeded in doing this by creating the file* /etc/init.d/after.local*. The contents of this file should be as shown in post #14 of that thread. The OP there says it works as he believes it should work.
Some things to check before looking at specific Jack settings:
Did you add your user account to the “audio” group?
You also need to configure pam, for real-time priorities, by adding lines to /etc/security/limits.conf, for example:
@audio - rtprio 99
@audio - memlock unlimited
Please confirm.
In Setup, Jack defaults Sample Rate to 48000, I had to change that to 44100, and Frames/Period to 1024, to stop xruns and get Latency to an acceptable figure for my system. That’s with openSUSE 11.3 and the standard kernel-desktop.
You shouldn’t have needed to do that. I didn’t, and neither have other threads in the english forum.
Then how do you run the jackd daemon?
Well, maybe I should use the Search function here and translate what I find for the dutch forum.
From the KDE kickoff menu I start QjackCtl and it loads jackd, when I start it from the gui.
Hm, thus it isn’t a real daemon as I deducted from it’s name (and my dutch OP telling it must be run as root).
But the Op is very happy now he has it running as a real daemon.
In any case, I will talk to him and discuss what is here and elsewhere.
Thanks.
I run it as a normal user. QjackCtl provides a nice gui for accessing the facilities and the Setup. Although you can start via the command line.
I learnt to use it on 64Studio, a specialized debian-based distro with a real-time kernel, setup for and by linux musicians. I now use it on openSUSE in the same way, when kernel-desktop provided improved latency over kernel-default that was good enough for my needs. Some openSUSE users will need to use a real-time kernel for heavier application use, and they appear to go for the jengelh kernel. I think there was a fairly recent thread here by @anton, post #14. It concluded successfully that way, after failures with 11.3’s kernel-rt.