Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Cannot start jack

  1. #1

    Default Cannot start jack

    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?

  2. #2
    Join Date
    Nov 2010
    Location
    Ελλάδα(Αθήνα)-Россия (г. Красноярск)
    Posts
    2,919

    Default Απ: Cannot start jack

    Write it terminal and write the output!!!

    Code:
     jack
    Πάντα Φιλικά, Στάμος.
    Desktop: openSUSE Leap 15||x86_64||Gnome 3.14 & KDE 5||AMD Ryzen 7 8 core||Nvidia GTX 1070 Ti Gaming Edition
    Γλώσσες Προγραμματισμού: C++, Qt developing.
    http://bit.ly/fT8Hfi

  3. #3

    Default Re: Απ: Cannot start jack

    It's this - it goes on forever if I don't stop it:

    Code:
    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[i] 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[i] 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[i] 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[i] 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[i] 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[i] 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[i] 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[i] 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[i] 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[i] 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'

  4. #4
    Join Date
    Nov 2010
    Location
    Ελλάδα(Αθήνα)-Россия (г. Красноярск)
    Posts
    2,919

    Default Απ: Re: Απ: Cannot start jack

    Write
    Code:
     su--
    Code:
     # zypper search jack
    Πάντα Φιλικά, Στάμος.
    Desktop: openSUSE Leap 15||x86_64||Gnome 3.14 & KDE 5||AMD Ryzen 7 8 core||Nvidia GTX 1070 Ti Gaming Edition
    Γλώσσες Προγραμματισμού: C++, Qt developing.
    http://bit.ly/fT8Hfi

  5. #5

    Default Re: Απ: Re: Απ: Cannot start jack

    Ok, I get this:

    Code:
    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

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,158

    Default Re: Απ: Re: Απ: Cannot start jack

    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.
    Henk van Velden

  7. #7
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: Cannot start jack

    Quote Originally Posted by raphaelss View Post
    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?
    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:
    Code:
    @audio   -  rtprio     99
    @audio   -  memlock    unlimited
    Please confirm.

  8. #8
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: Cannot start jack

    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.

  9. #9
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: Απ: Re: Απ: Cannot start jack

    Quote Originally Posted by hcvv View Post
    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.
    You shouldn't have needed to do that. I didn't, and neither have other threads in the english forum.

  10. #10
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,158

    Default Re: Απ: Re: Απ: Cannot start jack

    Quote Originally Posted by consused View Post
    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?
    Henk van Velden

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •