Skip to contentSkip to conversation

ALSA CVS and JACK?

DISCUSSION Paul Davis 5 participants 8 messages Feb 25, 2003 – Feb 26, 2003

lore
Share & tools
lore

Paul Davis

author
#0 lore raw

can jaroslav or takashi fill me in on the current state of ALSA CVS with respect to JACK? there have been many, many reports of JACK crashing machines when run with recent ALSA CVS in real-time mode, and mentions here on alsa-devel of configure-time JACK detection that causes certain code to be commented out, or something like that.

we are about to do a cross-DAW benchmark of ardour with most commercial apps, and the people running the test need to install ALSA. since they will run JACK in RT mode, i need to be sure that this is not going to crash their system, and would like to be able to provide assistance to others in this matter.

--p

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#1 lore raw
Quoted 5 lines · Paul Davis

can jaroslav or takashi fill me in on the current state of ALSA CVS with respect to JACK? there have been many, many reports of JACK crashing machines when run with recent ALSA CVS in real-time mode, and mentions here on alsa-devel of configure-time JACK detection that causes certain code to be commented out, or something like that.

Can we see reports? I don't see any reason for crashes.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#5 lore raw
In reply to Paul Davis
Quoted 5 lines

can jaroslav or takashi fill me in on the current state of ALSA CVS with respect to JACK? there have been many, many reports of JACK crashing machines when run with recent ALSA CVS in real-time mode, and mentions here on alsa-devel of configure-time JACK detection that causes certain code to be commented out, or something like that.

I don't find those mentions, and I don't find the code either. (Though my CVS is not 100% uptodate). I believe that the only configure-time JACK detection is related to the pcm_jack plugin. If jack is not present it should not be compiled, because it will cause link errors.

I also have experienced crashed (well, freezes) with jack in RT mode, but I don't think it has to do anything with alsa.

Maarten

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

author
#6 lore raw
Quoted 7 lines
Quoted 5 lines

can jaroslav or takashi fill me in on the current state of ALSA CVS with respect to JACK? there have been many, many reports of JACK crashing machines when run with recent ALSA CVS in real-time mode, and mentions here on alsa-devel of configure-time JACK detection that causes certain code to be commented out, or something like that.

I don't find those mentions, and I don't find the code either.

you're right. i misread the message i was thinking of. but i am sure jaroslav said something about not understanding why a certain piece of code was a problem with/without JACK.

Quoted 2 lines

I also have experienced crashed (well, freezes) with jack in RT mode, but I don't think it has to do anything with alsa.

all the evidence we have on jackit-dev points to this. people can switch between ALSA versions, and it crashes with a newer copy and not with an earlier one. there are some suggestions that its a kernel+ALSA problem. the fact that it only happens in RT mode suggests some interaction of SCHED_FIFO scheduling and kernel locking or something like that.

--p

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

author
#2 lore raw
In reply to Jaroslav Kysela
Quoted 1 line

Can we see reports? I don't see any reason for crashes.

nobody that this has happened to so far has had an oops trace. they are always running graphical apps and do not have a serial console. i am too nervous (:) to try it myself (hence i still have ALSA CVS from way back). apparently it may it also be connected to a particular kernel version.

i would say that at least 6-8 people on jackit-dev have reported this.

--p

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#7 lore raw
In reply to Paul Davis
Quoted 7 lines · Paul Davis
Quoted 7 lines
Quoted 5 lines

can jaroslav or takashi fill me in on the current state of ALSA CVS with respect to JACK? there have been many, many reports of JACK crashing machines when run with recent ALSA CVS in real-time mode, and mentions here on alsa-devel of configure-time JACK detection that causes certain code to be commented out, or something like that.

I don't find those mentions, and I don't find the code either.

I have this problem on my crusoe laptop. I am using kernel 2.4.20+pre+ll, alsa with "cvsdate 20030218.141220", and jack 0.51.1. kernel and alsa are built by me, jack is from Planet CCRMA. I have no serial port on this laptop, just a USB/serial converter, but I will be happy to run whatever test anyone might describe to help find the problem.

Signature · 8 lines
(jfm3  2838 BCBA 93BA 3058 ED95  A42C 37DB 66D1 B43C 9FD0)



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
#3 lore raw
In reply to Paul Davis

At Tue, 25 Feb 2003 14:02:05 -0500,

Quoted 8 lines · Paul Davis
Quoted 2 lines

Can we see reports? I don't see any reason for crashes.

nobody that this has happened to so far has had an oops trace. they are always running graphical apps and do not have a serial console. i am too nervous (:) to try it myself (hence i still have ALSA CVS from way back). apparently it may it also be connected to a particular kernel version.

isn't it the 2.4.20+ext3 problem?

Quoted 1 line

i would say that at least 6-8 people on jackit-dev have reported this.

hmm, i couldn't find the thread... oops+ALSA hits only the ext3 problem.

could you give the pointer?

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp

#4 lore raw
Quoted 5 lines · Takashi Iwai

At Tue, 25 Feb 2003 14:02:05 -0500,

Quoted 3 lines · Paul Davis
Quoted 2 lines

Can we see reports? I don't see any reason for crashes.

Quoted 8 lines
Quoted 5 lines

nobody that this has happened to so far has had an oops trace. they are always running graphical apps and do not have a serial console. i am too nervous (:) to try it myself (hence i still have ALSA CVS from way back). apparently it may it also be connected to a particular kernel version.

isn't it the 2.4.20+ext3 problem?

OK, I switched to ext2 on all file systems. Now I can run latencytest to completion, although oddly it complains about how it can't kill top. The upper bound for audio latency on this crusoe-based c1mw is presently 6.8ms, both according to latencytest and the pd latency measuring patch. The cpu latency is reported at around 1.5ms.

Jack and freqtweak still make the system hang, although I have to try several times to start freqtweak at all without getting the error message that freqtweak was "shut down" by the jack server.

Signature · 9 lines
(jfm3  2838 BCBA 93BA 3058 ED95  A42C 37DB 66D1 B43C 9FD0)



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp