Re: [LAU] Fwd: [linux-audio-user] Real-time kernel

From: David Adler <david.jo.adler@email-addr-hidden>
Date: Tue Jun 26 2007 - 16:33:28 EEST

Chuckk Hubbard wrote:
> On 6/24/07, *Mark Knecht* <markknecht@email-addr-hidden
> <mailto:markknecht@email-addr-hidden>> wrote:
>
> On 6/24/07, Chuckk Hubbard <badmuthahubbard@email-addr-hidden
> <mailto:badmuthahubbard@email-addr-hidden>> wrote:
> <SNIP>
> >
>
> Chuck,
> Sorry for your problems. However there isn't enough information to
> help debug the problem. We'll need hardware specifics, info on the
> kernel and how it's configured, what audio card drivers are loaded &
> how you are attempting to run Jack, just to start with. We'll start
> with that and see where it leads.
>
> Please provide the output from the following commands:
>
> uname -a
> lspci
> cat /proc/asound/cards
> lsmod
> cat /proc/interrupts
>
>
>
> Hi Mark, thanks for your reply, and sorry I didn't respond sooner.
> I've run those commands, and here is my output, and the command line
> and its results from qjackctl...
> Thanks, I appreciate you guys taking the time to help!
>
> -Chuckk
>
>
> 64studio:/mnt/win/Linux# uname -a
> Linux 64studio 2.6.22-rc4.062107 #1 PREEMPT Thu Jun 21 23:28:59 EDT
> 2007 x86_64 GNU/Linux
>
>
> 64studio:/mnt/win/Linux# lspci
> 00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
> 00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
> 00:04.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
> 00:05.0 PCI bridge: ATI Technologies Inc Unknown device 5a37
> 00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host
> Controller (rev 80)
> 00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host
> Controller (rev 80)
> 00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host
> Controller (rev 80)
> 00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 83)
> 00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI
> IDE Controller ATI (rev 80)
> 00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
> 00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
> 00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev
> 80)
> 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
> [Athlon64/Opteron] HyperTransport Technology Configuration
> 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
> [Athlon64/Opteron] Address Map
> 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
> [Athlon64/Opteron] DRAM Controller
> 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
> [Athlon64/Opteron] Miscellaneous Control
> 01:05.0 VGA compatible controller: ATI Technologies Inc RS482 [Radeon
> Xpress 200M]
> 02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8038
> PCI-E Fast Ethernet Controller (rev 14)
> 05:00.0 Network controller: Broadcom Corporation Dell Wireless 1390
> WLAN Mini-PCI Card (rev 01)
> 08:09.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
> 08:09.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant
> IEEE 1394 Host Controller
> 08:09.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia
> Card Reader (SD/MMC/MS/MS PRO/xD)
>
>
> 64studio:/mnt/win/Linux# cat /proc/asound/cards
> 0 [SB ]: HDA-Intel - HDA ATI SB
> HDA ATI SB at 0xc0000000 irq 16
>
>
> 64studio:/mnt/win/Linux# lsmod
> Module Size Used by
> nls_iso8859_1 5568 1
> ntfs 193696 1
> ppdev 9608 0
> parport_pc 38376 0
> lp 12936 0
> parport 40460 3 ppdev,parport_pc,lp
> thermal 15376 0
> fan 5896 0
> button 9312 0
> processor 26940 1 thermal
> ac 6280 0
> battery 11464 0
> ipv6 273320 10
> md_mod 80796 1
> dm_snapshot 17096 0
> dm_mirror 22272 0
> dm_mod 60240 2 dm_snapshot,dm_mirror
> snd_seq_dummy 4356 0
> snd_seq_oss 32448 0
> snd_seq_midi 9408 0
> snd_rawmidi 27104 1 snd_seq_midi
> snd_seq_midi_event 8320 2 snd_seq_oss,snd_seq_midi
> snd_seq 53632 6
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
> snd_seq_device 8788 5
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
> sbp2 24968 0
> scsi_mod 161816 1 sbp2
> joydev 11520 0
> tsdev 9280 0
> pcmcia 42200 0
> snd_hda_intel 307808 1
> snd_pcm_oss 44384 0
> snd_mixer_oss 17600 1 snd_pcm_oss
> pcspkr 3456 0
> psmouse 40988 0
> yenta_socket 27596 1
> snd_pcm 87436 2 snd_hda_intel,snd_pcm_oss
> snd_timer 25096 2 snd_seq,snd_pcm
> bcm43xx 427808 0
> firmware_class 11264 2 pcmcia,bcm43xx
> rsrc_nonstatic 12096 1 yenta_socket
> pcmcia_core 42844 3 pcmcia,yenta_socket,rsrc_nonstatic
> serio_raw 7684 0
> ohci1394 35208 0
> ieee1394 99928 2 sbp2,ohci1394
> rng_core 5896 1 bcm43xx
> snd 61992 11
> snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
>
> soundcore 9312 1 snd
> i2c_piix4 9612 0
> snd_page_alloc 10576 2 snd_hda_intel,snd_pcm
> i2c_core 27608 1 i2c_piix4
> sky2 45256 0
> ieee80211softmac 35008 1 bcm43xx
> ehci_hcd 34188 0
> shpchp 34076 0
> ohci_hcd 22404 0
> pci_hotplug 17096 1 shpchp
> evdev 11136 6
>
>
> 64studio:/mnt/win/Linux# cat /proc/interrupts
> CPU0
> 0: 447351 IO-APIC-edge timer
> 1: 555 IO-APIC-edge i8042
> 8: 0 IO-APIC-edge rtc
> 12: 6248 IO-APIC-edge i8042
> 14: 9543 IO-APIC-edge ide0
> 16: 429 IO-APIC-fasteoi eth0, HDA Intel
> 17: 1393 IO-APIC-fasteoi bcm43xx
> 19: 2 IO-APIC-fasteoi ohci_hcd:usb1, ohci_hcd:usb2,
> ehci_hcd:usb3
> 20: 1 IO-APIC-fasteoi yenta
> 21: 393 IO-APIC-fasteoi acpi, ohci1394
> NMI: 0
> LOC: 447226
> ERR: 0
>
> ====================
> qjackctl messages:
>
>
> 05:00:06.080 Patchbay deactivated.
> 05:00:06.126 Statistics reset.
> JACK tmpdir identified as [/dev/shm]
> 05:00:06.234 MIDI connection graph change.
> 05:00:06.358 MIDI connection change.
> 05:00:30.468 Startup script...
> 05:00:30.469 artsshell -q terminate
> JACK tmpdir identified as [/dev/shm]
> can't create mcop directory
> Creating link /home/chuckk/.kde/socket-64studio.
> 05:00:31.211 Startup script terminated with exit status=256.
> 05:00:31.211 JACK is starting...
> 05:00:31.211 /usr/bin/jackd -dalsa -dhw:0 -r44100 -p1024 -n2
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@email-addr-hidden
> http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user
>

No idea whether this is all the problem. Try and check the 'Realtime'
checkbox in the qjackctl settings-window and put the 'priority' value to
something like 70 - dunno why realtime is allways deactivated by default
- even in audio-distros.
make sure the -R and -P options appear in the output:

/usr/bin/jackd -R -P70 -u -dalsa -dhw:0 -r44100 -p64 -n2

There is a reasonably recend howto for building low-latency kernels on
debian here:

http://forums.debian.net/viewtopic.php?t=13123

it worked for me with a 2.6.21 kernel just yesterday, but i recommend
audio distros - lost so much time trying to do things i don't know
anything about.
Another helpful source of information is this:

http://tapas.affenbande.org/wordpress/?page_id=3

regards, d.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user
Received on Tue Jun 26 20:15:01 2007

This archive was generated by hypermail 2.1.8 : Tue Jun 26 2007 - 20:15:02 EEST