[PlanetCCRMA] PAE kernel & Jack

Fernando Lopez-Lezcano nando at ccrma.Stanford.EDU
Thu Oct 16 20:05:53 PDT 2008


On Thu, 2008-10-16 at 14:12 -0700, sevol wrote:
> Hi,
> 
> I haven't had luck getting the fcPAE kernel working right with Jack -
> huge xruns with nothing connected to Jack, + no sound using midi with
> that kernel. After days of googling, tweaking, & testing, I only
> accomplished making Jack unable to start. I was thinking the PAE
> enabled kernel was real time, too, but that assumption might be wrong,
> or is it? 

Which one? If it is the kernel-rtPAE then it is realtime. If I
understand correctly you boot into the kernel-rt kernel (exactly which
version?) and jack works, you boot into the kernel-rtPAE (which
version?) and then you get xruns, same hardware, same software
otherwise. 

> I've tried changing the periods to 512, 1024, & 2048, &
> changing nperiods to 3 & 4. Doesn't help. Since I haven't a clue any
> more, I've reverted to the ccrmart kernel & will live with not
> accessing all my ram for now.

That is strange. I have been running it but have not seen that problem,
but maybe it is hardware dependent. 

> Also, when I researched & bought the motherboard I didn't pay
> attention to the onboard soundcard because I have 2 firewire cards
> (neither quite working ATM), & planned to use one or the other. Until
> then, I hoped to do some experimenting with Linux software & the
> onboard card. (With the ccrmart kernel I'm having another audio issue
> - grainy sound output - preventing much use. That I'll take up
> elsewhere.) This is all to say, I don't know if any of the problems
> have to do with my onboard soundcard being a Realteck ALC882 using the
> HDA Intel driver.

Well, then (from what I understand) you don't have good sound with the
kernel-rt either! Arghh...

> I could easily have overlooked a simple solution. If anyone sees
> something I've missed, please let me know - I've never been able to
> get a actually working Linux audio system going, but still hope to.
> Even as it is, thank you for taking the time to packag the PAE kernel
> Fernando.
> 
>         sevol
> 
> For teh record, some info:
> -------------------------
> [root at localhost ~]# uname -r
> 2.6.26.5-28.fc8PAE
> [root at localhost ~]# rpm -q jack-audio-connection-kit
> jack-audio-connection-kit-0.109.12-0.svn1135_942.1.fc8.ccrma

Hmmm, that is what you say but you are running jackmp actually (0.71,
see the messages below). That is a "testing" repository version that has
both jack versions (not too good for some programs). 

There are two things you can try:

a) 
- make sure no jackd or jackdmp are around
- start jackd from a terminal window:

  jackd -R -d alsa -d hw:0 -n 3 -p256

does it start? What does it print? If it does start and you don't see
any errors then try starting qsynth. See what it says. 

b)
- make sure no jackd or jackdmp are around
- start jackdmp from a terminal window:

  jackdmp -S -R -d alsa -d hw:0 -n 3 -p 256

The -S option is important if you are running an hda-intel card as it
does not provide (yet) with a good time reference for the new model of
operation of jackmp. 

I think I'll try to release a "testing" version of jackmp only, no
confusion possible in that case. 

-- Fernando





> -------------------------
> I'm trying to use QSynth (with soundfonts)
> some QSynth messages:
> 
> 13:25:24.613 Qsynth1: Creating synthesizer engine...
> 13:25:24.644 Qsynth1: Loading soundfont:
> "/usr/share/soundfonts/FluidR3_GM.SF2" (bank offset 0)...
> 13:25:25.896 Qsynth1: Loading soundfont:
> "/usr/share/soundfonts/VintageDreamsWaves-v2.sf2" (bank offset 0)...
> 13:25:25.924 Qsynth1: Loading soundfont:
> "/usr/share/soundfonts/PCLite.sf2" (bank offset 0)...
> 13:25:26.239 Qsynth1: Creating audio driver (jack)...
> 13:25:26.283 Qsynth1: Creating MIDI router (alsa_seq)...
> 13:25:26.284 Qsynth1: Creating MIDI driver (alsa_seq)...
> 13:25:26.287 Qsynth1: Creating MIDI player...
> 13:25:26.288 Qsynth1: fluid_synth_program_reset()
> 13:25:26.295 Qsynth1: Synthesizer engine started.
> 13:25:26.295 Qsynth1: fluid_synth_set_gain(1)
> 13:25:26.297 Qsynth1: fluid_synth_set_reverb(0.2,0,0.5,0.9)
> 13:25:26.298 Qsynth1: fluid_synth_set_chorus(3,2,0.3,8,1)
> fluidsynth: warning: Ignoring sample SineWave: can't use ROM samples
> jack_client_new: deprecated
> jack_client_new: deprecated
> jack_set_sample_rate_callback: deprecated
> fluidsynth: warning: Could not connect to any physical jack ports;
> fluidsynth is unconnected
> JackActivationCount::Signal value = 0 ref = 4
> -------------------------
> Jack messages:
> 13:51:55.035 Startup script...
> 13:51:55.036 artsshell -q terminate
> jack_client_new: deprecated
> 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
> 13:51:55.490 Startup script terminated with exit status=256.
> 13:51:55.491 JACK is starting...
> 13:51:55.492 /usr/bin/jackdmp -R -dalsa -dhw:0 -r44100 -p256 -n2
> 13:51:55.502 JACK was started with PID=3184.
> ALSA: final selected sample format for capture: 32bit little-endian
> ALSA: use 2 periods for capture
> ALSA: final selected sample format for playback: 32bit little-endian
> ALSA: use 2 periods for playback
> 13:51:57.551 Server configuration saved to "/home/sevol/.jackdrc".
> 13:51:57.552 Statistics reset.
> 13:51:57.559 Client activated.
> 13:51:57.564 JACK connection change.
> 13:51:57.578 JACK connection graph change.
> jack_client_new: deprecated
> alsa_driver_xrun_recovery
> **** alsa_pcm: xrun of at least 1224102857670.656 msecs
> ProcessAsync: read error
> 13:52:24.118 XRUN callback (1).
> 13:52:27.674 JACK connection graph change.
> 13:52:27.689 ALSA connection graph change.
> 13:52:27.804 JACK connection change.
> 13:52:27.805 ALSA connection change.
> alsa_driver_xrun_recovery
> **** alsa_pcm: xrun of at least 1224102857670.656 msecs
> ProcessAsync: read error
> 13:52:40.134 XRUN callback (2).
> 13:52:45.676 ALSA connection graph change.
> 13:52:45.682 JACK connection graph change.
> alsa_driver_xrun_recovery
> **** alsa_pcm: xrun of at least 1224102857670.656 msecs
> ProcessAsync: read error
> pthread_cond_timedwait error usec = 23216 err = Connection timed out
> JackEngine::ClientCloseAux wait error ref = 4
> 13:52:45.708 XRUN callback (3).
> alsa_driver_xrun_recovery
> **** alsa_pcm: xrun of at least 1224102857670.656 msecs
> ProcessAsync: read error
> 13:52:47.631 XRUN callback (1 skipped).
> alsa_driver_xrun_recovery
> **** alsa_pcm: xrun of at least 1224102857670.656 msecs
> 13:52:49.081 XRUN callback (5).
> ProcessAsync: read error
> alsa_driver_xrun_recovery
> **** alsa_pcm: xrun of at least 1224102857670.656 msecs
> ProcessAsync: read error
> 13:52:49.635 XRUN callback (1 skipped).
> alsa_driver_xrun_recovery
> **** alsa_pcm: xrun of at least 1224102857670.656 msecs
> ProcessAsync: read error
> 13:52:51.167 XRUN callback (7).
> alsa_driver_xrun_recovery
> **** alsa_pcm: xrun of at least 1224102857670.656 msecs
> ProcessAsync: read error
> 13:52:51.638 XRUN callback (1 skipped).
> alsa_driver_xrun_recovery
> **** alsa_pcm: xrun of at least 1224102857670.656 msecs
> 13:53:02.786 XRUN callback (9).
> ProcessAsync: read error
> alsa_driver_xrun_recovery
> **** alsa_pcm: xrun of at least 1224102857670.656 msecs
> ProcessAsync: read error
> 13:53:03.656 XRUN callback (1 skipped).
> 13:53:03.720 Client deactivated.
> 13:53:03.721 JACK is stopping...
> jack main caught signal 15
> jackdmp 0.71
> Copyright 2001-2005 Paul Davis and others.
> Copyright 2004-2008 Grame.
> jackdmp 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
> 13:53:03.743 JACK was stopped with exit status=1.
> 13:53:03.744 Post-shutdown script...
> 13:53:03.745 killall jackd
> jackd: no process killed
> 13:53:04.163 Post-shutdown script terminated with exit status=256.




More information about the PlanetCCRMA mailing list