Jack / Roland Quad Capture

Talk about your MIDI interfaces, microphones, keyboards...

Moderators: MattKingUSA, khz

Post Reply
ierpe
Posts: 2
Joined: Thu Sep 14, 2017 7:43 am

Jack / Roland Quad Capture

Post by ierpe »

Hi,

I'm new to Jack and linux music production (although I've been producing with Windows and MacOS for more than 10 years), but since Bitwig supports debian I'm trying to have a go at it.

I'm trying to set up my Roland Quad Capture audio interface with Jack following this tutorial : http://libremusicproduction.com/article ... arted-jack

Jack is starting fine with my laptop integrated sound card, or even my screen integrated thunderbolt sound card, but not with my external soundcard...

I am using QJackCtl, and first let me say that in the Jack setup the Roland sound card shows 2 entries :

hw:QUADCAPTURE
hw:QUADCAPTURE,0

I don't know why or what it means. I've tried with both and got the same error.

Then, when I hit start, after a second or two of waiting, this log message appears :

Code: Select all

09:44:41.586 Statistics reset.
09:44:41.595 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
09:44:41.614 ALSA connection graph change.
09:45:32.197 JACK is starting...
09:45:32.198 /usr/bin/jackd -dalsa -dhw:QUADCAPTURE -r44100 -p128 -n2
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
09:45:32.213 JACK was started with PID=15451.
no message buffer overruns
no message buffer overruns
no message buffer overruns
jackdmp 1.9.11-RC1
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2017 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:QUADCAPTURE|hw:QUADCAPTURE|128|2|44100|0|0|nomon|swmeter|-|32bit
Using ALSA driver USB-Audio running on card 1 - Roland QUAD-CAPTURE at usb-0000:00:1a.0-1.2, high speed
configuring for 44100Hz, period = 128 frames (2.9 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
09:45:39.365 Could not connect to JACK server as client. - Overall operation failed. - Server communication error. Please check the messages window for more info.
ALSA: poll time out, polled for 4353018 usecs
JackAudioDriver::ProcessAsync: read error, stopping...
JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Driver is not running
Cannot read socket fd = 18 err = Success
CheckRes error
JackSocketClientChannel read fail
Cannot create new client
Cannot open qjackctl client
JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
09:45:40.189 JACK is stopping...
Jack main caught signal 15
Released audio card Audio1
audio_reservation_finish
09:45:40.241 JACK was stopped
I've searched online about this problem, but what I mostly found is about the card not being recognized, which does not seem to be my case, since the card appears in Jack and in my system settings.
I've tried killing pulse audio / jack and restarting without luck.

Any help appreciated or I'll just go back to Windows I guess :-(

My computer :
Lenovo T430s
Intel® Core™ i7-3520M CPU @ 2.90GHz × 4
Intel® Ivybridge Mobile HD4000
Debian GNU/Linux buster/sid 64-bit
asbak
Established Member
Posts: 897
Joined: Thu Sep 11, 2014 3:04 pm
Has thanked: 71 times
Been thanked: 64 times

Re: Jack / Roland Quad Capture

Post by asbak »

Change settings in qjackctl. Periods set to 3 may be a better option with USB soundcards. 2 is more typically used with on-board and PCI soundcards as far as I'm aware.

Stop & Quit qjackctl.

From what I can recall, do a search for all currently running jackd processes and kill them all with "killall" command.
(I don't use the dbus version of jackd so cannot remember what processes it runs under)

Start qjackctl again and see what happens.
Some Focal / 20.04 audio packages and resources https://midistudio.groups.io/g/linuxaudio
ierpe
Posts: 2
Joined: Thu Sep 14, 2017 7:43 am

Re: Jack / Roland Quad Capture

Post by ierpe »

Still no luck, error messages seem to have changed a little...


Code: Select all

22:45:36.177 Statistics reset.
22:45:36.183 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
22:45:36.199 ALSA connection graph change.
22:45:40.469 JACK is starting...
22:45:40.470 /usr/bin/jackd -v -dalsa -dhw:QUADCAPTURE,0 -r44100 -p128 -n3
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
22:45:40.484 JACK was started with PID=9907.
no message buffer overruns
no message buffer overruns
no message buffer overruns
jackdmp 1.9.11-RC1
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2017 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"
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: playback device hw:QUADCAPTURE,0
Jack: capture device hw:QUADCAPTURE,0
Jack: apparent rate = 44100
Jack: frames per period = 128
Jack: JackDriver::Open capture_driver_name = hw:QUADCAPTURE,0
Jack: JackDriver::Open playback_driver_name = hw:QUADCAPTURE,0
Jack: Check protocol client = 8 server = 8
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 = 128
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 Audio1
creating alsa driver ... hw:QUADCAPTURE,0|hw:QUADCAPTURE,0|128|3|44100|0|0|nomon|swmeter|-|32bit
Using ALSA driver USB-Audio running on card 1 - Roland QUAD-CAPTURE at usb-0000:00:14.0-1, high speed
configuring for 44100Hz, period = 128 frames (2.9 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 3 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 3 periods for playback
Jack: JackSocketServerChannel::Open
Jack: JackServerSocket::Bind : addr.sun_path /dev/shm/jack_default_1000_0
Jack: JackSocketServerChannel::BuildPoolTable size = 1
Jack: JackEngine::Open
Jack: JackClientSocket::Connect : addr.sun_path /dev/shm/jack_default_1000_0
Jack: JackEngine::ClientInternalOpen: name = freewheel
Jack: JackEngine::AllocateRefNum ref = 1
Jack: JackLinuxFutex::Allocate name = jack_sem.1000_default_freewheel val = 0
Jack: JackEngine::NotifyAddClient: name = freewheel
Jack: JackDriver::ClientNotify ref = 1 driver = system name = freewheel notify = 0
Jack: JackDriver::ClientNotify ref = 0 driver = freewheel name = system notify = 0
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 = 128
Jack: JackAlsaDriver::Attach fBufferSize 128 fSampleRate 44100
Jack: JackEngine::PortRegister ref = 0 name = system:capture_1 type = 32 bit float mono audio flags = 22 buffer_size = 128
Jack: JackGraphManager::AllocatePortAux port_index = 1 name = system:capture_1 type = 32 bit float mono audio
Jack: JackConnectionManager::AddOutputPort ref = 0 port = 1
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fCapturePortList[i] 1 
Jack: JackEngine::PortRegister ref = 0 name = system:capture_2 type = 32 bit float mono audio flags = 22 buffer_size = 128
Jack: JackGraphManager::AllocatePortAux port_index = 2 name = system:capture_2 type = 32 bit float mono audio
Jack: JackConnectionManager::AddOutputPort ref = 0 port = 2
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fCapturePortList[i] 2 
Jack: JackEngine::PortRegister ref = 0 name = system:capture_3 type = 32 bit float mono audio flags = 22 buffer_size = 128
Jack: JackGraphManager::AllocatePortAux port_index = 3 name = system:capture_3 type = 32 bit float mono audio
Jack: JackConnectionManager::AddOutputPort ref = 0 port = 3
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fCapturePortList[i] 3 
Jack: JackEngine::PortRegister ref = 0 name = system:capture_4 type = 32 bit float mono audio flags = 22 buffer_size = 128
Jack: JackGraphManager::AllocatePortAux port_index = 4 name = system:capture_4 type = 32 bit float mono audio
Jack: JackConnectionManager::AddOutputPort ref = 0 port = 4
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fCapturePortList[i] 4 
Jack: JackEngine::PortRegister ref = 0 name = system:capture_5 type = 32 bit float mono audio flags = 22 buffer_size = 128
Jack: JackGraphManager::AllocatePortAux port_index = 5 name = system:capture_5 type = 32 bit float mono audio
Jack: JackConnectionManager::AddOutputPort ref = 0 port = 5
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fCapturePortList[i] 5 
Jack: JackEngine::PortRegister ref = 0 name = system:capture_6 type = 32 bit float mono audio flags = 22 buffer_size = 128
Jack: JackGraphManager::AllocatePortAux port_index = 6 name = system:capture_6 type = 32 bit float mono audio
Jack: JackConnectionManager::AddOutputPort ref = 0 port = 6
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fCapturePortList[i] 6 
Jack: JackEngine::PortRegister ref = 0 name = system:playback_1 type = 32 bit float mono audio flags = 21 buffer_size = 128
Jack: JackGraphManager::AllocatePortAux port_index = 7 name = system:playback_1 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 7
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fPlaybackPortList[i] 7 
Jack: JackEngine::PortRegister ref = 0 name = system:playback_2 type = 32 bit float mono audio flags = 21 buffer_size = 128
Jack: JackGraphManager::AllocatePortAux port_index = 8 name = system:playback_2 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 8
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fPlaybackPortList[i] 8 
Jack: JackEngine::PortRegister ref = 0 name = system:playback_3 type = 32 bit float mono audio flags = 21 buffer_size = 128
Jack: JackGraphManager::AllocatePortAux port_index = 9 name = system:playback_3 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fPlaybackPortList[i] 9 
Jack: JackEngine::PortRegister ref = 0 name = system:playback_4 type = 32 bit float mono audio flags = 21 buffer_size = 128
Jack: JackGraphManager::AllocatePortAux port_index = 10 name = system:playback_4 type = 32 bit float mono audio
Jack: JackConnectionManager::AddInputPort ref = 0 port = 10
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackEngine::ClientNotify: no callback for notification = 9
Jack: JackAlsaDriver::Attach fPlaybackPortList[i] 10 
Jack: Clock source : system clock via clock_gettime
Jack: JackServer::Start
Jack: JackThreadedDriver::Start
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: JackThreadedDriver::Init real-time
Jack: JackPosixThread::AcquireRealTimeImp priority = 10
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: JackSocketServerChannel::ClientCreate socket
Jack: JackSocketServerChannel::BuildPoolTable size = 2
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 11
22:45:47.617 Could not connect to JACK server as client. - Overall operation failed. - Server communication error. Please check the messages window for more info.
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 11
Jack: JackSocketServerChannel::ClientCreate socket
Jack: JackSocketServerChannel::BuildPoolTable size = 3
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 11
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 2 fd = 14
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 11
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 14
Jack: JackSocketServerChannel::Execute : poll client error err = Success
Jack: JackSocketServerChannel::ClientKill ref = -1 fd = 14
Jack: Client was not opened : probably correspond to server_check
Jack: JackClientSocket::Close
Jack: JackSocketServerChannel::BuildPoolTable size = 2
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 11
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 11
Jack: JackSocketServerChannel::ClientCreate socket
Jack: JackSocketServerChannel::BuildPoolTable size = 3
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 11
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 2 fd = 14
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 11
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 14
Jack: JackRequest::ClientCheck
Jack: Check protocol client = 8 server = 8
Jack: JackRequest::ClientOpen
Jack: JackEngine::ClientExternalOpen: uuid = 0, name = qjackctl
Jack: JackEngine::AllocateRefNum ref = 2
Jack: JackLinuxFutex::Allocate name = jack_sem.1000_default_qjackctl val = 0
Jack: JackSocketNotifyChannel::Open name = qjackctl
Jack: JackClientSocket::Connect : addr.sun_path /dev/shm/jack_qjackctl_1000_0
Jack: JackShmMem::new index = 2 attached = d1395000 size = 422 
Jack: JackExternalClient::Open name = qjackctl index = 2 base = d1395000
ALSA: poll time out, polled for 4353031 usecs
JackAudioDriver::ProcessAsync: read error, stopping...
Jack: JackPosixThread::ThreadHandler : exit
JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Driver is not running
Jack: JackExternalClient::Close
Jack: JackSocketNotifyChannel::Close
Jack: JackClientSocket::Close
Jack: JackShmMem::delete size = 0 index = 2
Cannot create new client
Cannot read socket fd = 18 err = Success
CheckRes error
JackSocketClientChannel read fail
Cannot open qjackctl client
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 11
JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 14
Jack: JackSocketServerChannel::Execute : poll client error err = Success
Jack: JackSocketServerChannel::ClientKill ref = -1 fd = 14
Jack: Client was not opened : probably correspond to server_check
Jack: JackClientSocket::Close
Jack: JackSocketServerChannel::BuildPoolTable size = 2
Jack: JackSocketServerChannel::BuildPoolTable fSocketTable i = 1 fd = 11
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
22:45:49.080 JACK is stopping...
Jack main caught signal 15
Jack: JackServer::Stop
Jack: JackThreadedDriver::Stop
Jack: JackPosixThread::Stop
Jack: JackPosixThread::Stop
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 11
Jack: JackRequest::Notification
Jack: JackRequest::Notification kQUIT
Jack: JackSocketServerChannel::Execute : JackQuitException
Jack: JackPosixThread::ThreadHandler : exit
Jack: JackEngine::ClientNotify: no callback for notification = 15
Jack: JackEngine::ClientNotify: no callback for notification = 15
Jack: JackServer::Close
Jack: JackServerSocket::Close /dev/shm/jack_default_1000_0
Jack: JackClientSocket::Close
Jack: JackAudioDriver::Detach
Jack: JackEngine::PortUnRegister ref = 0 port_index = 1
Jack: JackEngine::PortDisconnect ref = -1 src = 1 dst = 65535
Jack: JackGraphManager::DisconnectAllOutput port_index = 1 
Jack: JackConnectionManager::RemoveOutputPort ref = 0 port_index = 1 
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::PortUnRegister ref = 0 port_index = 2
Jack: JackEngine::PortDisconnect ref = -1 src = 2 dst = 65535
Jack: JackGraphManager::DisconnectAllOutput port_index = 2 
Jack: JackConnectionManager::RemoveOutputPort ref = 0 port_index = 2 
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::PortUnRegister ref = 0 port_index = 3
Jack: JackEngine::PortDisconnect ref = -1 src = 3 dst = 65535
Jack: JackGraphManager::DisconnectAllOutput port_index = 3 
Jack: JackConnectionManager::RemoveOutputPort ref = 0 port_index = 3 
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::PortUnRegister ref = 0 port_index = 4
Jack: JackEngine::PortDisconnect ref = -1 src = 4 dst = 65535
Jack: JackGraphManager::DisconnectAllOutput port_index = 4 
Jack: JackConnectionManager::RemoveOutputPort ref = 0 port_index = 4 
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::PortUnRegister ref = 0 port_index = 5
Jack: JackEngine::PortDisconnect ref = -1 src = 5 dst = 65535
Jack: JackGraphManager::DisconnectAllOutput port_index = 5 
Jack: JackConnectionManager::RemoveOutputPort ref = 0 port_index = 5 
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::PortUnRegister ref = 0 port_index = 6
Jack: JackEngine::PortDisconnect ref = -1 src = 6 dst = 65535
Jack: JackGraphManager::DisconnectAllOutput port_index = 6 
Jack: JackConnectionManager::RemoveOutputPort ref = 0 port_index = 6 
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::PortUnRegister ref = 0 port_index = 7
Jack: JackEngine::PortDisconnect ref = -1 src = 7 dst = 65535
Jack: JackGraphManager::DisconnectAllInput port_index = 7
Jack: JackConnectionManager::RemoveInputPort ref = 0 port_index = 7 
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::PortUnRegister ref = 0 port_index = 8
Jack: JackEngine::PortDisconnect ref = -1 src = 8 dst = 65535
Jack: JackGraphManager::DisconnectAllInput port_index = 8
Jack: JackConnectionManager::RemoveInputPort ref = 0 port_index = 8 
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::PortUnRegister ref = 0 port_index = 9
Jack: JackEngine::PortDisconnect ref = -1 src = 9 dst = 65535
Jack: JackGraphManager::DisconnectAllInput port_index = 9
Jack: JackConnectionManager::RemoveInputPort ref = 0 port_index = 9 
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::PortUnRegister ref = 0 port_index = 10
Jack: JackEngine::PortDisconnect ref = -1 src = 10 dst = 65535
Jack: JackGraphManager::DisconnectAllInput port_index = 10
Jack: JackConnectionManager::RemoveInputPort ref = 0 port_index = 10 
Jack: JackEngine::ClientNotify: no callback for notification = 10
Jack: JackEngine::ClientNotify: no callback for notification = 10
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
Jack: JackDriver::ClientNotify ref = 0 driver = freewheel name = system notify = 1
Released audio card Audio1
audio_reservation_finish
Jack: JackDriver::Close
Jack: JackConnectionManager::DirectDisconnect last: ref1 = 1 ref2 = 1
Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 1 ref2 = 1
Jack: JackEngine::ClientInternalClose ref = 1
Jack: JackEngine::ClientCloseAux ref = 1
Jack: JackGraphManager::RemoveAllPorts ref = 1
Jack: JackEngine::Close
Jack: JackClientSocket::Close
Jack: no message buffer overruns
Jack: JackPosixThread::Stop
Jack: JackPosixThread::ThreadHandler : exit
Jack: Succeeded in unlocking 107341338 byte memory area
Jack: JackShmMem::delete size = 0 index = 0
Jack: ~JackDriver
Jack: ~JackDriver
Jack: Succeeded in unlocking 1187 byte memory area
Jack: JackShmMem::delete size = 0 index = 1
Jack: Cleaning up shared memory
Jack: Cleaning up files
Jack: Unregistering server `default'
22:45:49.154 JACK was stopped
I guess these lines are where the error happen.. but it's totally obscure to me :

22:45:47.617 Could not connect to JACK server as client. - Overall operation failed. - Server communication error.

ALSA: poll time out, polled for 4353031 usecs
JackAudioDriver::ProcessAsync: read error, stopping...
Jack: JackPosixThread::ThreadHandler : exit
JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Driver is not running
asbak
Established Member
Posts: 897
Joined: Thu Sep 11, 2014 3:04 pm
Has thanked: 71 times
Been thanked: 64 times

Re: Jack / Roland Quad Capture

Post by asbak »

Download a copy of AVLinux and boot your system with that (it can run off a USB stick, at least that's how it used to work) and then try getting the Quadcapture working in there.

Alternatively, experiment on a freshly installed base OS system, compile jackdmp to run without dbus and install that, install a recent kernel (set it to preempt for best results) and then try again. (This would remove a lot of unknowns with regards to pre-baked installers & distros doing god knows what.)

I also don't know how many people successfully use the Quadcapture, it's a more recent card and it's not entirely clear how well it actually works under Linux. Another thing to look out for is whether there are switches on the card which can be toggled and which may set it to some or other mode which again may or may not have some implication in jack. For example, the old UA-25 has an "advance" mode switch.
Some Focal / 20.04 audio packages and resources https://midistudio.groups.io/g/linuxaudio
Drumfix
Established Member
Posts: 299
Joined: Mon Jan 26, 2009 5:15 pm
Been thanked: 11 times

Re: Jack / Roland Quad Capture

Post by Drumfix »

Most likely pulseaudio is restarted when you start jack.

To prevent pulseaudio from ever starting again create the file $HOME/.pulse/client.conf containing only the following line:

autospawn=no

Then execute the command

pulseaudio -k

After that you should be able to start jack.
Note: Current kernels support the device only at 44100.

If you want to use another samplerate, a kernel source file must be edited.
Post Reply