will not start with Jack running

Help for Audacity 2.x.x on GNU/Linux.
Forum rules
ImageThis forum is for Audacity 2.x.x on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
rsholmes
Posts: 6
Joined: Mon Sep 26, 2016 1:39 am
Operating System: OS X 10.11 El Capitan or later (macOS)

will not start with Jack running

Post by rsholmes » Tue Nov 27, 2018 3:31 am

using
Linux Mint 19
Audacity v2.2.1
Distribution's release

audacity will not start up if Jack is running. There are error messages but when I try to include them in this forum, posting is blocked by Cloudflare. I will try to add them as an attachment.

A similar problem was reported at http://mxlinux.org/forum/viewtopic.php?t=43541 but the solution given there (set default-fragment-size-msec = 2 in /etc/pulse/daemon.conf) did not work for me.

steve
Site Admin
Posts: 49025
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: will not start with Jack running

Post by steve » Tue Nov 27, 2018 9:00 am

Is Linux Mint your usual operating system? (Your profile says Mac OS)

That other topic is unrelated - they do not have Jack running.
Do you have Jack running? How did you start Jack?
Why are you using Jack?
Does Audacity work for you with PulseAudio?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

rsholmes
Posts: 6
Joined: Mon Sep 26, 2016 1:39 am
Operating System: OS X 10.11 El Capitan or later (macOS)

Re: will not start with Jack running

Post by rsholmes » Wed Nov 28, 2018 12:35 am

Audacity does work with Jack not running.

I'm trying to use Audacity in conjunction with sound production and processing applications such as amsynth and Bristol, using Jack to connect. Jack is started using QjackCtl (version 0.4.5).

I tried it again with the QjackCtl Messages window open, and upon trying to start Audacity, I start getting this message repeatedly:

XRUN callback (42 skipped)

steve
Site Admin
Posts: 49025
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: will not start with Jack running

Post by steve » Wed Nov 28, 2018 12:43 am

rsholmes wrote:
Wed Nov 28, 2018 12:35 am
Audacity does work with Jack not running.
So you are saying that Audacity doesn't work with Jack running, and doesn't work when Jack is NOT running?
Do you mean that you can't get Audacity to run at all (irrespective of Jack)?

rsholmes wrote:
Wed Nov 28, 2018 12:35 am
XRUN callback (42 skipped)
That indicates that your computer is not running fast enough to maintain the audio stream.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

rsholmes
Posts: 6
Joined: Mon Sep 26, 2016 1:39 am
Operating System: OS X 10.11 El Capitan or later (macOS)

Re: will not start with Jack running

Post by rsholmes » Wed Nov 28, 2018 12:48 am

No, read my message again: "Audacity does work with Jack not running."

New information: After several minutes (I probably gave up too soon before) Audacity threw these messages

Expression 'err != ETIMEDOUT' failed in 'src/hostapi/jack/pa_jack.c', line: 1017
Expression 'result' failed in 'src/hostapi/jack/pa_jack.c', line: 1037
Expression 'AddStream( stream )' failed in 'src/hostapi/jack/pa_jack.c', line: 1313

and the GUI came up but froze up when I tried to record; I had to force quit Audacity, QjackCtl, and jackdbus.

rsholmes
Posts: 6
Joined: Mon Sep 26, 2016 1:39 am
Operating System: OS X 10.11 El Capitan or later (macOS)

Re: will not start with Jack running

Post by rsholmes » Wed Nov 28, 2018 1:36 am

I replicated as follows:

- Restart system
- Log in, start Terminal. No other apps running. (WM is Cinnamon.)
- Start QjackCtl from terminal command line
- Start Audacity from terminal command line. Prints some warnings/errors up through:

Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628

Then nothing happens for 10 minutes, during which Jack generates XRUN callback messages, after which:

Expression 'err != ETIMEDOUT' failed in 'src/hostapi/jack/pa_jack.c', line: 1017
Expression 'result' failed in 'src/hostapi/jack/pa_jack.c', line: 1037
Expression 'AddStream( stream )' failed in 'src/hostapi/jack/pa_jack.c', line: 1313

and at that point the GUI appears. I haven't gotten playback or recording working after that. XRUN callback messages continue.


Computer is i5-8400 CPU @ 2.80GHz × 6 with 8 GB memory. Is that insufficient especially with nothing else running?

rsholmes
Posts: 6
Joined: Mon Sep 26, 2016 1:39 am
Operating System: OS X 10.11 El Capitan or later (macOS)

Re: will not start with Jack running

Post by rsholmes » Wed Nov 28, 2018 1:44 am

steve wrote:
Tue Nov 27, 2018 9:00 am
Is Linux Mint your usual operating system? (Your profile says Mac OS)
I seem to be unable to edit my profile for some reason.

steve
Site Admin
Posts: 49025
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: will not start with Jack running

Post by steve » Wed Nov 28, 2018 2:17 am

Do other recording programs (such as Ardour) work with your current Jack configuration?
rsholmes wrote:
Wed Nov 28, 2018 1:44 am
I seem to be unable to edit my profile for some reason.
If your main OS is Linux, I can update that for you.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply