Hello all,
I've been using pd on a fedora/CCRMA system for a couple of years with good results. Recently I decided to switch to Ubuntu for several reasons, and was aware that the latency wouldn't be as good as ccrma, but I thought it would be plenty sufficient for my needs.
However, after following the instructions on the ubuntu-studio page, pd still clicks and pops frequently, i.e. when moving windows or recording data or saving the patch. Increasing the frames/period in Jack helps a little, but not much... even at 512 or 1024! And no other settings seem to help (Realtime is enabled, and pd is launched with -rt).
Next I tried compiling a vanilla kernel with Molnar's patch as described on the ubuntu-studio page, everything works fine in that kernel, except no better performance from pd :(
This is the same machine as it was on ccrma, so it must be a software issue... any ideas??
A screenshot of qjackctl: cmbryan.com/Screenshot.png
Thanks!
Chris
I have a similar (the same?) problem with pd 0.39-2 in xubuntu. When I move windows I get alot of audio dropouts (even in very simple patches). I don't get any xruns and the cpu load is ok. What I do get is alot of DIO errors. The audio works fine when i run GEM in fullscreen.
.kristofer
c.m.bryan wrote:
Hello all,
I've been using pd on a fedora/CCRMA system for a couple of years with good results. Recently I decided to switch to Ubuntu for several reasons, and was aware that the latency wouldn't be as good as ccrma, but I thought it would be plenty sufficient for my needs.
However, after following the instructions on the ubuntu-studio page, pd still clicks and pops frequently, i.e. when moving windows or recording data or saving the patch. Increasing the frames/period in Jack helps a little, but not much... even at 512 or 1024! And no other settings seem to help (Realtime is enabled, and pd is launched with -rt).
Next I tried compiling a vanilla kernel with Molnar's patch as described on the ubuntu-studio page, everything works fine in that kernel, except no better performance from pd :(
This is the same machine as it was on ccrma, so it must be a software issue... any ideas??
A screenshot of qjackctl: cmbryan.com/Screenshot.png
Thanks!
Chris
On Tue Sep 26, 2006 at 09:57:29PM +0200, Kristofer Hagbard wrote:
I have a similar (the same?) problem with pd 0.39-2 in xubuntu. When I move windows I get alot of audio dropouts (even in very simple patches). I don't get any xruns and the cpu load is ok. What I do get is alot of DIO errors. The audio works fine when i run GEM in fullscreen.
does upgrading your kernel to to 2.6.18 (optionally -rtN) help?
.kristofer
c.m.bryan wrote:
Hello all,
I've been using pd on a fedora/CCRMA system for a couple of years with good results. Recently I decided to switch to Ubuntu for several reasons, and was aware that the latency wouldn't be as good as ccrma, but I thought it would be plenty sufficient for my needs.
However, after following the instructions on the ubuntu-studio page, pd still clicks and pops frequently, i.e. when moving windows or recording data or saving the patch. Increasing the frames/period in Jack helps a little, but not much... even at 512 or 1024! And no other settings seem to help (Realtime is enabled, and pd is launched with -rt).
Next I tried compiling a vanilla kernel with Molnar's patch as described on the ubuntu-studio page, everything works fine in that kernel, except no better performance from pd :(
This is the same machine as it was on ccrma, so it must be a software issue... any ideas??
A screenshot of qjackctl: cmbryan.com/Screenshot.png
Thanks!
Chris
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I have a similar (the same?) problem with pd 0.39-2 in xubuntu. When I move windows I get alot of audio dropouts (even in very simple patches). I don't get any xruns and the cpu load is ok.
Yes, I should have mentioned that both of those are also ok with me.
What I do get is alot of DIO errors. The audio works fine when i run GEM in fullscreen.
Ooh, haven't looked for those.
does upgrading your kernel to to 2.6.18 (optionally -rtN) help?
The vanilla kernel that I patched is 2.6.18. The default ubuntu kernel is 2.6.15. I'm not sure what you mean by -rtN? I run pd with -rt, should I be adding an integer, or are you talking about a kernel compilation option? I turned on full pre-emption, of course.
The easiest solution to this problem, at least in my case, is to run PD (and Jack, if used) as root. Other people have suggested to renice the PD GUI process, which is the one causing the problem by interfering in the DSP thread when extensive redrawing of the GUI is called upon (by moving windows, or by GUI elements such as sliders, etc). Search the archives for this thread. Or investigate Linux Security Mode (LSM) kernel patches if you really have an aversion to running as root due to security issues.
d.
c.m.bryan wrote:
I have a similar (the same?) problem with pd 0.39-2 in xubuntu. When I move windows I get alot of audio dropouts (even in very simple patches). I don't get any xruns and the cpu load is ok.
Yes, I should have mentioned that both of those are also ok with me.
What I do get is alot of DIO errors. The audio works fine when i run GEM in
fullscreen.
Ooh, haven't looked for those.
does upgrading your kernel to to 2.6.18 (optionally -rtN) help?
The vanilla kernel that I patched is 2.6.18. The default ubuntu kernel is 2.6.15. I'm not sure what you mean by -rtN? I run pd with -rt, should I be adding an integer, or are you talking about a kernel compilation option? I turned on full pre-emption, of course.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
The easiest solution to this problem, at least in my case, is to run PD (and Jack, if used) as root.
Thanks, I should have tried that from the start.
That did help, but I realized that in my test patch that main problem was large audio arrays, which needed to *not* be drawn on their parent. :)
Chris