[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RDD] Autostart RD with jackd



I am attempting to close a few holes. I used to use alsa and had rd 
autostart upon power loss/restoration. My server computer is on a UPS, 
and only must survive 12 seconds without power, so this is mostly a 
convenience issue. If for some reason I restart the machine, I must 
manually start jack and then rivendell. I want to use the jackdrc file. 
Jack will not autostart whether I use realtime or not. I am running 
OpenSuSE 10.2 with rd 1.4. I have the system variable:

radio@rd2:> echo $JACK_START_SERVER
1

and I have the /etc/jackdrc file:
/usr/bin/jackd --realtime --temporary --driver alsa --rate 44100

But, for some reason, I cannot get realtime priority:
Jul 13 19:47:24 rd2 caed: Starting ALSA Play Device rd0:
Jul 13 19:47:24 rd2 caed:   Format = 16 bit little-endian
Jul 13 19:47:24 rd2 caed:   SampleRate = 44100
Jul 13 19:47:24 rd2 caed:   Aggregate Channels = 2
Jul 13 19:47:24 rd2 caed:   Periods = 4
Jul 13 19:47:24 rd2 caed:   BufferSize = 8192 frames
Jul 13 19:47:24 rd2 caed:   Device started successfully
Jul 13 19:47:24 rd2 caed: Starting ALSA Capture Device rd0:
Jul 13 19:47:24 rd2 caed:   Format = 16 bit little-endian
Jul 13 19:47:24 rd2 caed:   SampleRate = 44100
Jul 13 19:47:24 rd2 caed:   Aggregate Channels = 2
Jul 13 19:47:24 rd2 caed:   Periods = 4
Jul 13 19:47:24 rd2 caed:   BufferSize = 8192 frames
Jul 13 19:47:24 rd2 caed:   Device started successfully
Jul 13 19:47:24 rd2 caed: Starting ALSA Play Device rd1:
Jul 13 19:47:24 rd2 caed:   Format = 32 bit little-endian
Jul 13 19:47:24 rd2 caed:   SampleRate = 44100
Jul 13 19:47:24 rd2 caed:   Aggregate Channels = 10
Jul 13 19:47:24 rd2 caed:   Periods = 4
Jul 13 19:47:24 rd2 caed:   BufferSize = 6552 frames
Jul 13 19:47:24 rd2 caed:   Device started successfully
Jul 13 19:47:24 rd2 caed: Starting ALSA Capture Device rd1:
Jul 13 19:47:24 rd2 caed:   Format = 32 bit little-endian
Jul 13 19:47:24 rd2 caed:   SampleRate = 44100
Jul 13 19:47:24 rd2 caed:   Aggregate Channels = 12
Jul 13 19:47:24 rd2 caed:   Periods = 4
Jul 13 19:47:24 rd2 caed:   BufferSize = 5460 frames
Jul 13 19:47:24 rd2 caed:   Device started successfully
Jul 13 19:47:24 rd2 caed: no control device found for rd1
Jul 13 19:47:25 rd2 ripcd: started
Jul 13 19:47:26 rd2 rdcatchd: rdcatchd engine load starts...
Jul 13 19:47:26 rd2 rdcatchd: loaded 251 events
Jul 13 19:47:26 rd2 rdcatchd: rdcatchd engine load ends
Jul 13 19:47:26 rd2 rdcatchd: rdcatchd started
Jul 13 19:47:30 rd2 caed: no connection to JACK server
Jul 13 19:47:30 rd2 caed: Unable to set realtime scheduling: Operation 
not permitted
Jul 13 19:47:30 rd2 caed: cae started


What am I missing?  When auto-started, rivendell is being called by a 
user called 'radio'. When I manually start rivendell, it is the same user.

_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@xxxxxxxxxxxxxxxxxxxxxxxx
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev