qJackCtl cannot connect to server after changing Output Device

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
tabache
Posts: 2
Joined: Thu Dec 17, 2020 11:52 am

qJackCtl cannot connect to server after changing Output Device

Post by tabache »

hello,
qJackCtl was running perfectly, but after trying to change the Output Device/Input Device settings, It does no longer connects to the server :(
The Output and Input Device settings by default they had the word "(default)". So after trying change them I've re-entered this word "(default)".
(from the drop-down menu of the parameter it was never possible to select anything, there were never any suggestions)

Image

Now when I open qJackCtl I've got these messages:

Code: Select all

22:23:39.381 Statistics reset.
22:23:39.388 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
and after click on start these
"D-BUS: Jack Server could not be started
sorry"
"Could not connect to JACK server as client.
-overall operation failed.
-unable to connect to server
please check message window for more info"

and below message window messages:

Code: Select all

Fri Jan 22 22:31:22 2021: Starting jack server...
Fri Jan 22 22:31:22 2021: JACK server starting in realtime mode with priority 10
Fri Jan 22 22:31:22 2021: self-connect-mode is "Don't restrict self connect requests"
Fri Jan 22 22:31:22 2021: ERROR: Cannot lock down 82280346 byte memory area (Cannot allocate memory)
Fri Jan 22 22:31:22 2021: Acquired audio card Audio0
Fri Jan 22 22:31:22 2021: creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
Fri Jan 22 22:31:22 2021: ERROR: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Fri Jan 22 22:31:22 2021: Released audio card Audio0
Fri Jan 22 22:31:22 2021: ERROR: Cannot initialize driver
Fri Jan 22 22:31:22 2021: ERROR: JackServer::Open failed with -1
Fri Jan 22 22:31:22 2021: ERROR: Failed to open server
Fri Jan 22 22:31:24 2021: Saving settings to "/home/tabache/.config/jack/conf.xml" ...
22:32:33.690 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
:(
User avatar
rncbc
Established Member
Posts: 1068
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 269 times
Contact:

Re: qJackCtl cannot connect to server after changing Output Device

Post by rncbc »

sounds like your qjackctl build in particular is crippled...

please try another one... at least one that gets you with the proper and standard features (eg. compiled with alsa-devel, alsa-lib-devel or libasound2-dev present;))
tabache
Posts: 2
Joined: Thu Dec 17, 2020 11:52 am

Re: qJackCtl cannot connect to server after changing Output Device

Post by tabache »

rncbc wrote: Sat Jan 23, 2021 5:41 pm sounds like your qjackctl build in particular is crippled...

please try another one... at least one that gets you with the proper and standard features (eg. compiled with alsa-devel, alsa-lib-devel or libasound2-dev present;))
thank you for the answer,
maybe you are right, but it also seems to me that it is the fault of the server that no longer starts.

if I put in the command line

Code: Select all

jack_control  start
I've got the error

Code: Select all

--- start
DBus exception: org.jackaudio.Error.Generic: Failed to open server
User avatar
rncbc
Established Member
Posts: 1068
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 269 times
Contact:

Re: qJackCtl cannot connect to server after changing Output Device

Post by rncbc »

you need to select the correct alsa device name...most probably "hw:0" (default) is not the one.
ramrebol
Established Member
Posts: 3
Joined: Fri Jun 19, 2020 12:38 am

Re: qJackCtl cannot connect to server after changing Output Device

Post by ramrebol »

Hello, I have the same problem (Ubuntu 18.04)

I try with all output and input devices, but I can't solve it.

Can someone give another idea to try to solve this?
Post Reply