[yoshimi] Re: Raspberry Pi3 progress report.

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Thu, 23 Mar 2017 18:45:02 +0000

Back again.

I started from scratch, only this time I first installed the 1.2.4 version that
comes with Jessie and ran that through my HDMI adaptor. It sounded pretty
horrible, no matter what settings I had in Jack or Yoshimi. Then I tried it
with ALSA, but with Yoshimi set to 44.1k. It sounded fine, but was prone to
Xruns.

This gave me the necessary clue as to what was happening. The adaptor can only
handle 44.1k 16 bit, but there is no feedback mechanism so when Jack tries to
negotiate bit depth (as newer versions of Yoshimi do) it gets the wrong (or no)
info back.

Next I installed all the dependencies for building and tried compiling, adding
in that '03' again when I got into CCmake. No deal. It just wouldn't have it
regardless of where in the line I put it. So I compiled it without, to at least
see if it had improved any from my last attempt. Nope. with the same settings
as before Yoshimi *idled* at 20% dsp load! I also got crackles before it
actually went into Xruns.

Faffed about with CMakeLists.txt wondering if there was something strange about
ccmake itself, or if our corrections to deal with later changes in cmake, were
invalid in older versions. I then discovered that with the '03' hardwired it
would then compile (so why didn't it do so originally?)

This time when I ran Yoshimi it idled at 'only' 8% dsp (a dual core i5 idles at
0.9%). It was only a little better than before when generating sound, and once
more could be pushed into heavy Xruns where Yoshi lost connection and jack
went into continuous Xruns.

I've no idea where to go from here.
I'm wondering if there's a threading issue. That might account for the clicking
*before* the Xrun point has been reached. No matter what I do, I can't
duplicate this behavior on my onrdinary machines, not even by setting period
size right down to 16 and playing rapid fitsfulls of notes with my biggest
patches. Plenty of Xruns, but it all settles down completely when I stop
playing.

In view of the fact that some people seem to have success, I'll leave the NEON
line in (with the '03'). Hopefully someone can find out what's happening.

P.S.
Maybe ARM is just getting back at me for abandoning Acorn all those years ago :o

-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
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: