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 |