Problem with jack in ubuntu 18.04

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
Kosmas
Established Member
Posts: 3
Joined: Thu Oct 27, 2016 1:33 pm

Problem with jack in ubuntu 18.04

Post by Kosmas »

In my new laptop I installed ubuntu 18.04 and tried multiple installations of jack1, jack2 qjackqtl 0.4.5 and 0.5.6. I get the following errors:

Code: Select all

03:51:15.650 Statistics reset.
03:51:15.655 ALSA connection change.
03:51:15.657 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
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
03:51:15.670 ALSA connection graph change.
03:51:21.525 D-BUS: SetParameterValue('driver:device', 'hw:PCH'): Invalid container address 'driver':'device':'(null)' supplied to method 'SetParameterValue'.. (org.jackaudio.Error.InvalidArgs)
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
Wed Apr 10 03:51:21 2019: ERROR: Invalid container address 'driver':'device':'(null)' supplied to method 'SetParameterValue'.
03:51:23.482 D-BUS: SetParameterValue('driver:nperiods', '2'): Invalid container address 'driver':'nperiods':'(null)' supplied to method 'SetParameterValue'.. (org.jackaudio.Error.InvalidArgs)
03:51:23.574 D-BUS: SetParameterValue('driver:softmode', 'false'): Invalid container address 'driver':'softmode':'(null)' supplied to method 'SetParameterValue'.. (org.jackaudio.Error.InvalidArgs)
Wed Apr 10 03:51:23 2019: Saving settings to "/home/kosmas/.config/jack/conf.xml" ...
Wed Apr 10 03:51:23 2019: ERROR: Invalid container address 'driver':'nperiods':'(null)' supplied to method 'SetParameterValue'.
Wed Apr 10 03:51:23 2019: ERROR: Invalid container address 'driver':'softmode':'(null)' supplied to method 'SetParameterValue'.
03:51:23.838 D-BUS: SetParameterValue('driver:shorts', 'false'): Invalid container address 'driver':'shorts':'(null)' supplied to method 'SetParameterValue'.. (org.jackaudio.Error.InvalidArgs)
03:51:23.947 D-BUS: SetParameterValue('driver:hwmon', 'false'): Invalid container address 'driver':'hwmon':'(null)' supplied to method 'SetParameterValue'.. (org.jackaudio.Error.InvalidArgs)
03:51:24.224 D-BUS: SetParameterValue('driver:hwmeter', 'false'): Invalid container address 'driver':'hwmeter':'(null)' supplied to method 'SetParameterValue'.. (org.jackaudio.Error.InvalidArgs)
03:51:24.327 D-BUS: ResetParameterValue('driver:midi-driver'): Invalid container address 'driver':'midi-driver':'(null)' supplied to method 'ResetParameterValue'.. (org.jackaudio.Error.InvalidArgs)
03:51:24.581 D-BUS: SetParameterValue('driver:duplex', 'true'): Invalid container address 'driver':'duplex':'(null)' supplied to method 'SetParameterValue'.. (org.jackaudio.Error.InvalidArgs)
Wed Apr 10 03:51:23 2019: ERROR: Invalid container address 'driver':'shorts':'(null)' supplied to method 'SetParameterValue'.
Wed Apr 10 03:51:23 2019: ERROR: Invalid container address 'driver':'hwmon':'(null)' supplied to method 'SetParameterValue'.
Wed Apr 10 03:51:24 2019: ERROR: Invalid container address 'driver':'hwmeter':'(null)' supplied to method 'SetParameterValue'.
Wed Apr 10 03:51:24 2019: ERROR: Invalid container address 'driver':'midi-driver':'(null)' supplied to method 'ResetParameterValue'.
Wed Apr 10 03:51:24 2019: ERROR: Invalid container address 'driver':'duplex':'(null)' supplied to method 'SetParameterValue'.
03:51:24.689 D-BUS: SetParameterValue('driver:capture', 'hw:PCH'): Parameter value type mismatch: was expecting 'u', got 's'. (org.jackaudio.Error.InvalidArgs)
Wed Apr 10 03:51:24 2019: ERROR: Parameter value type mismatch: was expecting 'u', got 's'
Wed Apr 10 03:51:25 2019: Saving settings to "/home/kosmas/.config/jack/conf.xml" ...
03:51:26.158 D-BUS: SetParameterValue('driver:playback', 'hw:PCH'): Parameter value type mismatch: was expecting 'u', got 's'. (org.jackaudio.Error.InvalidArgs)
03:51:26.350 D-BUS: ResetParameterValue('driver:inchannels'): Invalid container address 'driver':'inchannels':'(null)' supplied to method 'ResetParameterValue'.. (org.jackaudio.Error.InvalidArgs)
03:51:26.443 D-BUS: ResetParameterValue('driver:outchannels'): Invalid container address 'driver':'outchannels':'(null)' supplied to method 'ResetParameterValue'.. (org.jackaudio.Error.InvalidArgs)
Wed Apr 10 03:51:26 2019: ERROR: Parameter value type mismatch: was expecting 'u', got 's'
Wed Apr 10 03:51:26 2019: ERROR: Invalid container address 'driver':'inchannels':'(null)' supplied to method 'ResetParameterValue'.
Wed Apr 10 03:51:26 2019: ERROR: Invalid container address 'driver':'outchannels':'(null)' supplied to method 'ResetParameterValue'.
03:51:26.714 D-BUS: SetParameterValue('driver:dither', 'n'): Invalid container address 'driver':'dither':'(null)' supplied to method 'SetParameterValue'.. (org.jackaudio.Error.InvalidArgs)
03:51:26.879 D-BUS: ResetParameterValue('driver:input-latency'): Invalid container address 'driver':'input-latency':'(null)' supplied to method 'ResetParameterValue'.. (org.jackaudio.Error.InvalidArgs)
03:51:26.979 D-BUS: ResetParameterValue('driver:output-latency'): Invalid container address 'driver':'output-latency':'(null)' supplied to method 'ResetParameterValue'.. (org.jackaudio.Error.InvalidArgs)
03:51:27.331 D-BUS: JACK server could not be started. Sorry
Wed Apr 10 03:51:26 2019: ERROR: Invalid container address 'driver':'dither':'(null)' supplied to method 'SetParameterValue'.
Wed Apr 10 03:51:26 2019: ERROR: Invalid container address 'driver':'input-latency':'(null)' supplied to method 'ResetParameterValue'.
Wed Apr 10 03:51:26 2019: ERROR: Invalid container address 'driver':'output-latency':'(null)' supplied to method 'ResetParameterValue'.
Wed Apr 10 03:51:27 2019: Starting jack server...
Wed Apr 10 03:51:27 2019: JACK server starting in non-realtime mode
Wed Apr 10 03:51:27 2019: self-connect-mode is "Don't restrict self connect requests"
Wed Apr 10 03:51:27 2019: ERROR: Can't load "/usr/local/lib/jack/jack_dummy.so": /usr/local/lib/jack/jack_dummy.so: cannot open shared object file: No such file or directory
Wed Apr 10 03:51:27 2019: ERROR: Cannot initialize driver
Wed Apr 10 03:51:27 2019: ERROR: JackServer::Open failed with -1
Wed Apr 10 03:51:27 2019: ERROR: Failed to open server
03:51:30.748 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
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
Any ideas how to solve these problems? It seems that some parameters are wrong.
User avatar
sysrqer
Established Member
Posts: 2519
Joined: Thu Nov 14, 2013 11:47 pm
Has thanked: 319 times
Been thanked: 148 times
Contact:

Re: Problem with jack in ubuntu 18.04

Post by sysrqer »

Go in to the preferences in qjackctl and make sure your soundcard is selected.
Musicteacher
Established Member
Posts: 194
Joined: Mon Nov 13, 2017 5:54 am
Has thanked: 8 times
Been thanked: 4 times

Re: Problem with jack in ubuntu 18.04

Post by Musicteacher »

Or have a look if your soundcard has a power-knob. I frequently forget to turn it on, then I get errors like this!
Kosmas
Established Member
Posts: 3
Joined: Thu Oct 27, 2016 1:33 pm

Re: Problem with jack in ubuntu 18.04

Post by Kosmas »

I manage to solve these errors by deleting the file:

Code: Select all

~/.config/rncbc.org/QjackCtl.conf
Post Reply