Re: [RDD] Idiots guide to getting JACK audio running.

2020-05-26 Thread Andrew Pepper
Thanks for the pointers. I'll try that when I get home.
Jack audio and I have battled for years. Linux is my main and only OS and
has been for about 10 years now. On and off I've tried to get it working...
It's been my nemesis haha.
And yes, I'll stop by irc for help, thanks
Andrew

On Tue, May 26, 2020, 07:36 drew Roberts  wrote:

> Andrew,
>
> I am doing this from memory but try the following as an alternative to
> your jack line in rdadmin:
>
> jackd -R -d dummy -r 48000
>
> then ps ax | grep jackd should show something like:
>
> $ ps ax | grep jackd
>  4243 pts/4SLl+   0:00 jackd -R -d dummy -r 48000
>  4262 pts/19   S+ 0:00 grep --color=auto jackd
>
> but not quite as I started that jack from my user terminal but Rivendell
> will start jack as root on startup.
>
> On Mon, May 25, 2020 at 8:09 PM Andrew Pepper  wrote:
>
>> Hi,
>> I'm trying to get Jack audio working and I'm looking for a step by step
>> guide. I've done lots of searches but not found somewhere that seems
>> complete.
>> I'm starting jackd from RDAdmin->Manage Hosts->Jack Settings using the
>> command jackd -R -d alsa -d hw:0 -r 48000
>> if I do a ps -ax |grep jackd it seems to be running as I get the
>> following response.
>> rd2465  0.0  0.0 112812   972 pts/0S+   19:19   0:00 grep
>> --color=auto jackd
>>
>
> As someone else explained, this means jackd is not running if this is all
> you get.
>
>>
>> But if I open stereo tool it does not seem to be able to find jackd. Both
>> jackd & stereo tool are running under the user 'rd'.
>>
>
> In light of what I have written above, if you start stereotool as rd and
> not as root, it still will not see jack even though it is running.
>
>
>> I have a M Audio Delta410 and followed the instructions here
>> http://wiki.rivendellaudio.org/index.php/Delta_1010LT.
>>
>
> So far, I have been dealing with a dummy sound card to let you test
> certain things without worrying about the sound card issues at all.
>
> To get your desired card back for jack use, you most likely have to run
> rdalsaconfig (or has it changed? memory does not serve, my 3.x
> test/learning box is not booted up right now) and deselect it.
>
> Switch back from my dummy line to your alsa line and try again.
>
>
>> If I try and manually start jackd using QjackCtl I get the error message
>> saying that hw0 is already in use and cannot start. Not sure if this
>> because it's already running or one of the rivendell processes has it.
>>
>
> If you want to use qjackctl in your final setup, you will want to run it
> as root as well... (If you are on a centos7 install that is, which all of
> this is assuming) Pretty much everything jack *and* rivendell related must
> be run as root so they can see and interact with each other.
>
>
>> Can anyone point me to somewhere that has a good guide to get jack
>> running on centos7 & Rivendell 3.4?
>>
>
> Nope, but if you come to #rivendell on freenode irc, you may find someone
> willing to walk you through a setup interactively.
>
>>
>> TIA
>> Andrew
>>
>> all the best,
>
> drew
> --
> Enjoy the *Paradise Island Cam* playing
> *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Idiots guide to getting JACK audio running.

2020-05-26 Thread drew Roberts
Andrew,

I am doing this from memory but try the following as an alternative to your
jack line in rdadmin:

jackd -R -d dummy -r 48000

then ps ax | grep jackd should show something like:

$ ps ax | grep jackd
 4243 pts/4SLl+   0:00 jackd -R -d dummy -r 48000
 4262 pts/19   S+ 0:00 grep --color=auto jackd

but not quite as I started that jack from my user terminal but Rivendell
will start jack as root on startup.

On Mon, May 25, 2020 at 8:09 PM Andrew Pepper  wrote:

