How to start jackd automatically?

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read this

How to start jackd automatically?

Postby aknudsen on Sun Jan 05, 2014 2:48 pm

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 aknudsen on Tue Jan 07, 2014 10:49 am, edited 1 time in total.
aknudsen
Level 1
Level 1
 
Posts: 4
Joined: Sun Jan 05, 2014 2:00 pm

Linux Mint is funded by ads and donations.
 

Re: How to start jackd automatically?

Postby cwsnyder on Tue Jan 07, 2014 10:37 am

Read the full wiki at https://help.ubuntu.com/community/HowToJACKConfiguration including the warnings about crashing because you change Jack settings when you autostart Jack.
LMDE Mate 64-bit, LM16 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 13.10 64-bit, Xubuntu Trusty Tahr 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1039
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: How to start jackd automatically?

Postby aknudsen on Tue Jan 07, 2014 10:47 am

cwsnyder wrote:Read the full wiki at https://help.ubuntu.com/community/HowToJACKConfiguration 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.
aknudsen
Level 1
Level 1
 
Posts: 4
Joined: Sun Jan 05, 2014 2:00 pm

Re: How to start jackd automatically?

Postby cwsnyder on Tue Jan 07, 2014 4:26 pm

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]
LMDE Mate 64-bit, LM16 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 13.10 64-bit, Xubuntu Trusty Tahr 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1039
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: How to start jackd automatically?

Postby aknudsen on Tue Jan 07, 2014 4:37 pm

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.
aknudsen
Level 1
Level 1
 
Posts: 4
Joined: Sun Jan 05, 2014 2:00 pm

Re: How to start jackd automatically?

Postby cwsnyder on Tue Jan 07, 2014 5:31 pm

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.
LMDE Mate 64-bit, LM16 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 13.10 64-bit, Xubuntu Trusty Tahr 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1039
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: How to start jackd automatically?

Postby aknudsen on Tue Jan 07, 2014 5:52 pm

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).
aknudsen
Level 1
Level 1
 
Posts: 4
Joined: Sun Jan 05, 2014 2:00 pm

Linux Mint is funded by ads and donations.
 

Return to Sound, Multimedia, & Codecs

Who is online

Users browsing this forum: No registered users and 5 guests