[yoshimi] Re: Building for the RaspberryPi.

  • From: "Tom" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "madtom1999" for DMARC)
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Wed, 15 Mar 2017 19:43:26 +0000

On 15/03/17 17:20, Will Godfrey wrote:

On Wed, 15 Mar 2017 11:23:10 +0000
"Tom" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "madtom1999" for DMARC)
wrote:

Some success here: Using the latest git version as of this morning.

On a RaspberryPi2 I modified the CMakeLists.txt entry for the NEON by
removing the -O3 as this is invalid for the ARM and built a functioning
version that (in my limited usage of yoshimi) seems to be OK.

On the RasspberryPi Zero I changed the NEON line to (BuildOptions_NEON
" -mfloat-abi=hard -mfpu=vfp -mcpu=arm1176jzf-s
-funsafe-loop-optimizations" ...

and built a version that on make results in some warnings I've not seen
before

[ 53%] Generating EnvelopeUI.cpp
/home/pi/Programming/yoshimi/src/LV2_Plugin/../UI/EnvelopeUI.fl:2:
unknown version '1.0304'
This is not a problem. It just means that the file was built with a
slightly newer version of fluid that the one you have installed

but builds and works but is slightly laggy and has a high CPU usage. The
1.2.4 version released with Raspbian for the pi uses a lot less CPU so
I'm guessing either some GUI changes are taking more CPU or I need to
check my compiler switches and see what optimisation I can do. The
PiZero may still be useful as a non-gui version tho.

Tom
Hmmm, looks like optimisation issues. I find the the newer Yoshi versions have
very slightly lower DSP load, even though they have more gubbins. The exception
is single core machines, which can't manage the threads so easily.
Once loaded there are 3 yoshimi processes using 25% cpu each before anything is connected on the zero.

A bit of general info about ccmake.

It's not obvious that you can edit the options in the window. Use the up/down
arrow keys to select the line you want to edit then press return once. You are
now in an ordinary line editor and can move along it, add and delete bits. To
fix it, just press return again.

For the 'switches', return will toggle the entries on and off.

'c' & 'g' as normal, and you changes will be remembered next time you run.

You get some interesting things happening when cut and pasting into a console window from another machine sometimes!

The Pi2 makes a usable machine for Yoshimi. The Pi3 makes a very usable machine for Yoshimi. I was hoping the zero W could be part of a networked mega synth - I'll keep playing so it can be!

Tom

Yoshimi source code is available from either: 
http://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: