[PlanetCCRMA] Re: Problem with /usr/bin/jackstart

Ron Pepper feffer777@yahoo.com
Sat Aug 6 18:51:02 2005


Mark, thank you very much for your help.
--- Mark Knecht <markknecht@gmail.com> wrote:

> On 8/5/05, Ron Pepper <feffer777@yahoo.com> wrote:
> > --- Mark Knecht <markknecht@gmail.com> wrote:
> > 
> > > On 8/4/05, Ron Pepper <feffer777@yahoo.com> wrote:
> > >
> > > > Tried again with CCRMA kernal, albeit a little older one.
> Still
> > > no
> > > > go. Any ideas?
> > >
> > > OK, it's either that you cannot do realtime or you cannot do
> Jack.
> > > Please try it without realtime:
> > >
> > > jackd -d alsa -d hw
> > >
> > > Also does alsamixer run? Are you getting sound at all?
> > >
> > > - Mark
> > 
> > Yes, alsamixer runs and I get sound from all sources. Alsaplayer,
> > xmms, rhythm-box all work fine, but none of the recorders work at
> > all.
> > 
> > Trying "jackd -d alsa -d hw" gets me non-stop flow of the
> following:
> > 
> > **** alsa_pcm: xrun of at least 0.034 msecs
> > etc. etc.
> > 
> 
> OK, so the default settings are not good WRT to xruns on this
> system.
> You could try
> 
> jackd -d alsa -r 44100 -n 4 -p 1024 -d hw

[rp@localhost ~]$ jackd -d alsa -r 44100 -n 4 -p 1024 -d hw
jackd 0.99.36
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

JACK compiled with System V SHM support.
loading driver ..
apparent rate = 44100
creating alsa driver ... hw|hw|1024|4|44100|0|0|nomon|swmeter|-|32bit
configuring for 44100Hz, period = 1024 frames, buffer = 4 periods
Couldn't open hw for 32bit samples trying 24bit instead
Couldn't open hw for 24bit samples trying 16bit instead
ALSA: got smaller periods 2 than 4 for capture
ALSA: cannot configure capture channel
cannot load driver module alsa
no message buffer overruns
> 
> This sets the sample rate and the basic transfer size. See man
> jackd
> for more info. If this still doesn't work then try raising -p to
> 2048/4096/etc. as an experiement.

Same result for -p 2048/4096/8192/16384
 
> The issue here is why you are not able to run realtime. Do you have
> the realtime-lsm module loaded? As root
> 
> lsmod

[root@localhost rp]# /sbin/lsmod
Module                  Size  Used by
vfat                   13952  1
fat                    40988  1 vfat
realtime                5256  0
commoncap               7040  1 realtime
parport_pc             27972  1
lp                     12232  0
parport                36424  2 parport_pc,lp
autofs4                20356  0
sunrpc                144836  1
dm_mod                 61308  0
video                  15492  0
container               4352  0
button                  6416  0
battery                 9220  0
ac                      4740  0
md5                     4096  1
ipv6                  265248  8
uhci_hcd               31760  0
ehci_hcd               35080  0
hw_random               5652  0
i2c_i801                8332  0
i2c_core               22800  1 i2c_i801
emu10k1_gp              3584  0
gameport                4608  1 emu10k1_gp
snd_emu10k1_synth       9344  0
snd_emux_synth         43008  1 snd_emu10k1_synth
snd_seq_virmidi         8320  1 snd_emux_synth
snd_seq_midi_event      8704  1 snd_seq_virmidi
snd_seq_midi_emul       8064  1 snd_emux_synth
snd_seq                61456  4
snd_emux_synth,snd_seq_virmidi,snd_seq_midi_event,snd_seq_midi_emul
snd_emu10k1           117252  1 snd_emu10k1_synth
snd_util_mem            5632  2 snd_emux_synth,snd_emu10k1
snd_hwdep              10656  2 snd_emux_synth,snd_emu10k1
snd_emu10k1x           21412  3
snd_rawmidi            27936  3
snd_seq_virmidi,snd_emu10k1,snd_emu10k1x
snd_seq_device          9612  5
snd_emu10k1_synth,snd_emux_synth,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec         79736  2 snd_emu10k1,snd_emu10k1x
snd_pcm_oss            63648  0
snd_mixer_oss          21632  3 snd_pcm_oss
snd_pcm               108424  4
snd_emu10k1,snd_emu10k1x,snd_ac97_codec,snd_pcm_oss
snd_timer              28292  3 snd_seq,snd_emu10k1,snd_pcm
snd                    69636  19
snd_emu10k1_synth,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_event,snd_seq_midi_emul,snd_seq,snd_emu10k1,snd_util_mem,snd_hwdep,snd_emu10k1x,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               9952  3 snd
snd_page_alloc         10884  3 snd_emu10k1,snd_emu10k1x,snd_pcm
e100                   37120  0
mii                     5120  1 e100
floppy                 59472  0
ext3                  135816  2
jbd                    67096  1 ext3

