[PlanetCCRMA] was working with Live! card, not with 1010LT

blindman jones erleichda@gmail.com
Mon Aug 22 19:19:01 2005


On 22 Aug 2005 18:15:48 -0700, Fernando Lopez-Lezcano
<nando@ccrma.stanford.edu> wrote:
> On Mon, 2005-08-22 at 17:20, blindman jones wrote:
> > Ok, I am stumped... I am running FC4 and had Hydrogen & Ardour working
> > and jack ran well enough... although I never got it to work with
> > realtime-lsm. I did get a lot of xruns and figured it was time to get
> > a better card for multitracking, so I removed the SB Live! card and
> > installed the M-Audio 1010LT card. Now, nothing works... Jack won't
> > start at all or if it does it crashes right away. I have managed to
> > get XMMS to play music through the DAC & DAC2.
> >
> > I have the kernel-2.6.12-0.21.rdt.rhfc4.ccrma installed and have not
> > been able to activate realtime... /sbin/modprobe realtime gid=504
> > produces FATAL: Module realtime not found. What am I doing wrong?
> 
> Nothing, 0.21.rdt is based on 2.6.12 and it incorporates a different way
> of getting realtime privileges, it no longer needs to have the realtime
> lsm loaded and in fact it is not included in those kernels.
> 
> If you have installed the patched version of pam included in the
> repository you should be able to do realtime stuff with no problems.

Where can I find the patched version of Pam?

I see no pam...
http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/4/i386/

browsing has been turned off, so it's hard to find files there now.

> 
> > I hope someone can help point me in the right direction... TIA!!!
> >
> > here is what i am getting now when I start jack via qjackctl...
> > 20:04:41.537 Patchbay deactivated.
> > 20:04:41.855 Statistics reset.
> > 20:04:41.986 MIDI connection graph change.
> > 20:04:42.143 MIDI connection change.
> > 20:04:42.344 MIDI connection change.
> > 20:05:22.085 JACK is starting...
> > 20:05:22.085 /usr/bin/jackd -v -dalsa -dhw:0 -r44100 -p512 -n2
> > 20:05:22.091 JACK was started with PID=5414 (0x1526).
> > getting driver descriptor from /usr/lib/jack/jack_dummy.so
> > getting driver descriptor from /usr/lib/jack/jack_alsa.so
> > getting driver descriptor from /usr/lib/jack/jack_oss.so
> > jackd 0.100.1
> > Copyright 2001-2005 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
> > JACK compiled with System V SHM support.
> > server `default' registered
> > loading driver ..
> > apparent rate = 44100
> > creating alsa driver ... hw:0|hw:0|512|2|44100|0|0|nomon|swmeter|-|32bit
> > control device hw:0
> > configuring for 44100Hz, period = 512 frames, buffer = 2 periods
> > nperiods = 2 for capture
> > nperiods = 2 for playback
> > 5414 waiting for signals
> > registered builtin port type 32 bit float mono audio
> > new client: alsa_pcm, id = 1 type 1 @ 0x805ba78 fd = -1
> > new buffer size 512
> > registered port alsa_pcm:capture_1, offset = 2048
> > registered port alsa_pcm:capture_2, offset = 4096
> > registered port alsa_pcm:capture_3, offset = 6144
> > registered port alsa_pcm:capture_4, offset = 8192
> > registered port alsa_pcm:capture_5, offset = 10240
> > registered port alsa_pcm:capture_6, offset = 12288
> > registered port alsa_pcm:capture_7, offset = 14336
> > registered port alsa_pcm:capture_8, offset = 16384
> > registered port alsa_pcm:capture_9, offset = 18432
> > registered port alsa_pcm:capture_10, offset = 20480
> > registered port alsa_pcm:capture_11, offset = 22528
> > registered port alsa_pcm:capture_12, offset = 24576
> > 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
> > registered port alsa_pcm:playback_7, offset = 0
> > registered port alsa_pcm:playback_8, offset = 0
> > registered port alsa_pcm:playback_9, offset = 0
> > registered port alsa_pcm:playback_10, offset = 0
> > ++ jack_rechain_graph():
> > client alsa_pcm: internal client, execution_order=0.
> > -- jack_rechain_graph()
> > 20:05:24.237 Server configuration saved to "/home/blindman/.jackdrc".
> > 20:05:24.240 Statistics reset.
> > 20:05:24.244 Client activated.
> > 20:05:24.270 Audio connection change.
> > 20:05:24.274 Audio connection graph change.
> > new client: qjackctl-5408, id = 2 type 2 @ 0xb668c000 fd = 15
> > ++ jack_rechain_graph():
> > client alsa_pcm: internal client, execution_order=0.
> > client qjackctl-5408: start_fd=5, execution_order=0.
> > client qjackctl-5408: wait_fd=10, execution_order=1 (last client).
> > -- jack_rechain_graph()
> > ALSA: poll time out, polled for 17411673 usecs
> > DRIVER NT: could not run driver cycle
> 
> I don't know too much but it would seem that somehow the card is not
> generating interrupts? (see below on the output of cat /proc/interrupts)
> I have not used the Midiman 1010LT myself...

interrupt 21

> 
> What happens if you start envy24control? Do you see the internal
> controls? Are they set to reasonable values? (ie: internal clock)

Yes, there are controls similar to the screenshots of the windows
controls... I was able to hear sound live from a line in if I clicked
that channel on H/W OUT 1 (L) & H/W OUT 2 (R)

that is a good thing... I think if I could get the patched Pam
installed, Jack might run and I could get the rest of it going...
getting there... thanx so much for your help!

later,
mjr

> 
> -- Fernando
> 
> > jack main caught signal 12
> > 20:05:39.829 Shutdown notification.
> > 20:05:39.831 Client deactivated.
> > starting server engine shutdown
> > freeing shared port segments
> > stopping server thread
> > last xrun delay: 0.000 usecs
> > max delay reported by backend: 0.000 usecs
> > freeing engine shared memory
> > max usecs: 0.000, engine deleted
> > no message buffer overruns
> > cleaning up shared memory
> > cleaning up files
> > unregistering server `default'
> > 20:05:39.837 JACK was stopped successfully.
> > zombified - calling shutdown handler
> >
> > here is what I have installed from ccrma...
> > alsa-driver-1.0.9b-1.rhfc4.ccrma
> > alsa-firmware-1.0.9-1.rhfc4.ccrma
> > alsa-oss-1.0.9-1.rhfc4.ccrma
> > alsa-tools-1.0.9-1.rhfc4.ccrma
> > alsa-utils-1.0.9rfa-1.rhfc4.ccrma
> > ardour-0.9beta29-1.1.cvs.rhfc4.ccrma
> > hydrogen-0.9.2-2.rhfc4.ccrma
> > hydrogen-drumkits-0.9.2-2.rhfc4.ccrma
> > imlib2-1.2.0-8.fc4.rhfc4.ccrma
> > imlib2-devel-1.2.0-8.fc4.rhfc4.ccrma
> > jack-audio-connection-kit-0.100.1-0.5.cvs.rhfc4.ccrma
> > jack-audio-connection-kit-devel-0.100.1-0.5.cvs.rhfc4.ccrma
> > jackmix-0.0.3-1.rhfc4.ccrma
> > kernel-2.6.12-0.21.rdt.rhfc4.ccrma
> > kernel-module-alsa-2.6.12-0.21.rdt.rhfc4.ccrma-1.0.9b-1.rhfc4.ccrma
> > liblrdf-0.4.0-1.rhfc4.ccrma
> > liblrdf-devel-0.4.0-1.rhfc4.ccrma
> > planetccrma-core-edge-2005.07.10-1.rhfc4.ccrma
> > potrace-1.7-1.rhfc4.ccrma
> > qjackctl-0.2.17-1.rhfc4.ccrma
> > raptor-1.4.2-1.rhfc4.ccrma
> > raptor-devel-1.4.2-1.rhfc4.ccrma
> > rtirq-20050620-1.rhfc4.ccrma
> > swh-plugins-0.4.13-1.rhfc4.ccrma
> > wxGTK2-2.4.2-12.rhfc4.ccrma
> > wxGTK-2.4.2-12.rhfc4.ccrma
> > wxGTK-common-2.4.2-12.rhfc4.ccrma
> > wxGTK-gl-2.4.2-12.rhfc4.ccrma
> > xmms-jack-0.13-2.rhfc4.ccrma
> >
> > Modules loaded...
> > Module                  Size  Used by
> > snd_seq_midi           10912  0
> > snd_ice1712            66372  3
> > snd_ice17xx_ak4xxx      5120  1 snd_ice1712
> > snd_ak4xxx_adda         7040  2 snd_ice1712,snd_ice17xx_ak4xxx
> > snd_cs8427             11520  1 snd_ice1712
> > snd_ac97_codec         83708  1 snd_ice1712
> > snd_seq_dummy           4228  0
> > snd_seq_oss            37888  0
> > snd_seq_midi_event      7680  2 snd_seq_midi,snd_seq_oss
> > snd_seq                60176  9
> > snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
> > snd_pcm_oss            63776  0
> > snd_mixer_oss          21376  1 snd_pcm_oss
> > snd_pcm               106632  3 snd_ice1712,snd_ac97_codec,snd_pcm_oss
> > snd_timer              28292  2 snd_seq,snd_pcm
> > snd_page_alloc         11140  1 snd_pcm
> > snd_i2c                 6400  2 snd_ice1712,snd_cs8427
> > snd_mpu401_uart         8448  1 snd_ice1712
> > snd_rawmidi            27808  2 snd_seq_midi,snd_mpu401_uart
> > snd_seq_device          9868  5
> > snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
> > snd                    68612  26
> > snd_seq_midi,snd_ice1712,snd_ice17xx_ak4xxx,snd_ak4xxx_adda,snd_cs8427,
> > \
> >       snd_ac97_codec,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event,snd_seq, \
> >       snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_i2c,snd_mpu401_uart, \
> >       snd_rawmidi,snd_seq_device
> > soundcore               9824  1 snd
> >
> > /proc/interrupts
> >            CPU0
> >   0:    8131214  IO-APIC-edge   [.........N/  0]  timer
> >   1:       4577  IO-APIC-edge   [........../  5]  i8042
> >   7:          3  IO-APIC-edge   [..P......./  0]  parport0
> >   8:          1  IO-APIC-edge   [.........N/  0]  rtc
> >   12:        185  IO-APIC-edge   [........../ 74]  i8042
> >   14:       1849  IO-APIC-edge   [........../  0]  ide0
> >   15:      32577  IO-APIC-edge   [........../  0]  ide1
> >   16:     484787  IO-APIC-level  [........../  0]  uhci_hcd:usb2,
> > radeon@pci:0000:01:00.0
> >   18:          0  IO-APIC-level  [........../  0]  uhci_hcd:usb4
> >   19:     234512  IO-APIC-level  [........../  0]  uhci_hcd:usb3
> >   20:       9427  IO-APIC-level  [........../  0]  eth0
> >   21:          0  IO-APIC-level  [.........N/  0]  ICE1712
> 
> Hmmm, isn't the second number the number of interrupts?
> 
> >   22:     429320  IO-APIC-level  [........../  0]  acpi, aic7xxx, ohci1394
> >   23:     367965  IO-APIC-level  [........../  0]  ehci_hcd:usb1
> > NMI:          0
> > LOC:    8132103
> > ERR:          0
> > MIS:          0
> 
> 


-- 
michael jones * erleichda archiving * usa
shivering is the first step towards your destiny.....