jack freebob issue

altern altern2 at gmail.com
Sun Jan 20 10:46:30 GMT 2008


thomas fisher(e)k dio:
> On Wednesday 16 January 2008 08:52:54 altern wrote:
>> hi all
>>
>> I am using a terratec phase x24 firewire sound card with an IBM laptop.
>> It runs Ubuntu studio, the latest version, I keep it updated.
>>
>> My problem is that sometimes jack just stops suddenly. It just print
>> some crap symbols at qjackctl message window and then I get a Shutdown
>> notification there. After this I need to unplug the sound card to be
>> able to start again Jack correctly. Sometimes I need to plug/unplug many
>> times many times to get it up again.
>>
>>
>> In general I get almost no XRUNS at all. DSP loads is 16%, realtime mode
>> is on, sample rate 48000 and buffer size 1024.
>>
>> Today I noticed that updatedb process was running in the background when
>> I first got this error, and it seems to me that it was not until this
>> process finished that I was able to get jack up.
>>
>> After this problem I decided to test how long it runs before crashing.
>> It has been running fine several times for around 30-45 min. Then it
>> stops and I need to unplug the sound card again.
>>
>> any ideas about what could cause this? or any suggestion where i should
>> look at? I checked dmesg and I can see some stuff there but I am not
>> sure if this is just related to me pluging in and out the sound card. I
>> am wondering if there is some background process that I could disable to
>> make freebob more stable. I have a live performance in ten days and it
>> would be a real pity if jack crashes during it.
>> thanks!
>> enrike

> You mentioned that qjackctl prints error messages, would you be able
> to post those?

Some more info : I have been stopping services that might be interfering
with Freebob and Jack.

This is the jack start command
/usr/bin/jackd -R -dfreebob -r48000 -p1024 -n3 -P -i0

this below is the QjackCtl error. All the "0, (R: 2048)] XRUNS ( 0)" was
printed at qjackctl as rubbish symbols. After copying and pasting into
this mail I could read it first time...

About /var/crash/ , I had nothing recent there so I guess it is not
interesting.

The error goes here, (I had to cut out the XRUNS areas because the list 
was rejecting my mail because of size was too big). Thanks!

DEBUG freebob_streaming.c:1778 (freebob_iso_packet_iterator): Go Go Go!!!
11:44:49.938 Audio connection graph change.
11:44:49.989 Audio connection change.
11:44:50.042 Audio connection graph change.
11:44:50.194 Audio connection change.
11:44:57.855 Audio connection graph change.
   -> [P, 02,       2218, 2317,    0, (R: 2048)] XRUNS ( 0)  -> [P, 02,
       4437, 4536,    0, (R: 2048)] XRUNS ( 0)  -> [P, 02,       6656,
6755,    0, (R: 2048)] XRUNS ( 0)  -> [P, 02,       8874, 0973,    0,
(R: 2048)] XRUNS ( 0)  -> [P, 02,      11093, 3192,    0, (R: 2048)]

***** and so on for dozens of lines .....****

[P, 02,     137557, 1656,    0, (R: 2048)] XRUNS ( 0)  -> [P, 02,
139776, 3875,    0, (R: 2048)] XRUNS ( 0)  -> [P, 02,     141994, 6093,
    0, (R: 2048)] XRUNS ( 0)unknown source port in attempted connection
[alsa_pcm:capture_1]
11:44:58.069 Audio connection change.
   -> [P, 02,     144213, 0312,    0, (R: 2048)] XRUNS ( 0)unknown
source port in attempted connection [alsa_pcm:capture_2]
unknown destination port in attempted connection [alsa_pcm:playback_1]
unknown destination port in attempted connection [alsa_pcm:playback_2]
11:45:08.288 Audio connection change.
11:45:13.808 Audio connection change.
11:56:42.712 MIDI connection graph change.
   -> [P, 02,     146432, 2531,    0, (R: 2048)] XRUNS ( 0)  -> [P, 02,
     148650, 4749,    0, (R: 2048)] XRUNS ( 0)  -> [P, 02,     150869,
6968,    0, (R: 2048)] XRUNS ( 0)  -> [P, 02,     153088, 1187,    0,
(R: 2048)] XRUNS ( 0)  -> [P, 02,     155306, 3405,    0, (R: 2048)]
XRUNS ( 0)  -> [P, 02,     157525, 5624,    0, (R: 2048)] XRUNS ( 0)  ->


***** and so on for hundreds of lines .....****

XRUNS ( 0)  -> [P, 02,    5746346, 2498,    1, (R: 2048)] XRUNS ( 0)  ->
[P, 02,    5748565, 4717,    1, (R: 2048)] XRUNS ( 0)zombified - calling
shutdown handler
11:56:42.965 Shutdown notification.
11:56:42.965 Client deactivated.
11:56:42.968 JACK was stopped successfully.
11:56:42.968 Post-shutdown script...
11:56:42.968 killall jackd
cannot send request type 7 to server
cannot read result for request type 7 from server (Broken pipe)
cannot send request type 7 to server
cannot read result for request type 7 from server (Broken pipe)
11:56:44.237 MIDI connection graph change.
jackd: ez da prozesurik hil
11:56:45.790 Post-shutdown script terminated with exit status=256.



> Also, /var/crash/ might have something of use perhaps.

Nothing since last december so I guess it is not interesting, I paste it
anyway




More information about the Ubuntu-Studio-users mailing list