So I've tried lots of variations on startup, uids, setuid or not etc.  I just 
found that the "JACK_START" control in /etc/rc.d/init.d/rivendell or 
/etc/sysconfig/rivendell was no (guess I changed it back to no sometime 
yesterday), so I set it to yes.  However, these are slower PCs, and so the 
sequence

        jackd … &
        ipcrm …
        caed …

was not executing in order, and jackd had not started successfully before caed 
had grabbed the alsa device and so jackd wasn't starting that way.  I added a 
sleep after the jackd … & to make sure it got the device.

So right now, I see them all running under the same id.

[radio@localhost ~]$ ps lxa | head -1;ps lxa | egrep '(caed|jack)' | grep -v 
grep
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
0   500  9037     1  20   0  94844 32152 -      SLsl ?          0:02 
/usr/local/bin/jackd -d alsa -d hw:0 -r 48000
1   500  9044     1  20   0  60808  7120 -      Ss   ?          0:01 
/usr/local/bin/caed
0   500  9086     1  20   0 149236 30988 -      SLl  ?          0:03 
/usr/local/bin/qjackctl

I'd like to check jack by itself, but I don't know how to do that since all the 
desktop testing etc wants to use pulseaudio services.  Since I've been many 
servers and maintain them daily, the mechanics of all of this are familiar.  
But, I don't know anything about the linux audio tools state these days.  Where 
does the vlc-jack.plugin fit in at?  Some specifics would be most helpful.

Regarding RDAdmin…Audio Resources, it is now showing no audio devices, where as 
in the past, I have seen the Jack "card" visible there with an 8x8 
configuration.  I remove setuid root on everything to try it that way, and 
perhaps there are permissions which are now not allowing access.

Gregg

On Aug 15, 2012, at 6:01 PM, Alessio Elmi <[email protected]> wrote:

> Hi Gregg,
> apart from Rivendell, are you sure Jack works properly? Try to link
> something else to Jack output (I use to test with vlc-jack.plugin).
> In case Jack is well configured so it's probably something related
> with Rivendell... After you started Jack (you see green light and
> counter progresses) then you fire up Rivendell daemons. Now look what
> "RDAdmin -> Manage Hosts -> Edit -> Audio Resources" says... you
> should be able to see Jack server 8 input/8output...
> Even Jack should see Rivendell. Link Rivendell output (from left side
> of Connections window) to System output.
> Where do you exactly get lost?
> 
> Alessio
> 
> 2012/8/16 Gregg Wonderly <[email protected]>:
>> Well, caed is setuid-root, and jackd and qjackctl were running as the id of
>> desktop user.  I tried changing those two to also be setuid-root but that
>> did not improve anything.
>> 
>> Gregg
>> 
>> On Aug 15, 2012, at 4:34 PM, Fernando Della Torre <[email protected]> wrote:
>> 
>> Gregg,
>> 
>> Are you sure that jackd, qjackctl and caed are all running under the same
>> user account?
>> 
>> 
>> 
>> Atenciosamente,
>> 
>> Fernando Della Torre
>> Tecnologia da Informação
>> (: +55 16 8137-1240
>> (: +55 16 9137-2886
>> *: [email protected]
>> V.D.I.T. Soluções em Virtualização
>> 
>> 
>> A utilização deste e-mail não implica em autorização ou outorga de poderes
>> para seu usuário praticar qualquer ato em nome das empresas citadas, cuja
>> representação considera-se válida se praticada exclusivamente por
>> representante legal ou procurador devidamente constituído, na forma
>> estabelecida em seu respectivo estatuto ou contrato social
>> 
>> 
>> 
>> 2012/8/15 Gregg Wonderly <[email protected]>
>>> 
>>> What I see, is that the Jack pieces are not all built for Centos 6.  I
>>> sense that quite a few of you are using Ubuntu.  I just really prefer the
>>> administration mechanisms that redhat provides.  But, I am not having a lot
>>> of luck in figuring out exactly how to get Centos 6 on 32bit, building
>>> everything from scratch, to use Jack successfully.  When I start qjackctl, I
>>> get a click in the audio, indicating something is messing with it.  However,
>>> in rdairplay, when I drag the test sound into the sound panel area, and then
>>> click on it, I hear nothing.  On another 32bit install, without jack, this
>>> works fine.
>>> 
>>> So, as the frustration builds, I'm leaning toward just switching to Ubuntu
>>> and starting over.  I've built jack2 from scratch and installed it (that
>>> required some dependency tracking down itself).  Is this one of the reasons
>>> why Rivendell doesn't seem attractive to everyone?  This audio stuff really
>>> has to work well and dependably for my customer, so I'd really like to be
>>> able to wrap my head around why this is not just working.
>>> 
>>> Any other pointers to Centos and Jack configuration and/or prebuilt RPMs
>>> that just install would be appreciated.
>>> 
>>> Gregg Wonderly
>>> 
>>> 
>>> On Aug 15, 2012, at 7:36 AM, Fernando Della Torre <[email protected]>
>>> wrote:
>>> 
>>> Hello all!
>>> 
>>> IMHO Pulse sucks, Jack using ALSA backend RULES!
>>> 
>>> With Jack2 you can still make use of netjack and distribute audio
>>> processing and streaming encoding through other servers or desktops.
>>> Fantastic.
>>> 
>>> I have this setup running in the old Ubuntu 10.04, gotta port it to 12.04
>>> as soon as I can.
>>> 
>>> Regards.
>>> 
>>> 
>>> 
>>> Atenciosamente,
>>> 
>>> Fernando Della Torre
>>> Tecnologia da Informação
>>> (: +55 16 8137-1240
>>> (: +55 16 9137-2886
>>> *: [email protected]
>>> V.D.I.T. Soluções em Virtualização
>>> 
>>> 
>>> A utilização deste e-mail não implica em autorização ou outorga de poderes
>>> para seu usuário praticar qualquer ato em nome das empresas citadas, cuja
>>> representação considera-se válida se praticada exclusivamente por
>>> representante legal ou procurador devidamente constituído, na forma
>>> estabelecida em seu respectivo estatuto ou contrato social
>>> 
>>> 
>>> 
>>> 2012/8/15 Wayne Merricks <[email protected]>
>>>> 
>>>> Hi,
>>>> 
>>>> The Ubu 1104 is a bit out of date although technically will still work.
>>>> I wrote a Debian 6 guide on the Rivendell wiki that had a much easier way 
>>>> of
>>>> working with jack instead of having to use an init script.
>>>> 
>>>> http://rivendell.tryphon.org/wiki/Rivendell_on_Debian_6
>>>> 
>>>> The package names are usable in Ubuntu 12.04 too so nothing really
>>>> changes apart from insserv not being part of Ubuntu so you still need to 
>>>> use
>>>> update-rc.d.  If you do use 12.04 you have to export your QTDIR as the
>>>> configure script doesn't see it by default (this may have been fixed in
>>>> 2.1.5).
>>>> 
>>>> As for JACK, Pulse etc, its fiddly.  The first thing you have to do is
>>>> stop pulse from working by editing the client.conf.
>>>> 
>>>> Then you get ALSA and JACK playing.  Then bolt on Pulse, then finally
>>>> Rivendell.
>>>> 
>>>> If you jump in and throw them all on at once you have to spend the first
>>>> 5minutes disabling everything so you can start manually building it back 
>>>> up.
>>>> 
>>>> 
>>>> Wayne Merricks
>>>> The Voice Asia
>>>> 
>>>> On 15/08/12 02:21, Gregg Wonderly wrote:
>>>> 
>>>> Thanks, I hadn't seen that.  I'm using centos on my builds, but most of
>>>> this should be usable.
>>>> 
>>>> Gregg
>>>> 
>>>> On Aug 14, 2012, at 6:08 PM, Jorge Soto <[email protected]> wrote:
>>>> 
>>>> 
>>>> have you tried following this guide?
>>>> http://www.thevoiceasia.com/rivendell/Rivendell_2_on_Ubuntu_1104.pdf
>>>> I have, works fine.
>>>> 
>>>> ________________________________
>>>> From: Gregg Wonderly <[email protected]>
>>>> To: User discussion about the Rivendell Radio Automation System
>>>> <[email protected]>
>>>> Sent: Tuesday, August 14, 2012 4:00 PM
>>>> Subject: [RDD] To Jack or not to Jack
>>>> 
>>>> I am having some odd experiences between two machine that I've built
>>>> rivendell from scratch on.  On one, rivendell rdairplay will play through
>>>> the sounds system just fine.  On a laptop with (also with AC'97 hardware), 
>>>> I
>>>> can get the system preferences Sound "hardware test" to play "left speaker"
>>>> and "right speaker" samples, but rdairplay, plays nothing.  On the laptop,
>>>> I've tried to install Jack for use there, so that we could do some other
>>>> things with audio streams.  Using ALSA support is very frustrating in
>>>> concert with pulse audio because the device comes and goes from appearance
>>>> in the system preferences due to the "one user of the device at a time"
>>>> business.
>>>> 
>>>> Does anyone have a favorite web page with a check list for ALSA and Jack
>>>> audio setup that might help me walk through the issues I need to look at to
>>>> resolve where my audio problem is at on the laptop?
>>>> 
>>>> Gregg Wonderly
>>>> _______________________________________________
>>>> Rivendell-dev mailing list
>>>> [email protected]
>>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Rivendell-dev mailing list
>>>> [email protected]
>>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Rivendell-dev mailing list
>>>> [email protected]
>>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>>> 
>>>> 
>>>> ________________________________
>>>> Scanned by MailMarshal
>>>> ________________________________
>>>> 
>>>> ________________________________
>>>> Attention:
>>>> The information contained in this message is confidential and intended
>>>> for the addressee(s) only. If you have received this message in error or
>>>> there are any problems, please notify the originator immediately. The
>>>> unauthorised use, disclosure, copying or alteration of this message is
>>>> strictly forbidden. Christian Vision or any of its subsidiaries will not be
>>>> liable for direct, special, indirect or consequential damages arising from
>>>> alteration of the contents of this message by a third party or as a result
>>>> of any virus being passed on. Please note that we reserve the right to
>>>> monitor and read any e-mails sent or received by the company under the
>>>> Telecommunications (Lawful Business Practice) (Interception of
>>>> Communications) Regulation 2000. Christian Vision is registered in England
>>>> as a limited company 2842414 and
>>>> as a charity 1031031
>>>> ________________________________
>>>> 
>>>> _______________________________________________
>>>> Rivendell-dev mailing list
>>>> [email protected]
>>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>>> 
>>> 
>>> _______________________________________________
>>> Rivendell-dev mailing list
>>> [email protected]
>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Rivendell-dev mailing list
>>> [email protected]
>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>> 
>> 
>> _______________________________________________
>> Rivendell-dev mailing list
>> [email protected]
>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>> 
>> 
>> 
>> _______________________________________________
>> Rivendell-dev mailing list
>> [email protected]
>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>> 
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to