Re: [PD] new raspberries

2015-02-09 Thread Miller Puckette
Interesting. Of course, it _should_ be thermally permitted to run all cores at speed - and the Pi folk are taking heat dissipation very seriously in their thinking. So my leaning would be to risk $35 on a week-long stress test using -nosleep. Hmm, time to order a machine... cheers Miller On

Re: [PD] new raspberries

2015-02-09 Thread katja
Using the following command to check cpu frequency on RPi model 2B: sudo watch -n 1 cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq I found that RPi model 2B does frequency scaling by default (nothing modified in /boot/config.txt). It switches between 600 and 900 MHz. This doesn't

Re: [PD] new raspberries

2015-02-08 Thread Pierre Massat
Wow. This is getting interesting again ! Thank you Katja for purchasing and testing the new version so quickly. Pierre. 2015-02-07 15:22 GMT+01:00 katja katjavet...@gmail.com: 10 ms buffer in audio settings was tested OK for this setup: Raspberry Pi model 2B Raspbian wheezy, latest image

Re: [PD] new raspberries

2015-02-08 Thread Simon Wise
On 08/02/15 02:52, katja wrote: As an alternative to pd -nosleep, taskset 0x0001 pd (as per Simon Wise's suggestion) is another way to run puredata properly on Raspberry Pi model 2B. This sets 'CPU affinity' for pd to core 1 (you could set another core in hex format). Apparently the

Re: [PD] new raspberries

2015-02-07 Thread katja
On Fri, Feb 6, 2015 at 11:56 PM, Miller Puckette m...@ucsd.edu wrote: Also try running pd -nosleep, which sometimes persuades kernels to schedule the process differently :) Indeed, pd -nosleep does the magic. Command htop shows hat the kernel has 100% CPU time reserved on one core (fixed per

Re: [PD] new raspberries

2015-02-07 Thread Pierre Massat
Dear Katja, Could you please tell us what buffer size you're using in Pd ? Can you get lower than 16 ms without dropouts with a reasonable patch with both adc and dac ? Thanks in advance, Pierre. 2015-02-07 10:39 GMT+01:00 katja katjavet...@gmail.com: On Fri, Feb 6, 2015 at 11:56 PM, Miller

Re: [PD] new raspberries

2015-02-06 Thread Brian Fay
Wow, that's unexpected! :( Are other audio-related things working fine? -Brian On Fri, Feb 6, 2015 at 3:40 PM, katja katjavet...@gmail.com wrote: Hello, I got that new Raspberry Pi model 2b. It is indeed much faster than b or b+ in practice, but alarmingly, I can't get useful sound from

Re: [PD] new raspberries

2015-02-06 Thread katja
Hello, I got that new Raspberry Pi model 2b. It is indeed much faster than b or b+ in practice, but alarmingly, I can't get useful sound from Pd. Continuous dropouts, no matter if built-in output or USB sound card (iMic) is used. I've built puredata 0.46-2 from Raspbian jessie source, for sure it

Re: [PD] new raspberries

2015-02-06 Thread katja
Aplay can play a .wav file without trouble, so it is not a general problem with the audio hardware or drivers on Pi 2b. I installed command htop to see CPU load per core. It's interesting, the load switches from one core to another, and sometimes they all seem to be almost idle even with a heavy

Re: [PD] new raspberries

2015-02-06 Thread Miller Puckette
Also try running pd -nosleep, which sometimes persuades kernels to schedule the process differently :) M On Fri, Feb 06, 2015 at 11:30:03PM +0100, katja wrote: Claude, thanks for the hint. My /boot/config.txt shows no special settings, so I guess the CPU is at a fixed frequency. It says that

Re: [PD] new raspberries

2015-02-06 Thread Claude Heiland-Allen
I've not got any version of the rpi, but maybe it's scaling down the clock frequency of unused cores, which then takes some time to spin up to full speed when a task is moved by the kernel? I also had issues on amd64 desktop and core2duo laptop with pd -rt not being taken into account by the

Re: [PD] new raspberries

2015-02-06 Thread katja
Claude, thanks for the hint. My /boot/config.txt shows no special settings, so I guess the CPU is at a fixed frequency. It says that '700 MHz is the default' (while model 2B should be at 900 MHz). Seems I downloaded the 'newest' Raspbian too early (the day after model 2B's release)... Will try

Re: [PD] new raspberries

2015-02-06 Thread Simon Wise
On 07/02/15 12:22, Simon Wise wrote: Try one of the other images ... the new ones are there because they run on ARMv7, and if they have puredata in their repositories then it will be built for ARMv7 also. Maybe you will need to build pd yourself, but in any case downloading one of the

[PD] new raspberries

2015-02-04 Thread Simon Wise
On 05/02/15 12:51, Simon Wise wrote: (I haven't checked out the newest Pi at all yet, it apparently has a very much more powerful processor so is quite a different beast) Ok ... so it is a very similar chip with Quad-core ARMv7 replacing the single core ARMv6, with the rest of the chip