[LAU] Issues with JACK

Jeremy Jongepier jeremy at autostatic.com
Sun Mar 3 14:41:09 UTC 2013


On 03/03/2013 03:29 PM, Gabbe Nord wrote:
> Hello Jeremy, and thank you so much for your reply!
>
> I disabled SpeedStep in BIOS, and it helped a little, thanks!

So the xruns are not completely gone? And what if you force the Lexicon 
to only use 2 ins and outs with -i2 -o2? Could you also post your jackd 
command (run JACK and check with ps -eo cmd | grep [j]ackd)

  Here's my
> interrupts:
>
> zth at zth:~$ cat /proc/interrupts
>             CPU0       CPU1       CPU2       CPU3
>    0:         43          0          1          1   IO-APIC-edge      timer
>    1:          3          0          0          0   IO-APIC-edge      i8042
>    8:          1          0          0          0   IO-APIC-edge      rtc0
>    9:          0          0          0          0   IO-APIC-fasteoi   acpi
>   12:          4          0          0          0   IO-APIC-edge      i8042
>   23:     412535      22606         20         25   IO-APIC-fasteoi
> ehci_hcd:usb1, ehci_hcd:usb2
>   41:      12871        435        437        292   PCI-MSI-edge      ahci
>   42:          0          0          0          0   PCI-MSI-edge
> xhci_hcd
>   43:         67          9          3          8   PCI-MSI-edge      eth0
>   44:          9          3          1          0   PCI-MSI-edge      mei
>   45:         78        161         80         19   PCI-MSI-edge
> snd_hda_intel
>   46:      87524         15         46         18   PCI-MSI-edge      radeon
>   47:         29          0          0          0   PCI-MSI-edge
> snd_hda_intel
> NMI:        171        188        137        145   Non-maskable interrupts
> LOC:     393823     587985     553269     586297   Local timer interrupts
> SPU:          0          0          0          0   Spurious interrupts
> PMI:        171        188        137        145   Performance monitoring
> interrupts
> IWI:          0          0          0          0   IRQ work interrupts
> RES:      33948      43230      37004      44438   Rescheduling interrupts
> CAL:       4737       2603       2357       2402   Function call interrupts
> TLB:       8090       6659       7185       7658   TLB shootdowns
> TRM:          0          0          0          0   Thermal event interrupts
> THR:          0          0          0          0   Threshold APIC interrupts
> MCE:          0          0          0          0   Machine check exceptions
> MCP:        116        116        116        118   Machine check polls
> ERR:          0
> MIS:          0
>
>
>
> I tried alsa-reload but it didn't help =(.
>

Try
sudo modprobe -r snd-usb-audio && sudo modprobe snd-usb-audio

Does that revive MIDI again?

Jeremy

> Thanks again for your reply!
>
>
>
>
> On Sun, Mar 3, 2013 at 1:04 PM, Jeremy Jongepier <jeremy at autostatic.com>wrote:
>
>> On 03/03/2013 11:47 AM, Gabbe Nord wrote:
>>
>>> Hello!
>>>
>>> I'm experiencing some weird issues with JACK. I got a new system the other
>>> day, and I'm tweaking it for linux audio only basically. My issues are:
>>> even when dsp load isn't even close to 100%, I get xruns. This only
>>> happens
>>> at lower latencies, but still. My setup is as follows :
>>>
>>> Kxstudio 12.04.2
>>> 3.2 realtime kernel (tried lowlatency and generic aswell)
>>> Usb sound card Lexicon Omega
>>> Realtimeconfig quickscan shows everything green except cpu governors, but
>>> I'm pretty sure I don't have that on this system? It's an Intel i5 3570k
>>> desktop. Or maybe there's some setting in BIOS equivalent of cpu
>>> governors?
>>> If so that might very well be the problem.
>>>
>>>
>> Hello Gabbe,
>>
>> You can check what governor is in use with:
>> cat /sys/devices/system/cpu/cpu*/**cpufreq/scaling_governor
>>
>> And set it to a non-scaling governor with:
>> echo -n performance | sudo tee /sys/devices/system/cpu/cpu*/**
>> cpufreq/scaling_governor
>>
>> You can also disable it in your BIOS, it's probably called something like
>> SpeedStep. More info: http://wiki.linuxmusicians.**com/doku.php?id=system_
>> **configuration#cpu_frequency_**scaling<http://wiki.linuxmusicians.com/doku.php?id=system_configuration#cpu_frequency_scaling>
>>
>>
>>   I use JACK at 48khz 3 periods/buffer. I start it via falktx's Cadence.
>>>
>>> Any ideas about this?
>>>
>>>
>> Please post the output of:
>> cat /proc/interrupts
>>
>>
>>   Also! When I'm asking for help anyway... I connect my MIDI keyboard via
>>> MIDI in on my sound card, but that suddenly stopped working. The midi out
>>> from the sound card is present in JACK, but it delivers no midi. Any idea
>>> on where to start troubleshooting this?
>>>
>>>
>> Did you try other USB ports? Or issueing a:
>> sudo alsa force-reload
>> Does that help?
>>
>> Regards,
>>
>> Jeremy
>>
>>   Thank you so much for taking the time to read this. Cheers!
>>>
>>>
>>>
>>> ______________________________**_________________
>>> Linux-audio-user mailing list
>>> Linux-audio-user at lists.**linuxaudio.org<Linux-audio-user at lists.linuxaudio.org>
>>> http://lists.linuxaudio.org/**listinfo/linux-audio-user<http://lists.linuxaudio.org/listinfo/linux-audio-user>
>>>
>>>
>> ______________________________**_________________
>> Linux-audio-user mailing list
>> Linux-audio-user at lists.**linuxaudio.org<Linux-audio-user at lists.linuxaudio.org>
>> http://lists.linuxaudio.org/**listinfo/linux-audio-user<http://lists.linuxaudio.org/listinfo/linux-audio-user>
>>
>



More information about the Linux-audio-user mailing list