How to start jackd automatically?

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
aknudsen

How to start jackd automatically?

Post by aknudsen »

I've already configured PulseAudio to go via JACK, how do I make the JACK server (jackd) run automatically with certain parameters upon system startup?

The parameters that work for me are "-dalsa -P". Not entirely sure why -P is necessary, but I am only interested in playback and without that option JACK isn't able to output any sound. I suspect the latter issue is due to the fact that this is a virtual machine (VMWare).
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
cwsnyder

Re: How to start jackd automatically?

Post by cwsnyder »

Read the full wiki at https://help.ubuntu.com/community/HowTo ... figuration including the warnings about crashing because you change Jack settings when you autostart Jack.
aknudsen

Re: How to start jackd automatically?

Post by aknudsen »

cwsnyder wrote:Read the full wiki at https://help.ubuntu.com/community/HowTo ... figuration including the warnings about crashing because you change Jack settings when you autostart Jack.
The wiki only says how to auto-start jackd upon QJackCtl startup though? It needs to be upon system startup.
cwsnyder

Re: How to start jackd automatically?

Post by cwsnyder »

You can't start Jack without a controller such as QJackCtl in place. If you want to start Jack on system startup, you have to start QJackCtl.

[edit]Reference http://www.64studio.com/quickstart_jack[/edit]
aknudsen

Re: How to start jackd automatically?

Post by aknudsen »

Are you sure about this statement? I can run jackd from the command line without problems and connect to it with client programs, QJackCtl should only be an optional graphical interface to JACK to my understanding.
cwsnyder

Re: How to start jackd automatically?

Post by cwsnyder »

I am sure that is what the reference stated. I think if you already have Jack configured and you make no changed connections nor changes to controls, you can simply start Jack. But if you aren't going to control the configuration, why start Jack at all? No, you don't have to use a GUI (see http://linux-audio.com/jack/) at all, but if you do want to change your configuration, you are either going to have to start a control app, or you are going to have to enter a new jackd command from a console. Starting a control app in the middle of a session would mean that the control app would re-initialize jackd with the configured defaults of the control app. Is that what you want? If so, again, why do you need to start jackd at system start?

If you are configuring this for someone who is NOT computer/Mint literate, I would recommend one of the specialty Linux distros instead of Mint, such as AVLinux, Ubuntu Studio, et al.
aknudsen

Re: How to start jackd automatically?

Post by aknudsen »

I only need the JACK sound server functionality. My reason for installing JACK is that I am using an audio application that supports either JACK or raw ALSA. Then it makes sense to go via JACK, since connecting directly to ALSA can be a PITA (for instance, a device can be busy).
Locked

Return to “Sound”