> Hi,
> I'm trying to get Jack audio working and I'm looking for a step by step
> guide. I've done lots of searches but not found somewhere that seems
> complete.
> I'm starting jackd from RDAdmin->Manage Hosts->Jack Settings using the
> command jackd -R -d alsa -d hw:0 -r 48000
> if I do a ps -ax |grep jackd it seems to be running as I get the following
> response.
> rd2465  0.0  0.0 112812   972 pts/0S+   19:19   0:00 grep
> --color=auto jackd
>

As someone else explained, this means jackd is not running if this is all
you get.

>
> But if I open stereo tool it does not seem to be able to find jackd. Both
> jackd & stereo tool are running under the user 'rd'.
>

In light of what I have written above, if you start stereotool as rd and
not as root, it still will not see jack even though it is running.


> I have a M Audio Delta410 and followed the instructions here
> http://wiki.rivendellaudio.org/index.php/Delta_1010LT.
>

So far, I have been dealing with a dummy sound card to let you test certain
things without worrying about the sound card issues at all.

To get your desired card back for jack use, you most likely have to run
rdalsaconfig (or has it changed? memory does not serve, my 3.x
test/learning box is not booted up right now) and deselect it.

Switch back from my dummy line to your alsa line and try again.


> If I try and manually start jackd using QjackCtl I get the error message
> saying that hw0 is already in use and cannot start. Not sure if this
> because it's already running or one of the rivendell processes has it.
>

If you want to use qjackctl in your final setup, you will want to run it as
root as well... (If you are on a centos7 install that is, which all of this
is assuming) Pretty much everything jack *and* rivendell related must be
run as root so they can see and interact with each other.


> Can anyone point me to somewhere that has a good guide to get jack running
> on centos7 & Rivendell 3.4?
>

Nope, but if you come to #rivendell on freenode irc, you may find someone
willing to walk you through a setup interactively.

>
> TIA
> Andrew
>
> all the best,

drew
-- 
Enjoy the *Paradise Island Cam* playing
*Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Idiots guide to getting JACK audio running.

2020-05-25 Thread David Klann

Hi Andrew,

On 5/25/20 6:37 PM, you wrote:

Hi,
I'm trying to get Jack audio working and I'm looking for a step by step 
guide. I've done lots of searches but not found somewhere that seems 
complete.
I'm starting jackd from RDAdmin->Manage Hosts->Jack Settings using the 
command jackd -R -d alsa -d hw:0 -r 48000
if I do a ps -ax |grep jackd it seems to be running as I get the 
following response.
rd        2465  0.0  0.0 112812   972 pts/0    S+   19:19   0:00 grep 
--color=auto jackd


Actually, if that's the only line shown by grep(1), it means JACK is 
*not* running. If JACK was running you'd see something like:


root   999  0.0  0.0   6032778 -... jackd -R -d alsa -d 
hw:0 -r 48000


(I made up all the numbers in that line.)

I'd check the system journal to see why JACK did not start:

  sudo journalctl | grep -i jack


But if I open stereo tool it does not seem to be able to find jackd. 
Both jackd & stereo tool are running under the user 'rd'.
I have a M Audio Delta410 and followed the instructions here 
http://wiki.rivendellaudio.org/index.php/Delta_1010LT.


If I try and manually start jackd using QjackCtl I get the error message 
saying that hw0 is already in use and cannot start. Not sure if this 
because it's already running or one of the rivendell processes has it.
Can anyone point me to somewhere that has a good guide to get jack 
running on centos7 & Rivendell 3.4?


This is what I would expect when you try to start JACK after Rivendell 
is already running: Rivendell takes "ownership" of the ALSA device and 
no other process can use it (which is part of the reason to run jackd in 
the first place, eh?).


Hope this helps you get to the next step in troubleshooting...

(Note to self: get cracking on that Rivendell JACK guide...)

  ~David Klann

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev