cadence can't start jack

Support & discussion regarding DAWs and MIDI sequencers.

Moderators: MattKingUSA, khz

Post Reply
tempMusician
Established Member
Posts: 3
Joined: Mon Jan 01, 2018 9:27 pm

cadence can't start jack

Post by tempMusician »

Hello, i'm new into music production and i'm trying to setup KXStudio on my machine, the installation seems to be successful.

Then i started following this guide to setup jack+cadence:

Code: Select all

http://libremusicproduction.com/articles/demystifying-jack-–-beginners-guide-getting-started-jack
But cadence fails to start jack giving the following error:

Code: Select all

Failed to start JACK, please check the logs for more information.
Logs:

Code: Select all

Mon Jan  1 22:16:55 2018: ------------------
Mon Jan  1 22:16:55 2018: Controller activated. Version 1.9.11 (unknown) built on Mon Mar 27 23:44:11 2017
Mon Jan  1 22:16:55 2018: Loading settings from "/home/user/.config/jack/conf.xml" using expat_2.2.2 ...
Mon Jan  1 22:16:55 2018: ERROR: failed to stat "/home/user/.config/jack/conf.xml", error is 2 (No such file or directory)
Mon Jan  1 22:16:55 2018: ERROR: open() failed to open conf filename.
Mon Jan  1 22:16:55 2018: Listening for D-Bus messages
Mon Jan  1 22:20:20 2018: ------------------
Mon Jan  1 22:20:20 2018: Controller activated. Version 1.9.11 (unknown) built on Mon Mar 27 23:44:11 2017
Mon Jan  1 22:20:21 2018: Loading settings from "/home/user/.config/jack/conf.xml" using expat_2.2.2 ...
Mon Jan  1 22:20:21 2018: ERROR: failed to stat "/home/user/.config/jack/conf.xml", error is 2 (No such file or directory)
Mon Jan  1 22:20:21 2018: ERROR: open() failed to open conf filename.
Mon Jan  1 22:20:21 2018: Listening for D-Bus messages
Mon Jan  1 22:20:25 2018: Saving settings to "/home/user/.config/jack/conf.xml" ...
Mon Jan  1 22:20:37 2018: Saving settings to "/home/user/.config/jack/conf.xml" ...
Mon Jan  1 22:21:01 2018: Saving settings to "/home/user/.config/jack/conf.xml" ...
Mon Jan  1 22:21:03 2018: Starting jack server...
Mon Jan  1 22:21:03 2018: JACK server starting in realtime mode with priority 10
Mon Jan  1 22:21:03 2018: self-connect-mode is "Don't restrict self connect requests"
Mon Jan  1 22:21:03 2018: ERROR: Cannot lock down 82274202 byte memory area (Cannot allocate memory)
Mon Jan  1 22:21:03 2018: Acquired audio card Audio0
Mon Jan  1 22:21:03 2018: creating alsa driver ... hw:PCH,0|hw:PCH,0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Mon Jan  1 22:21:03 2018: configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
Mon Jan  1 22:21:03 2018: ALSA: final selected sample format for capture: 32bit integer little-endian
Mon Jan  1 22:21:03 2018: ALSA: use 2 periods for capture
Mon Jan  1 22:21:03 2018: ALSA: final selected sample format for playback: 32bit integer little-endian
Mon Jan  1 22:21:03 2018: ALSA: use 2 periods for playback
Mon Jan  1 22:21:03 2018: ERROR: Cannot use real-time scheduling (RR/10)(1: Operation not permitted)
Mon Jan  1 22:21:03 2018: ERROR: AcquireSelfRealTime error
Mon Jan  1 22:21:08 2018: ERROR: JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Mon Jan  1 22:21:08 2018: ERROR: Driver is not running
Mon Jan  1 22:21:08 2018: ERROR: Cannot open client name = dbusapi
Mon Jan  1 22:21:08 2018: ERROR: failed to create dbusapi jack client
I already tried many solutions that i found googling, but ended just crashing the system, then i googled more and found this:

Code: Select all

https://linuxmusicians.com/viewtopic.php?f=47&p=81243
I use Deepin and installed KXStudio from their official store:

Code: Select all

http://appstore.deepin.org/app/cadence
Thanks and happy new year.
tempMusician
Established Member
Posts: 3
Joined: Mon Jan 01, 2018 9:27 pm

Re: cadence can't start jack

Post by tempMusician »

falkTX wrote:Your home folder does not seem to be writable?
/home/user/.config/jack/conf.xml file fails to write, as it doesn't exist (jack settings are not be saved) then jack fails to read your settings.

I have no idea what is deepin store is, never heard of it, so it's completely unsupported by me.
Perhaps the version you installed is broken, I have no idea...

(Cadence is not KXStudio though, Cadence is just a small application)

I need more details about what exactly you did to your system.
Did you enable the kxstudio repos? Did you install all the updates afterwards? Also installed kxstudio-default-settings?
(If any of these 3 are a no, then things won't work right for you)
Thanks for the reply!

The configuration file was created and loaded successfully.

Deepin store is the official app store for Deepin Linux, their link to Cadence is actually a link to KXStudio on the store, i don't know why it's Cadence on the URL.

What i did was press the install button on the store, i'm not sure what actually the store does, but not all the KXStudio applications were installed, only Cadence (Catarina, Catia, Claudia), Meterbridge and QJackctl. I think this is some beta version for KXStudio on their store, but i didn't found anything on Deepin.org about KXStudio.

My objective right now is setup Jack, then install other applications like Guitarix and Ardour.
tempMusician
Established Member
Posts: 3
Joined: Mon Jan 01, 2018 9:27 pm

Re: cadence can't start jack

Post by tempMusician »

falkTX wrote:Then forget the depin store completely.
I had no idea it existed, it was done imported by me and I have no idea what it actually does.

For kxstudio, use the official website.
Start here http://kxstudio.linuxaudio.org/Repositories
Then see http://kxstudio.linuxaudio.org/Document ... a-Packages
Well, i tried installing with the official method and the problem persist. Now i`m into the live cd version of KXStudio and Cadence don`t even start. It gives me this error:

Code: Select all

Using Tray Engine 'Qt'
ERROR:dbus.proxies:Introspect error on :1.20:/org/jackaudio/Controller: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
  File "/usr/share/cadence/src/cadence.py", line 2320, in <module>
    gui = CadenceMainW()
  File "/usr/share/cadence/src/cadence.py", line 1200, in __init__
    self.DBusReconnect()
  File "/usr/share/cadence/src/cadence.py", line 1222, in DBusReconnect
    if gDBus.jack.IsStarted():
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
I`m thinking in setup a Jack server in a Arch Linux system, any thoughts?
Post Reply