From: Pete S. <pst...@gm...> - 2008-05-18 23:31:22
|
Kevin, I loaded qsynth & qjackctrl on my Mandriva 2008.0 disk, but every time I attempt to start the jack daemon using qjackctrl I get... 16:25:03.989 Startup script terminated with exit status=32512. 16:25:03.990 JACK is starting... 16:25:03.990 /usr/bin/jackd -R -dalsa -dhw:0 -r48000 -p1024 -n2 jackd 0.107.2 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. cannot use real-time scheduling (FIFO at priority 10) [for thread -1210526016, from thread -1210526016] (1: Operation not permitted) cannot create engine 16:25:04.003 JACK was started with PID=24050. 16:25:04.037 JACK was stopped successfully. 16:25:04.038 Post-shutdown script... 16:25:04.038 killall jackd jackd: no process killed 16:25:04.446 Post-shutdown script terminated with exit status=256. 16:25:06.135 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info. Is this illustrating the need for a RT kernel you mentioned before? Pete |
From: D.B. M. <db...@ho...> - 2008-05-19 04:03:54
|
Greets, ---------------------------------------- > Date: Sun, 18 May 2008 16:31:18 -0700 > Subject: [jazzplusplus-devel] Starting jackd on Mandriva > > Kevin, > > I loaded qsynth & qjackctrl on my Mandriva 2008.0 disk, but every time I > attempt to start the jack daemon using qjackctrl I get... > > 16:25:03.989 Startup script terminated with exit status=32512. > 16:25:03.990 JACK is starting... > 16:25:03.990 /usr/bin/jackd -R -dalsa -dhw:0 -r48000 -p1024 -n2 > jackd 0.107.2 > 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. > cannot use real-time scheduling (FIFO at priority 10) [for thread > -1210526016, from thread -1210526016] (1: Operation not permitted) > cannot create engine > 16:25:04.003 JACK was started with PID=24050. > 16:25:04.037 JACK was stopped successfully. > 16:25:04.038 Post-shutdown script... > 16:25:04.038 killall jackd > jackd: no process killed > 16:25:04.446 Post-shutdown script terminated with exit status=256. > 16:25:06.135 Could not connect to JACK server as client. - Overall > operation failed. - Unable to connect to server. Please check the > messages window for more info. > > Is this illustrating the need for a RT kernel you mentioned before? > Pete, As some of my docs touch on this area (or will do ;-), I'm actually interested in getting some depth on this issue vis-a-vis how different linux distro vendors are configuring their 'stock' kernels... It'd help me a lot here if you could send me your (current) kernel's .config file.. (or else, send me /proc/config.gz if the madriva kernel has this option enabled)....and I can have a closer look at this and conclude the mandriva kernel makeup. Regards, Donald B _________________________________________________________________ Never miss another e-mail with Hotmail on your mobile. http://www.livelife.ninemsn.com.au/article.aspx?id=343869 |
From: Pete S. <pst...@gm...> - 2008-05-19 05:06:23
|
PS = Pete Stieber PS>> Kevin, PS>> PS>> I loaded qsynth & qjackctrl on my Mandriva 2008.0 disk, PS>> but every time I attempt to start the jack daemon using PS>> qjackctrl I get... PS>> PS>> 16:25:03.989 Startup script terminated with exit status=32512. PS>> 16:25:03.990 JACK is starting... PS>> 16:25:03.990 /usr/bin/jackd -R -dalsa -dhw:0 -r48000 -p1024 -n2 PS>> jackd 0.107.2 PS>> Copyright 2001-2005 Paul Davis and others. PS>> jackd comes with ABSOLUTELY NO WARRANTY PS>> This is free software, and you are welcome to redistribute it PS>> under certain conditions; see the file COPYING for details PS>> JACK compiled with System V SHM support. PS>> cannot use real-time scheduling (FIFO at priority 10) [for thread PS>> -1210526016, from thread -1210526016] (1: Operation not permitted) PS>> cannot create engine PS>> 16:25:04.003 JACK was started with PID=24050. PS>> 16:25:04.037 JACK was stopped successfully. PS>> 16:25:04.038 Post-shutdown script... PS>> 16:25:04.038 killall jackd PS>> jackd: no process killed PS>> 16:25:04.446 Post-shutdown script terminated with exit status=256. PS>> 16:25:06.135 Could not connect to JACK server as client. - Overall PS>> operation failed. - Unable to connect to server. Please check the PS>> messages window for more info. PS>> PS>> Is this illustrating the need for a RT kernel you mentioned before? DM = D.B. Moore DM> Pete, DM> DM> As some of my docs touch on this area (or will do ;-), DM> I'm actually interested in getting some depth on this DM> issue vis-a-vis how different linux distro vendors are DM> configuring their 'stock' kernels... DM> DM> It'd help me a lot here if you could send me your DM> (current) kernel's .config file.. (or else, send DM> me /proc/config.gz if the madriva kernel has this DM> option enabled)....and I can have a closer look at DM> this and conclude the mandriva kernel makeup. I believe I attached what you want. I'm getting closer on Mandriva. Have qjackctrl displaying something and I'm downloading soundfonts. It's tough to test and code at the same time. Pete |
From: D.B. M. <db...@ho...> - 2008-05-19 09:21:56
|
Greetings, ---------------------------------------- > Date: Sun, 18 May 2008 22:06:21 -0700 > Subject: Re: [jazzplusplus-devel] Starting jackd on Mandriva > > PS = Pete Stieber > PS>> Kevin, > PS>> > PS>> I loaded qsynth & qjackctrl on my Mandriva 2008.0 disk, > PS>> but every time I attempt to start the jack daemon using > PS>> qjackctrl I get... > PS>> > PS>> 16:25:03.989 Startup script terminated with exit status=32512. > PS>> 16:25:03.990 JACK is starting... > PS>> 16:25:03.990 /usr/bin/jackd -R -dalsa -dhw:0 -r48000 -p1024 -n2 > PS>> jackd 0.107.2 > PS>> Copyright 2001-2005 Paul Davis and others. > PS>> jackd comes with ABSOLUTELY NO WARRANTY > PS>> This is free software, and you are welcome to redistribute it > PS>> under certain conditions; see the file COPYING for details > PS>> JACK compiled with System V SHM support. > PS>> cannot use real-time scheduling (FIFO at priority 10) [for thread > PS>> -1210526016, from thread -1210526016] (1: Operation not permitted) > PS>> cannot create engine > PS>> 16:25:04.003 JACK was started with PID=24050. > PS>> 16:25:04.037 JACK was stopped successfully. > PS>> 16:25:04.038 Post-shutdown script... > PS>> 16:25:04.038 killall jackd > PS>> jackd: no process killed > PS>> 16:25:04.446 Post-shutdown script terminated with exit status=256. > PS>> 16:25:06.135 Could not connect to JACK server as client. - Overall > PS>> operation failed. - Unable to connect to server. Please check the > PS>> messages window for more info. > PS>> > PS>> Is this illustrating the need for a RT kernel you mentioned before? > > DM = D.B. Moore > DM> Pete, > DM> > DM> As some of my docs touch on this area (or will do ;-), > DM> I'm actually interested in getting some depth on this > DM> issue vis-a-vis how different linux distro vendors are > DM> configuring their 'stock' kernels... > DM> > DM> It'd help me a lot here if you could send me your > DM> (current) kernel's .config file.. (or else, send > DM> me /proc/config.gz if the madriva kernel has this > DM> option enabled)....and I can have a closer look at > DM> this and conclude the mandriva kernel makeup. > > I believe I attached what you want. > > I'm getting closer on Mandriva. Have qjackctrl displaying something and > I'm downloading soundfonts. It's tough to test and code at the same time. > Yep, sure is....and look, I know you probably think I'm doing enough already, but if there's anything I can do to get testing bits done, I do find it a refreshing break from writing...which is refreshing break from testing....and I've got the time. Of course, your fight with qsynth & co was all your own there, stuck in the position where you can't test the blessed code you've just written unless you fix that first...catch22. However, I had none of this stuff installed here either when I started out, and relative to -my- experience getting qsynth & co up and running wherein it actually surprized me to work almost out-of-the-box, your experience in what I describe as a 'bad' experience, and it would seem that Kevin has had one of these too...and from my documentor's point of view, this is 'real, live users' experience' information I can trust, and use in the docs to help users out specifically and quickly relative to what linux distro they happen to be using....ie; Kevin and yourself are supplying me this info regarding mandriva, I do my own debian 4.0 testing for this here...etc.. I wanted this stuff to be part of the docs anyway, because Bob already raised this in another thread....but right here, it appears to report Pete's situation back to him. I looked at your kernel config, these are the relevant sections in your linux resulting in the qsynth error message ; //my comments CONFIG_HZ_1000=y CONFIG_HZ=1000 //you DO have the right HZ # CONFIG_PREEMPT_NONE is not set CONFIG_PREEMPT_VOLUNTARY=y # CONFIG_PREEMPT is not set # CONFIG_PREEMPT_BKL is not set //I haven't looked at qsynth code, but my guess is the above //is the show-stopper. 'VOLUNTARY' = normal 'Desktop' preemption //'Low-latency Desktop requires CONFIG_PREEMPT=y (as I do) CONFIG_DEFAULT_IOSCHED="cfq" //not actually how sure this one matters...I use DEADLINE //myself as I'm more interested in linear performance CONFIG_TICK_ONESHOT=y CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y //I don't use the 'dynamic ticks' stuff //I believe one needs the HIGH_RES_TIMER set like you have I believe this accounts for what you're seeing with qsynth. Regards, Donald B _________________________________________________________________ Search for local singles online @ Lavalife - Click here http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D30290&_t=764581033&_r=email_taglines_Search_OCT07&_m=EXT |
From: Pete S. <pst...@gm...> - 2008-05-19 13:44:45
|
PS = Pete Stieber DM = D.B. Moore DM> //my comments DM> DM> CONFIG_HZ_1000=y DM> CONFIG_HZ=1000 DM> DM> //you DO have the right HZ DM> DM> # CONFIG_PREEMPT_NONE is not set DM> CONFIG_PREEMPT_VOLUNTARY=y DM> # CONFIG_PREEMPT is not set DM> # CONFIG_PREEMPT_BKL is not set DM> DM> // I haven't looked at qsynth code, but my DM> // guess is the above is the show-stopper. DM> // 'VOLUNTARY' = normal 'Desktop' preemption DM> //'Low-latency Desktop requires DM> // CONFIG_PREEMPT=y (as I do) DM> DM> CONFIG_DEFAULT_IOSCHED="cfq" DM> DM> // not actually how sure this one matters... DM> // I use DEADLINE myself as I'm more DM> // interested in linear performance DM> DM> CONFIG_TICK_ONESHOT=y DM> CONFIG_NO_HZ=y DM> CONFIG_HIGH_RES_TIMERS=y DM> DM> // I don't use the 'dynamic ticks' stuff DM> // I believe one needs the HIGH_RES_TIMER DM> // set like you have DM> DM> I believe this accounts for what you're DM> seeing with qsynth. For the record, my Fedora x86_64 install worked OTB. Do you want the same information from it? Do you have to compile the kernel to get these parameters changed? Pete |
From: D.B. M. <db...@ho...> - 2008-05-19 14:34:21
|
---------------------------------------- > Date: Mon, 19 May 2008 06:44:15 -0700 > Subject: Re: [jazzplusplus-devel] Starting jackd on Mandriva > > PS = Pete Stieber > DM = D.B. Moore > DM> //my comments > DM> > DM> CONFIG_HZ_1000=y > DM> CONFIG_HZ=1000 > DM> > DM> //you DO have the right HZ > DM> > DM> # CONFIG_PREEMPT_NONE is not set > DM> CONFIG_PREEMPT_VOLUNTARY=y > DM> # CONFIG_PREEMPT is not set > DM> # CONFIG_PREEMPT_BKL is not set > DM> > DM> // I haven't looked at qsynth code, but my > DM> // guess is the above is the show-stopper. > DM> // 'VOLUNTARY' = normal 'Desktop' preemption > DM> //'Low-latency Desktop requires > DM> // CONFIG_PREEMPT=y (as I do) > DM> > DM> CONFIG_DEFAULT_IOSCHED="cfq" > DM> > DM> // not actually how sure this one matters... > DM> // I use DEADLINE myself as I'm more > DM> // interested in linear performance > DM> > DM> CONFIG_TICK_ONESHOT=y > DM> CONFIG_NO_HZ=y > DM> CONFIG_HIGH_RES_TIMERS=y > DM> > DM> // I don't use the 'dynamic ticks' stuff > DM> // I believe one needs the HIGH_RES_TIMER > DM> // set like you have > DM> > DM> I believe this accounts for what you're > DM> seeing with qsynth. > > For the record, my Fedora x86_64 install worked OTB. Do you want the > same information from it? > Sure thing, it's a useful back-check ...and adds to my knowledge > > Do you have to compile the kernel to get these parameters changed? > Unfortunately, yes. Unlike the IO scheduler which you can change on the fly by echoing values into sysfs, the current kernel preemption model selection is a hardcoded thing which must be selected for inclusion at compile time. I have no idea if they plan to (or can) expose kernel preemption model selection via sysfs, but it sure would get around a lot of this stuff here... Regards, Donald B _________________________________________________________________ It's simple! Sell your car for just $30 at CarPoint.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT |
From: Pete S. <pst...@gm...> - 2008-05-20 13:52:12
Attachments:
config-2.6.24.7-92.fc8.gz
|
DM = D.B. Moore DM>>> //my comments DM>>> DM>>> CONFIG_HZ_1000=y DM>>> CONFIG_HZ=1000 DM>>> DM>>> //you DO have the right HZ DM>>> DM>>> # CONFIG_PREEMPT_NONE is not set DM>>> CONFIG_PREEMPT_VOLUNTARY=y DM>>> # CONFIG_PREEMPT is not set DM>>> # CONFIG_PREEMPT_BKL is not set DM>>> DM>>> // I haven't looked at qsynth code, but my DM>>> // guess is the above is the show-stopper. DM>>> // 'VOLUNTARY' = normal 'Desktop' preemption DM>>> //'Low-latency Desktop requires DM>>> // CONFIG_PREEMPT=y (as I do) DM>>> DM>>> CONFIG_DEFAULT_IOSCHED="cfq" DM>>> DM>>> // not actually how sure this one matters... DM>>> // I use DEADLINE myself as I'm more DM>>> // interested in linear performance DM>>> DM>>> CONFIG_TICK_ONESHOT=y DM>>> CONFIG_NO_HZ=y DM>>> CONFIG_HIGH_RES_TIMERS=y DM>>> DM>>> // I don't use the 'dynamic ticks' stuff DM>>> // I believe one needs the HIGH_RES_TIMER DM>>> // set like you have DM>>> DM>>> I believe this accounts for what you're DM>>> seeing with qsynth. PS = Pete Stieber PS>> For the record, my Fedora x86_64 install worked OTB. PS>> Do you want the same information from it? DM> Sure thing, it's a useful back-check ...and adds DM> to my knowledge A gzipped version of the config file for my Fedora 8 box is attached. Pete |
From: D.B. M. <db...@ho...> - 2008-05-20 21:08:22
|
Greets, ---------------------------------------- > Date: Tue, 20 May 2008 06:51:45 -0700 > Subject: Re: [jazzplusplus-devel] Starting jackd on Mandriva > > DM = D.B. Moore > DM>>> //my comments > DM>>> > DM>>> CONFIG_HZ_1000=y > DM>>> CONFIG_HZ=1000 > DM>>> > DM>>> //you DO have the right HZ > DM>>> > DM>>> # CONFIG_PREEMPT_NONE is not set > DM>>> CONFIG_PREEMPT_VOLUNTARY=y > DM>>> # CONFIG_PREEMPT is not set > DM>>> # CONFIG_PREEMPT_BKL is not set > DM>>> > DM>>> // I haven't looked at qsynth code, but my > DM>>> // guess is the above is the show-stopper. > DM>>> // 'VOLUNTARY' = normal 'Desktop' preemption > DM>>> //'Low-latency Desktop requires > DM>>> // CONFIG_PREEMPT=y (as I do) > DM>>> > DM>>> CONFIG_DEFAULT_IOSCHED="cfq" > DM>>> > DM>>> // not actually how sure this one matters... > DM>>> // I use DEADLINE myself as I'm more > DM>>> // interested in linear performance > DM>>> > DM>>> CONFIG_TICK_ONESHOT=y > DM>>> CONFIG_NO_HZ=y > DM>>> CONFIG_HIGH_RES_TIMERS=y > DM>>> > DM>>> // I don't use the 'dynamic ticks' stuff > DM>>> // I believe one needs the HIGH_RES_TIMER > DM>>> // set like you have > DM>>> > DM>>> I believe this accounts for what you're > DM>>> seeing with qsynth. > > PS = Pete Stieber > PS>> For the record, my Fedora x86_64 install worked OTB. > PS>> Do you want the same information from it? > > DM> Sure thing, it's a useful back-check ...and adds > DM> to my knowledge > > A gzipped version of the config file for my Fedora 8 box is attached. > That has ; CONFIG_PREEMPT_NOTIFIERS=y in IO-SCHEDULERS That's not in any standard linux tree I have, might be a patch (it'd make sense too I think, because if you've got voluntary preemption enabled and you preempt notifications from the io-scheduler). I was looking in the linux tree...apparently, if 'voluntary' is selected this is where the FIFO inherits the priority value it does. the 'low latency' option is a different hunk of code. I imagine if you knew it were coming you could prepare for it just before it was needed, rather than leaving 'room' by the lowering the FIFO priority. It would allow for raising that priority just before/as needed. I think the AMS configure script grep's /proc/config.gz and checks the running kernel config, and issues a warning at the end of configure telling the user what it just found. IIRC, it was a show-stopper until you fixed the kernel setup... I'll shutup about this now....but I got a few FAQ answers solved along the way... Thanks for the latitude ;-). Regards, Donald B _________________________________________________________________ Are you paid what you're worth? Find out: SEEK Salary Centre http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2Fcareer%2Dresources%2Fsalary%2Dcentre%2F%3Ftracking%3Dsk%3Ahet%3Asc%3Anine%3A0%3Ahot%3Atext&_t=764565661&_r=OCT07_endtext_salary&_m=EXT |
From: Pete S. <pst...@ve...> - 2008-05-19 05:37:44
|
PS = Pete Stieber PS> I'm getting closer on Mandriva. Have qjackctrl displaying PS> something and I'm downloading soundfonts. It's tough to PS> test and code at the same time. Jazz++ is playing MIDI files on my Mandriva 2008.0 box. Finally... Pete |
From: Pete S. <pst...@gm...> - 2008-05-28 03:50:07
Attachments:
config-2.6.25.3-18.fc9.x86_64.gz
|
Donald, I've attached a Fedora 9 version of the config file for your analysis. Pete |
From: D.B. M. <db...@ho...> - 2008-05-28 06:36:59
|
---------------------------------------- > Date: Wed, 28 May 2008 03:49:59 -0700 > Subject: Re: [jazzplusplus-devel] Starting jackd on Mandriva > > Donald, > > I've attached a Fedora 9 version of the config file for your analysis. > > Pete Thanks for this -- it appears the Fedora crew have used the same patch-set as they did on their previous release using linux-2.6.22-xxx I'm moving most of this linux RT/lowlatency stuff down into the newly created manual appendix area. This is because... [from www.linuxsymposium.org] " Over the past few years, Ingo Molnar and others have worked diligently to turn the Linux kernel into a viable Real-Time platform. Today it is reaching maturity and is making its way into the upstream kernel. Commercial companies are placing more pressure on distributions to offer a Real-Time Linux variant." The patch-set Fedora are using, includes elements of Ingo Molnar's RT patches, and so would seem to confirm this observation. I don't subscribe to LKML (too much traffic), but I can see this RT/lowlatency issue in linux kernels is going to slowly slip out of view...and thus become a 'legacy' issue ...(I hope) Regards, Donald B PS: Today, it seems my son has broken his foot {skateboarding}, so Kevin's not the only one with 'parental challenges' right now ;-) _________________________________________________________________ Search for local singles online @ Lavalife - Click here http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D30290&_t=764581033&_r=email_taglines_Search_OCT07&_m=EXT |