Unable to start jack

  • saunders
Posted: Thu, 06/04/2009 - 18:50
I've just done an install of 64sudio on a Dell Inspiron 1300. I had been using Ubuntu Studio 9.04, but was having problems with latency, even with the -rt kernel, so decided to give 64studio a whirl. My problem is...I can't start Jack. This is the Jack Message output: "19:31:02.837 Patchbay deactivated. 19:31:02.913 Statistics reset. 19:31:02.918 Startup script... 19:31:02.918 artsshell -q terminate Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started 19:31:03.013 ALSA connection graph change. 19:31:03.351 Startup script terminated with exit status=256. 19:31:03.352 JACK is starting... 19:31:03.352 /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p128 -n4 19:31:03.368 JACK was started with PID=4117. ALSA: final selected sample format for capture: 32bit little-endian ALSA: use 4 periods for capture ALSA: final selected sample format for playback: 32bit little-endian ALSA: use 4 periods for playback alsa_driver_xrun_recovery ProcessAsync: read error alsa_driver_xrun_recovery ProcessAsync: read error alsa_driver_xrun_recovery ProcessAsync: read error alsa_driver_xrun_recovery ProcessAsync: read error..." ...and just keeps repeating the last two output lines unil I stop the server. I've tried sudo alsa force-reload, and adding acpi=off pci=noacpi noapic to /boot/grub/menu.lst, as described here http://www.64studio.com/node/1111 Unfortunately no joy! Any suggestions?

I have the same problem too

  • shoes158
  • 07/27/11
  • Fri, 07/29/2011 - 04:17
but I am in openSUSE 11.4 KDE, haven't found help yet. Can someone here help me? My sound is on my motherboard, CK804 AC'97 Motherboard is MSI K9N4 Ultra with nVidia series 500 chipset 1. No output for lspci |grep -i audio 2. cat /proc/asound/cards 0 [CK804 ]: NFORCE - NVidia CK804 NVidia CK804 with ALC655 at irq 22 3. cat /proc/asound/modules 0 snd_intel8x0 4. cat /proc/interrupts CPU0 CPU1 0: 123 0 IO-APIC-edge timer 1: 25144 33 IO-APIC-edge i8042 6: 0 3 IO-APIC-edge floppy 7: 1 0 IO-APIC-edge parport0 8: 0 1 IO-APIC-edge rtc0 9: 0 0 IO-APIC-fasteoi acpi 12: 0 4 IO-APIC-edge i8042 14: 0 0 IO-APIC-edge pata_amd 15: 0 0 IO-APIC-edge pata_amd 19: 0 4 IO-APIC-fasteoi nouveau 20: 49869 53 IO-APIC-fasteoi sata_nv 21: 133439 4906 IO-APIC-fasteoi sata_nv 22: 365308 262 IO-APIC-fasteoi ohci_hcd:usb2, NVidia CK804 23: 5 433610 IO-APIC-fasteoi ehci_hcd:usb1, eth0 40: 0 0 PCI-MSI-edge PCIe PME 41: 0 0 PCI-MSI-edge PCIe PME 42: 0 0 PCI-MSI-edge PCIe PME 43: 0 0 PCI-MSI-edge PCIe PME NMI: 57 58 Non-maskable interrupts LOC: 7975242 7759964 Local timer interrupts SPU: 0 0 Spurious interrupts PMI: 57 58 Performance monitoring interrupts IWI: 0 0 IRQ work interrupts RES: 4186372 4769315 Rescheduling interrupts CAL: 6255 7361 Function call interrupts TLB: 20561 18409 TLB shootdowns TRM: 0 0 Thermal event interrupts THR: 0 0 Threshold APIC interrupts MCE: 0 0 Machine check exceptions MCP: 51 51 Machine check polls ERR: 1 MIS: 0

Thanks

  • saunders
  • 06/04/09
  • Sat, 06/06/2009 - 19:45
Hi Pablo, Thanks for the advice! I've been playing around with the USB soundcard, and it's proving much more useable than in UbuntuStudio for some reason. All I need now is to get LMMS up and running...! Cheers Chris

Re:Unable to start jack

  • Pablo
  • 07/11/07
  • Fri, 06/05/2009 - 23:12
Hi saunders, If your intention is to work with the USB card, the best thing you can do is disable the onboard card in the BIOS and don't even bother trying jack with it. Because, even if you achieve to get jack working stable with the onboard card, you will have to tweak again the settings for the UCA202. That said, if you still want to get jack up and running with the HDA-Intel you have to be much more conservative with the settings. I would try n=2 (periods/buffer) and a much higher p value (frames/period), say 1024 or even higher. I think your jackd command is OK for the rest. I'm not sure about SR, I have the vague notion that some cheap cards only work at 48.000 Hz. The fact that the card is not alone in a IRQ number is a drawback, you should look into that if you still think it is worth. AFAICT, the very recent versions of qjackctl (Jack Control) and jackd that 64studio provides, name "System" the audio hardware device, not alsa:pcm. Don't worry about it :) Try with the UCA 202, it could be it needs n=3 but the p value can be much lower, hopefully. Also, if you don't disable the onboard in the BIOS, the first thing to check is the "interface" field and choose the right card. Cheers! Pablo.

info

  • saunders
  • 06/04/09
  • Fri, 06/05/2009 - 16:20
Hi...thanks for the reply The current soundcard is a standard Intel HDA one. (I've also got a UCA-202 usb one, but I think I need to get jack up and running before plugging it in and tinkering with that!) Outputs are: chris@64studio:~$ lspci |grep -i audio 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03) chris@64studio:~$ cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xdfebc000 irq 16 chris@64studio:~$ cat /proc/asound/modules 0 snd_hda_intel chris@64studio:~$ cat /proc/interrupts CPU0 0: 203351 IO-APIC-edge timer 1: 901 IO-APIC-edge i8042 8: 51 IO-APIC-edge rtc0 9: 1 IO-APIC-fasteoi acpi 12: 252435 IO-APIC-edge i8042 14: 20454 IO-APIC-edge ide0 16: 142 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb2, HDA Intel, i915@pci:0000:00:02.0 17: 45 IO-APIC-fasteoi uhci_hcd:usb3, b43 18: 12093 IO-APIC-fasteoi uhci_hcd:usb4, eth0 19: 0 IO-APIC-fasteoi uhci_hcd:usb5 NMI: 0 Non-maskable interrupts LOC: 540454 Local timer interrupts CNT: 0 Performance counter interrupts RES: 0 Rescheduling interrupts CAL: 0 Function call interrupts TLB: 0 TLB shootdowns TRM: 0 Thermal event interrupts SPU: 0 Spurious interrupts ERR: 0 MIS: 0 I have also noticed that alsa:pcm isn't listed in the readable/writeable sections of the Jack audio connections tab.... Cheers

Which soundcard?

  • Pablo
  • 07/11/07
  • Thu, 06/04/2009 - 21:21
Hi Saunders, Which audio card have you got? Is it a USB card or PCI, onboard...? Please, give the outputs of: $ lspci |grep -i audio $ cat /proc/asound/cards $ cat /proc/asound/modules $ cat /proc/interrupts so we can help you. Cheers! Pablo

should have pointed out I'm using...

  • saunders
  • 06/04/09
  • Thu, 06/04/2009 - 19:00
...64 Studio 3.0 beta 3