[linux-audio-user] jack trouble

C. Villard chvillard at wanadoo.fr
Wed Mar 10 05:03:00 EST 2004


Well, I'm always trying to get midi audio recording working, or at least 
just one of these :)    ; well, I'm trying very hard but .... nothing's 
working  ; I'm trying since a long time but .....

I have a P4 computer and mandrake 9.2 with a low latency kernel ( 
2.4.22-21mm.2mdk).
Well alsa is running and when I launch alsaconf, it says that my sound 
card is "intel 8x0 Silicon Integrated Systems [SiS] Sound Controller"  
(in fact, sound is integrated in the motherboard (an Asus P4S8X-X), and 
the motherboard doc says that the chip is an ADI AD 1980 6-channel audio 
codec) ; in an another place, I've also seen SiS 7012...... Alsaconf 
don't perform the last thing, playing a song 'cause something is missing :

    Loading driver...
    /usr/sbin/alsaconf: line 568: rcalsasound: command not found
    Setting default volumes...
    ===============================================================================
                                                                                                 

     Now ALSA is ready to use.
     For adjustment of volumes, please use alsamixer or gamix.
                                                                                                 

     Have a lot of fun!

                                                                                              



So I'm trying to launch jack and, as root, I type #jackd -d alsa -r 
44100 and here is what I get :

    jackd 0.95.0
    Copyright 2001-2003 Paul Davis and others.
    jackd comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
     
    loading driver ..
    apparent rate = 44100
    creating alsa driver ...
    hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|rt|32bit
    control device hw:0
    configuring for 44100Hz, period = 1024 frames, buffer = 2 periods
    Couldn't open hw:0 for 32bit samples trying 24bit instead
    Couldn't open hw:0 for 24bit samples trying 16bit instead
    Couldn't open hw:0 for 32bit samples trying 24bit instead
    Couldn't open hw:0 for 24bit samples trying 16bit instead


And I'm obliged to do a Ctrl C to stop the process and Iget the mess :

    jack main caught signal 2

When switching verbose option for starting jack, jackd -vd alsa -r 
44100, I get also thiese lines :

    new buffer size 1024
    registered port alsa_pcm:capture_1, offset = 4096
    registered port alsa_pcm:capture_2, offset = 8192
    registered port alsa_pcm:playback_1, offset = 0
    registered port alsa_pcm:playback_2, offset = 0
    registered port alsa_pcm:playback_3, offset = 0
    registered port alsa_pcm:playback_4, offset = 0
    registered port alsa_pcm:playback_5, offset = 0
    registered port alsa_pcm:playback_6, offset = 0
    ++ jack_rechain_graph():
    client alsa_pcm: internal client, execution_order=0.
    -- jack_rechain_graph()
    5874 waiting for signals
    load = 0.0301 max usecs: 14.000, spare = 23205.000
    load = 0.0474 max usecs: 15.000, spare = 23204.000
     
     
    **** alsa_pcm: xrun of at least 0.912 msecs
     
    load = 0.0517 max usecs: 13.000, spare = 23206.000
     
     
    **** alsa_pcm: xrun of at least 5.614 msecs
     
    load = 0.1184 max usecs: 43.000, spare = 23176.000
    load = 0.0851 max usecs: 12.000, spare = 23207.000
    load = 0.0705 max usecs: 13.000, spare = 23206.000
    load = 0.0633 max usecs: 13.000, spare = 23206.000
    load = 0.0812 max usecs: 23.000, spare = 23196.000
    load = 0.0686 max usecs: 13.000, spare = 23206.000
    load = 0.0666 max usecs: 15.000, spare = 23204.000
    load = 0.0591 max usecs: 12.000, spare = 23207.000
    load = 0.0554 max usecs: 12.000, spare = 23207.000
    load = 0.0514 max usecs: 11.000, spare = 23208.000
    load = 0.0515 max usecs: 12.000, spare = 23207.000
    load = 0.0538 max usecs: 13.000, spare = 23206.000
    load = 0.0635 max usecs: 17.000, spare = 23202.000
    load = 0.0576 max usecs: 12.000, spare = 23207.000
    load = 0.0783 max usecs: 23.000, spare = 23196.000
    load = 0.0758 max usecs: 17.000, spare = 23202.000
    load = 0.0766 max usecs: 18.000, spare = 23201.000
    load = 0.0728 max usecs: 16.000, spare = 23203.000
     
     
    **** alsa_pcm: xrun of at least 27.009 msecs
     
    load = 0.1419 max usecs: 49.000, spare = 23170.000
    load = 0.1205 max usecs: 23.000, spare = 23196.000
    load = 0.1012 max usecs: 19.000, spare = 23200.000
    load = 0.1001 max usecs: 23.000, spare = 23196.000
    load = 0.0845 max usecs: 16.000, spare = 23203.000
    load = 0.0767 max usecs: 16.000, spare = 23203.000
    load = 0.0642 max usecs: 12.000, spare = 23207.000
    load = 0.0773 max usecs: 21.000, spare = 23198.000
    load = 0.0882 max usecs: 23.000, spare = 23196.000
    load = 0.0807 max usecs: 17.000, spare = 23202.000
    load = 0.0727 max usecs: 15.000, spare = 23204.000
    load = 0.0729 max usecs: 17.000, spare = 23202.000
    load = 0.0752 max usecs: 18.000, spare = 23201.000
    load = 0.0850 max usecs: 22.000, spare = 23197.000
     
     
    **** alsa_pcm: xrun of at least 9.031 msecs
     
    load = 0.1308 max usecs: 41.000, spare = 23178.000
    load = 0.0998 max usecs: 16.000, spare = 23203.000
    load = 0.0758 max usecs: 12.000, spare = 23207.000
    load = 0.0745 max usecs: 17.000, spare = 23202.000
    jack main caught signal 2
    stopping driver
    detaching driver
    unloading driver




So, nothing is working neither muse, nor rosegarden or ardour or 
.....anything else

Last thing when I perform lsmod, iget this :


    Module                  Size  Used by    Not tainted
    ide-cd                 34148   0  (autoclean)
    lp                      8288   0
    parport_pc             25768   1
    parport                35560   1  [lp parport_pc]
    snd-seq-oss            32800   0  (unused)
    snd-seq-midi-event      6336   0  [snd-seq-oss]
    snd-seq                45104   2  [snd-seq-oss snd-seq-midi-event]
    snd-pcm-oss            43780   0
    snd-mixer-oss          14224   0  [snd-pcm-oss]
    snd-intel8x0           23112   0
    snd-pcm                81700   0  [snd-pcm-oss snd-intel8x0]
    snd-timer              20068   0  [snd-seq snd-pcm]
    snd-ac97-codec         47064   0  [snd-intel8x0]
    gameport                3284   0  [snd-intel8x0]
    snd-page-alloc          9044   0  [snd-intel8x0 snd-pcm]
    snd-mpu401-uart         5024   0  [snd-intel8x0]
    snd-rawmidi            18688   0  [snd-mpu401-uart]
    snd-seq-device          5832   0  [snd-seq-oss snd-seq snd-rawmidi]
    snd                    45668   0  [snd-seq-oss snd-seq-midi-event
    snd-seq snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer
    snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
    soundcore               6564   0  [snd]


Well if someone have any idea, it would be nice to get this working ; I 
really need to make music with linux, I don't want to be obliged to run 
my atari falcon with cubase audio until the end of time !!! But, really, 
I don't know what to do....


cordialement,









More information about the Linux-audio-user mailing list