|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Jackd doesn't start in real-time mode in Fedora-11Starting jackd in real-time mode work in Fedora-11. Jackd thinks it's
running real-time, but ps doesn't. Following are some extracts from the shell. As you see, jackd reports that it is being started in real-time mode, priority 15, but ps reports that jackd is not running in real-time mode. Is this a known problem? Is there anything to be done about it? System is Fedora-11 with all current updates, running on x86_64. Kernel version is kernel-2.6.29.6-217.2.16.fc11.x86_64. Jackd rpm version is: jack-audio-connection-kit-1.9.2-2.fc11.ccrma.x86_64 ===================== Shell Extracts Follow ===================== $ /usr/bin/jackd -R -P15 -dalsa -dhw:0 -r48000 -p4096 -n4 -m jackdmp 1.9.2 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 could not open driver .so '/usr/lib64/jack/jack_firewire.so': libffado.so: cannot open shared object file: No such file or directory could not open component .so '/usr/lib64/jack/jack_firewire.so': libffado.so: cannot open shared object file: No such file or directory JACK server starting in realtime mode with priority 15 creating alsa driver ... hw:0|hw:0|4096|4|48000|0|0|nomon|swmeter|-|32bit Using ALSA driver HDA-Intel running on HDA ATI SB at 0xf7ff4000 irq 16 configuring for 48000Hz, period = 4096 frames (85.3 ms), buffer = 4 periods ALSA: final selected sample format for capture: 32bit integer little-endian ALSA: use 4 periods for capture ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 4 periods for playback $ ps -O rtprio 6613 PID RTPRIO S TTY TIME COMMAND 6613 - S pts/0 00:00:00 /usr/bin/jackd -R -P15 -dalsa -dhw:0 -r48000 -p4096 -n4 -m $ ulimit -a ... real-time priority (-r) 20 ... _______________________________________________ Jack-Devel mailing list Jack-Devel@... http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org |
|
|
Re: Jackd doesn't start in real-time mode in Fedora-11On Tue, 2009-09-08 at 14:25 -0700, Jonathan Ryshpan wrote:
> Starting jackd in real-time mode work in Fedora-11. Jackd thinks it's > running real-time, but ps doesn't. Following are some extracts from the > shell. As you see, jackd reports that it is being started in real-time > mode, priority 15, but ps reports that jackd is not running in real-time > mode. You are looking (with ps) at just the main thread of jackd which does not run in the realtime priority scheduler. Look into /proc/task/PID_OF_JACK/task (the pid of jackd.bin) and you will see the pids of the rest of the jack threads. Two of those should be running with rtprio. > Is this a known problem? Is there anything to be done about it? There should be no problem... -- Fernando > System is Fedora-11 with all current updates, running on x86_64. > Kernel version is > kernel-2.6.29.6-217.2.16.fc11.x86_64. > Jackd rpm version is: > jack-audio-connection-kit-1.9.2-2.fc11.ccrma.x86_64 > > ===================== Shell Extracts Follow ===================== > > $ /usr/bin/jackd -R -P15 -dalsa -dhw:0 -r48000 -p4096 -n4 -m > jackdmp 1.9.2 > 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 > could not open driver .so '/usr/lib64/jack/jack_firewire.so': libffado.so: cannot open shared object file: No such file or directory > could not open component .so '/usr/lib64/jack/jack_firewire.so': libffado.so: cannot open shared object file: No such file or directory > JACK server starting in realtime mode with priority 15 > creating alsa driver ... hw:0|hw:0|4096|4|48000|0|0|nomon|swmeter|-|32bit > Using ALSA driver HDA-Intel running on HDA ATI SB at 0xf7ff4000 irq 16 > configuring for 48000Hz, period = 4096 frames (85.3 ms), buffer = 4 periods > ALSA: final selected sample format for capture: 32bit integer little-endian > ALSA: use 4 periods for capture > ALSA: final selected sample format for playback: 32bit integer little-endian > ALSA: use 4 periods for playback > > $ ps -O rtprio 6613 > PID RTPRIO S TTY TIME COMMAND > 6613 - S pts/0 00:00:00 /usr/bin/jackd -R -P15 -dalsa -dhw:0 -r48000 -p4096 -n4 -m > > $ ulimit -a > ... > real-time priority (-r) 20 > ... > > > _______________________________________________ > Jack-Devel mailing list > Jack-Devel@... > http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org _______________________________________________ Jack-Devel mailing list Jack-Devel@... http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org |
|
|
Re: Jackd doesn't start in real-time mode in Fedora-11On Tue, 2009-09-08 at 16:23 -0700, Fernando Lopez-Lezcano wrote:
> On Tue, 2009-09-08 at 14:25 -0700, Jonathan Ryshpan wrote: > > Starting jackd in real-time mode work in Fedora-11. Jackd thinks it's > > running real-time, but ps doesn't. Following are some extracts from the > > shell. As you see, jackd reports that it is being started in real-time > > mode, priority 15, but ps reports that jackd is not running in real-time > > mode. > > You are looking (with ps) at just the main thread of jackd which does > not run in the realtime priority scheduler. Look > into /proc/task/PID_OF_JACK/task (the pid of jackd.bin) and you will see > the pids of the rest of the jack threads. Two of those should be running > with rtprio. Thanks for your quick replies. However it's not so easy to find out the priority of these threads: $ pgrep jackd 2894 $ pwd /proc/2894/task $ ls 2894 2895 2896 2897 $ ps -O rtprio 2894 PID RTPRIO S TTY TIME COMMAND 2894 - S pts/0 00:00:00 /usr/bin/jackd -R -P15 -dalsa -dhw:0 -r48000 -p4096 -n4 - $ ps -O rtprio 2895 PID RTPRIO S TTY TIME COMMAND $ ps -O rtprio 2896 PID RTPRIO S TTY TIME COMMAND $ ps -O rtprio 2897 PID RTPRIO S TTY TIME COMMAND I assume the real-time priority is somewhere in the directories belonging to these threads, but they are large and it's not obvious where the information is. For example: $ ls 2897 attr cmdline exe latency mem oom_adj root smaps status auxv cpuset fd limits mountinfo oom_score sched stack syscall cgroup cwd fdinfo loginuid mounts pagemap schedstat stat wchan clear_refs environ io maps numa_maps personality sessionid statm _______________________________________________ Jack-Devel mailing list Jack-Devel@... http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org |
|
|
Re: Jackd doesn't start in real-time mode in Fedora-11On Tue, 2009-09-08 at 17:26 -0700, Jonathan Ryshpan wrote:
> On Tue, 2009-09-08 at 16:23 -0700, Fernando Lopez-Lezcano wrote: > > On Tue, 2009-09-08 at 14:25 -0700, Jonathan Ryshpan wrote: > > > Starting jackd in real-time mode work in Fedora-11. Jackd thinks it's > > > running real-time, but ps doesn't. Following are some extracts from the > > > shell. As you see, jackd reports that it is being started in real-time > > > mode, priority 15, but ps reports that jackd is not running in real-time > > > mode. > > > > You are looking (with ps) at just the main thread of jackd which does > > not run in the realtime priority scheduler. Look > > into /proc/task/PID_OF_JACK/task (the pid of jackd.bin) and you will see > > the pids of the rest of the jack threads. Two of those should be running > > with rtprio. > > Thanks for your quick replies. However it's not so easy to find out the > priority of these threads: > > $ pgrep jackd > 2894 > $ pwd > /proc/2894/task > $ ls > 2894 2895 2896 2897 > $ ps -O rtprio 2894 > PID RTPRIO S TTY TIME COMMAND > 2894 - S pts/0 00:00:00 /usr/bin/jackd -R -P15 -dalsa -dhw:0 -r48000 -p4096 -n4 - > $ ps -O rtprio 2895 > PID RTPRIO S TTY TIME COMMAND > $ ps -O rtprio 2896 > PID RTPRIO S TTY TIME COMMAND > $ ps -O rtprio 2897 > PID RTPRIO S TTY TIME COMMAND > > I assume the real-time priority is somewhere in the directories > belonging to these threads, but they are large and it's not obvious > where the information is. For example: > > $ ls 2897 > attr cmdline exe latency mem oom_adj root smaps status > auxv cpuset fd limits mountinfo oom_score sched stack syscall > cgroup cwd fdinfo loginuid mounts pagemap schedstat stat wchan > clear_refs environ io maps numa_maps personality sessionid statm This should do it: ps -eLo pid,class,rtprio,ni,pri,pcpu,stat,comm --sort -rtprio |grep jack (lots of threads...) -- Fernando _______________________________________________ Jack-Devel mailing list Jack-Devel@... http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org |
|
|
Re: Jackd doesn't start in real-time mode in Fedora-11On Tue, 2009-09-08 at 17:36 -0700, Fernando Lopez-Lezcano wrote:
> On Tue, 2009-09-08 at 17:26 -0700, Jonathan Ryshpan wrote: > > On Tue, 2009-09-08 at 16:23 -0700, Fernando Lopez-Lezcano wrote: > > > On Tue, 2009-09-08 at 14:25 -0700, Jonathan Ryshpan wrote: > > > > Starting jackd in real-time mode work in Fedora-11. Jackd thinks it's > > > > running real-time, but ps doesn't. Following are some extracts from the > > > > shell. As you see, jackd reports that it is being started in real-time > > > > mode, priority 15, but ps reports that jackd is not running in real-time > > > > mode. > > > > > > You are looking (with ps) at just the main thread of jackd which does > > > not run in the realtime priority scheduler. Look > > > into /proc/task/PID_OF_JACK/task (the pid of jackd.bin) and you will see > > > the pids of the rest of the jack threads. Two of those should be running > > > with rtprio. > This should show the threads: > > ps -eLo pid,class,rtprio,ni,pri,pcpu,stat,comm --sort -rtprio | grep jack > (lots of threads...) There are 4 threads running, but only one is running real-time: $ ps -eLo pid,class,rtprio,ni,pri,pcpu,stat,comm --sort -rtprio PID CLS RTPRIO NI PRI %CPU STAT COMMAND ... 2894 TS - 0 19 0.0 Sl+ jackd 2894 TS - 0 19 0.0 Sl+ jackd 2894 TS - 0 19 0.0 Sl+ jackd 2894 RR 15 - 55 0.0 Sl+ jackd ... jon _______________________________________________ Jack-Devel mailing list Jack-Devel@... http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org |
|
|
Re: Jackd doesn't start in real-time mode in Fedora-11On Tue, 2009-09-08 at 17:53 -0700, Jonathan Ryshpan wrote:
> On Tue, 2009-09-08 at 17:36 -0700, Fernando Lopez-Lezcano wrote: > > On Tue, 2009-09-08 at 17:26 -0700, Jonathan Ryshpan wrote: > > > On Tue, 2009-09-08 at 16:23 -0700, Fernando Lopez-Lezcano wrote: > > > > On Tue, 2009-09-08 at 14:25 -0700, Jonathan Ryshpan wrote: > > > > > Starting jackd in real-time mode work in Fedora-11. Jackd thinks it's > > > > > running real-time, but ps doesn't. Following are some extracts from the > > > > > shell. As you see, jackd reports that it is being started in real-time > > > > > mode, priority 15, but ps reports that jackd is not running in real-time > > > > > mode. > > > > > > > > You are looking (with ps) at just the main thread of jackd which does > > > > not run in the realtime priority scheduler. Look > > > > into /proc/task/PID_OF_JACK/task (the pid of jackd.bin) and you will see > > > > the pids of the rest of the jack threads. Two of those should be running > > > > with rtprio. > > > This should show the threads: > > > > ps -eLo pid,class,rtprio,ni,pri,pcpu,stat,comm --sort -rtprio | grep jack > > (lots of threads...) > > There are 4 threads running, but only one is running real-time: > > $ ps -eLo pid,class,rtprio,ni,pri,pcpu,stat,comm --sort -rtprio > PID CLS RTPRIO NI PRI %CPU STAT COMMAND > ... > 2894 TS - 0 19 0.0 Sl+ jackd > 2894 TS - 0 19 0.0 Sl+ jackd > 2894 TS - 0 19 0.0 Sl+ jackd > 2894 RR 15 - 55 0.0 Sl+ jackd That should be fine... (try starting a client) Anyway, it is running realtime. -- Fernando _______________________________________________ Jack-Devel mailing list Jack-Devel@... http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org |
|
|
Re: Jackd doesn't start in real-time mode in Fedora-11Fernando Lopez-Lezcano <nando@...> writes:
> ps -eLo pid,class,rtprio,ni,pri,pcpu,stat,comm --sort -rtprio |grep jack Or: ps -C jackd -cmL -- Esben Stien is b0ef@e s a http://www. s t n m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@ n n _______________________________________________ Jack-Devel mailing list Jack-Devel@... http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org |
| Free embeddable forum powered by Nabble | Forum Help |