> If not then you can try loading it, but before you do you need to
> create a realtime group to give access to these capabilities. We'll
> get there when we know a bit more.
> 
> Can you also provide the output of:
> 
> lspci
> cat /proc/asound/version
> cat /proc/interrupts

[root@localhost rp]# /sbin/lspci
00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM
Controller/Ho st-Hub Interface (rev 01)
00:01.0 PCI bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE
Host-to-AGP Bridge (rev 01)
00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHC I Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHC I Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHC I Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB2
EHCI Controll er (rev 01)
00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC
Interface Bridge ( rev 01)
00:1f.1 IDE interface: Intel Corp. 82801DB (ICH4) IDE Controller (rev
01)
00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus
Controller  (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4
MX 420] (re v a3)
02:01.0 Communication controller: Conexant HSF 56k
Data/Fax/Voice/Spkp Modem (re v 01)
02:02.0 Multimedia audio controller: Creative Labs [SB Live! Value]
EMU10k1X
02:02.1 Input device controller: Creative Labs [SB Live! Value] Input
device con troller
02:08.0 Ethernet controller: Intel Corp. 82801DB PRO/100 VE (LOM)
Ethernet Contr oller (rev 81)

#I updated the kernel to a more recent CCRMA one:

[root@localhost rp]# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9rc1.
Compiled on Mar 22 2005 for kernel 2.6.11-0.3.rdt.rhfc3.ccrma.

[root@localhost rp]# cat /proc/interrupts
           CPU0
  0:    1168476    IO-APIC-edge  timer  0/68476
  1:        958    IO-APIC-edge  i8042  0/958
  7:          0    IO-APIC-edge  parport0  0/0
  8:          1    IO-APIC-edge  rtc  0/1
  9:          1   IO-APIC-level  acpi  0/1
 12:        116    IO-APIC-edge  i8042  0/116
 14:      19533    IO-APIC-edge  ide0  0/19532
 15:      20090    IO-APIC-edge  ide1  0/20089
 16:      65149   IO-APIC-level  uhci_hcd  0/65149
 18:        132   IO-APIC-level  EMU10K1X, uhci_hcd  0/132
 19:          0   IO-APIC-level  uhci_hcd  0/0
 20:       2599   IO-APIC-level  eth0  0/2599
 23:          2   IO-APIC-level  ehci_hcd  0/2
NMI:          0
LOC:    1168340
ERR:          0
MIS:          0

> Cheers,
> Mark
> 
Thank you very much for your help, Mark. As you can probably tell,
I'm a linux newbie (about 6 months), and I'm very appreciative of the
forum's help. When I first installed FC3, I got no sound at all, but
with help managed to install ALSA and the module I needed for my
on-board emu10k1x chip. So far, so good. Now if I could only get
audio-stream recording going!

Regards,
Ron


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs