This just in…

heads up: SuperCollider 3.10.1 successfully built for RaspberryPi…
…and the still-in-development Ableton Link code, also working on the Pi!

4 Likes

if anyone is using my push 2 branch, then the new Norns 2.0 version is on the new branch tb2.0.
(new branch name as I might be adding some other devices, the previous push2 branch will be retired)

note: please read the 2.0 beta caveats on the main norns 2.0 beta thread


also, Ive made crib notes of what I did to update from 1.x, if anyone needs them.

main change, if your building on something other than a norns 2.0 image, then you will need to install boost

sudo apt-get install  libboost1.62-dev
./waf configure
2 Likes

@TheTechnobear Did you also need to install libjack-jackd2-dev ?

I have that in my notes from awhile back, but can’t remember if that was really necessary

Otherwise can report that Norns 2 beta has been working well for me on RasPi

What kernel are you using atm?

@okyeron , no , probably because my nornsPI image is very close to norns,
so what I do is use the update.tgz, unpack it, and adapt it to my setup - this only takes a few minutes. so its likely the update had jackd2-dev installed. (this was the case with boost on my nornsPI)

the other possibility, is I also have Orac (inc PD) / MEC (my software) and EigenD, running on my Norns PI - so Ive likely installed it as part of that.
(but I don’t use boost for other software, hence why I noticed it needed to be installed on other platforms)


@reijo, good question … its the latest Raspbian kernel, (not the norns kernel build)
I cannot remember if i kept with my own build of it, or reverted it back to stock.
I did play with quite a lot of kernels, including RT pre-empts, but they didn’t provide much better performance when I did tests with norns, so possibly i reverted, but i might not :wink:
Then I upgraded to a rPI3B+ when it was released, and thats has a bit of ‘headroom’ over the CM3 of the Norn, so performance was never an issue.

I guess now some are starting to upgrade their Norns to CM3+, which is same cpu as rPI3B+, we may start to see some scripts that push it a little more :wink:
on the flip side 2.0 should offer a little better load distribution over cores, so should be less of an issue.

2 Likes

would love to see your crib notes TB have installed boost and would like to upgrade rather than build norns from scratch again. :grinning:

here you go :

as I said, mostly its just take the update.zip and then edit it according to you needs :slight_smile:

my initial tests show no real CPU improvement between the CM3 and CM3+. i was under the impression (from the specs given for the CM3+) that the main improvement was heat management and huge flash. did i misunderstand this?

1 Like

sorry, my mistake …
the rPI3b to rPI3b+ went from 1.2ghz to 1.4ghz, I assumed , incorrectly the CM3, to CM3+ did the same processor bump…
but your right, CM3+ stayed at 1.2ghz … perhaps they thought the heat management was more important for the CM3 line?!

its no big deal really, that 200mhz bump is pretty modest really - as i implied above, it just feels like a bit more ‘headroom’ rather than any real extra processing power.

Linux norns 4.14.52-v7+ #1123 (although I can’t remember now if this is a fresh recompile of everything or my working setup from norns 1.0). I’ve got to work on making a new image and install instructions for my DAC board soon.

1 Like

While updating won’t let me run /.update.sh saying permission denied for some reason?

should be : ./update.sh
its it update.sh that can be run, or something its running?
(Id need to see the error message really)

if its just update.sh , then you could do
. ./update.sh
or
chmod +x ./update.sh

(im assuming your are in the update directory (i.e the one where update.sh is sitting)

chmod +x ./update.sh this makes it run but i am getting these permission errors when running ./start.sh in /norns
192.168.1.12 ~/norns $ ./stop.sh
matron: no process found
sclang: no process found
scsynth: no process found
crone: no process found
192.168.1.12 ~/norns $ ./start.sh
192.168.1.12 ~/norns $ ./matron.sh: line 3: ./build/ws-wrapper/ws-wrapper: Permission denied
./crone.sh: line 12: ./build/ws-wrapper/ws-wrapper: Permission denied

which user are you running this as? this all should be setup and run as ‘we’

did you have all this working prior to the ‘upgrade’ , as none of this should have changed during this process…

yes still ‘we’ and was fully working before.:thinking:

have been using an external editor instead of nano could this be it?

yes it was. thanks all good now :smile:

1 Like

Currently stuck with this error after running
journalctl -u norns-crone.service -b

Any ideas on where I f-ed up?

maybe check norns-init.service, norns-jack.service and norns-maiden.service to see if they’re throwing any more human readable errors

1 Like

decided to do a fresh recompile before continuing.

following errors are present:

norns-init:

Mar 17 00:30:25 norns systemd[1]: Starting norns-init...

Mar 17 00:30:25 norns amixer[252]: amixer: Unable to find simple control 'Master',0

Mar 17 00:30:25 norns systemd[1]: **norns-init.service: Main process exited, code=exited, status=1/FAILURE**

Mar 17 00:30:25 norns systemd[1]: **Failed to start norns-init.**

Mar 17 00:30:25 norns systemd[1]: **norns-init.service: Unit entered failed state.**

Mar 17 00:30:25 norns systemd[1]: **norns-init.service: Failed with result 'exit-code'.**

norns.jack:

Mar 17 00:30:25 norns systemd[1]: Starting norns-jack.service...

Mar 17 00:30:26 norns jackd[268]: Unknown driver "k6"

Mar 17 00:30:26 norns jackd[268]: jackdmp 1.9.12

Mar 17 00:30:26 norns jackd[268]: Copyright 2001-2005 Paul Davis and others.

Mar 17 00:30:26 norns jackd[268]: Copyright 2004-2016 Grame.

Mar 17 00:30:26 norns jackd[268]: Copyright 2016-2017 Filipe Coelho.

Mar 17 00:30:26 norns jackd[268]: jackdmp comes with ABSOLUTELY NO WARRANTY

Mar 17 00:30:26 norns jackd[268]: This is free software, and you are welcome to redistribute it

Mar 17 00:30:26 norns jackd[268]: under certain conditions; see the file COPYING for details

Mar 17 00:30:26 norns systemd[1]: **norns-jack.service: Main process exited, code=exited, status=255/n/a**

Mar 17 00:30:27 norns systemd[1]: **Failed to start norns-jack.service.**

Mar 17 00:30:27 norns systemd[1]: **norns-jack.service: Unit entered failed state.**

Mar 17 00:30:27 norns systemd[1]: **norns-jack.service: Failed with result 'exit-code'.**

maiden seems to be working.

looks like it might be an issue with jack not being set up properly(have a Complete Audio 6 connected, but haven’t done the setup for it yet). Maybe I just answered my own question…

thanks!

Yeah - you gotta get the sound card configured first - otherwise jack will not start properly on launch.

2 Likes

ok. did the following:

**192.168.86.30** **~ $** aplay -l

**** List of PLAYBACK Hardware Devices ****

card 0: K6 [Komplete Audio 6], device 0: USB Audio [USB Audio]

Subdevices: 1/1

Subdevice #0: subdevice #0

**192.168.86.30** **~ $** export JACK_NO_AUDIO_RESERVATION=1

**192.168.86.30** **~ $** jackd -R -P 95 -d alsa -d hw:0 -r 48000 -n 3 -p 256 -S -s

jackdmp 1.9.12

Copyright 2001-2005 Paul Davis and others.

Copyright 2004-2016 Grame.

Copyright 2016-2017 Filipe Coelho.

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

JACK server starting in realtime mode with priority 95

self-connect-mode is "Don't restrict self connect requests"

creating alsa driver ... hw:0|hw:0|256|3|48000|0|0|nomon|swmeter|soft-mode|16bit

configuring for 48000Hz, period = 256 frames (5.3 ms), buffer = 3 periods

ALSA: final selected sample format for capture: 32bit integer little-endian

ALSA: use 3 periods for capture

ALSA: final selected sample format for playback: 32bit integer little-endian

ALSA: use 3 periods for playback

And the it stuck, have to end process with ctrl-c.

I get output from the Soundcard with speaker-test -t sine -f 440 -c 2 -Dplug:sysdefault

but I get the following error with speaker-test -c2

speaker-test 1.1.3

Playback device is default

Stream parameters are 48000Hz, S16_LE, 2 channels

Using 16 octaves of pink noise

Sample format not available for playback: Invalid argument

Setting of hwparams failed: Invalid argument