soundsync icon indicating copy to clipboard operation
soundsync copied to clipboard

Support armv6 (RPi ZeroW)

Open palitu opened this issue 5 years ago • 2 comments

i am running this on:

  • headless RPi ZeroW, running Raspbian GNU/Linux 10 (buster)
  • headless ~~RPi 3~~, RPi ZeroW running Raspbian GNU/Linux 8 (jessie)

I get the follow error when trying to start soundsync:

Buster: ./soundsync: line 19: 25377 Illegal instruction ELECTRON_RUN_AS_NODE=1 $DIR/soundsync_electron --experimental-wasm-threads $DIR/resources/app/index.js "$@"

~~RPi 3~~ Jessie: ./soundsync: line 19: 8944 Segmentation fault ELECTRON_RUN_AS_NODE=1 $DIR/soundsync_electron --experimental-wasm-threads $DIR/resources/app/index.js "$@"

it then does not run. this is the only line when executed manually ./soundsync.

any help would be great!

palitu avatar Oct 12 '20 02:10 palitu

The illegal instruction is linked to the architecture of the RPi ZeroW (armv6). Soundsync is not compiled for this arch and Electron doesn't support it either. Supporting this would be long (as electron doesn't provide prebuild binaries) so I'm not planning on supporting it for the time being.

The segmentation fault on the RPi 3 is unexpected. I'm running Soundsync on a RPi 3 and never had this problem. I've update electron to the last version and will release a new version of Soundsync soon, it will be useful to test it again then.

geekuillaume avatar Oct 15 '20 09:10 geekuillaume

@geekuillaume, my bad - it is actually a RPiZeroW...

As i said previously, the PiZW gives a cheap base to build audio devices/nodes, and i would love to see these supported just as outputs, not servers.

this reduces the cost of a node from $50 to $10, which is fairly significant when you start to add a number of devices.

it would be good to see support.

cheers

palitu avatar Oct 19 '20 23:10 palitu