Sonic-Pi don't Boot on Manjaro - I'm using pipewire

Hello! i have a little problem with Sonic-Pi.

I have been using sonic-pi for 1 year. Without any kind of problem.

But this week, after my vacation, sonic-pi stopped booting.

Patchage shows me that the server starts, but sonic-pi never goes through the splash screen. After a few minutes it shows me the error log. And it tells me that it cannot find certain files related to Jack.

My system is Manjaro 21.2.

Sonic Pi Boot Error Report
==================


System Information
----------------

* Sonic Pi version: 3.3.1
* OS: Manjaro Linux


GUI Log
-------

**`/home/fede/.sonic-pi/log/gui.log`**

[GUI] -
[GUI] -
[GUI] -
[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -
[GUI] - {4f0435ee-527b-4e05-82d0-6b3dc246ec64}
[GUI] - ui locale: es-AR
[GUI] - sys locale: es_AR
[GUI] - translations available
[GUI] - Discovering port numbers…
[GUI] - Port entry server-listen-to-gui : 51235 : 51235
[GUI] - Port entry gui-send-to-server : 51235 : 51235
[GUI] - Port entry gui-listen-to-server : 51236 : 51236
[GUI] - Port entry server-send-to-gui : 51236 : 51236
[GUI] - Port entry scsynth : 51237 : 51237
[GUI] - Port entry scsynth-send : 51237 : 51237
[GUI] - Port entry server-osc-cues : 4560 : 4560
[GUI] - Port entry erlang-router : 51238 : 51238
[GUI] - Port entry websocket : 51239 : 51239
[GUI] - Detecting port numbers…
[GUI] - GUI listen to server port 51236
[GUI] - port: 51236 [OK]
[GUI] - Server listen to gui port 51235
[GUI] - port: 51235 [OK]
[GUI] - Server incoming OSC cues port 4560
[GUI] - port: 4560 [OK]
[GUI] - Scsynth port 51237
[GUI] - port: 51237 [OK]
[GUI] - Server send to GUI port 51236
[GUI] - port: 51236 [OK]
[GUI] - GUI send to server port 51235
[GUI] - port: 51235 [OK]
[GUI] - Scsynth send port 51237
[GUI] - port: 51237 [OK]
[GUI] - Erlang router port 51238
[GUI] - port: 51238 [OK]
[GUI] - Websocket port 51239
[GUI] - port: 51239 [OK]
[GUI] - All ports OK
[GUI] - hiding main window
[GUI] - initialising toolbar icons
[GUI] - setting up window structure
[GUI] - restoring scope states
[GUI] - creating status bar
[GUI] - creating info panel
[GUI] - creating shortcuts
[GUI] - creating tool bar
[GUI] - initialising documentation window
[GUI] - launching Sonic Pi Runtime Server:
[GUI] - starting UDP OSC Server on port 51236…
[GUI] - UDP OSC Server ready and listening
[GUI] - Ruby server pid registered: 1641
[GUI] - wait for sync
[GUI] - waiting for Sonic Pi Server to boot…
.
[GUI] - Sonic Pi Server failed to start with this error message:
> Server Exception:
No such file or directory - jack_connect
["/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:464:in ``’", “/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:464:in boot_server_linux'", "/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:172:in boot’”, “/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:58:in initialize'", "/usr/lib/sonic-pi/server/lib/sonicpi/server.rb:80:in new’”, “/usr/lib/sonic-pi/server/lib/sonicpi/server.rb:80:in initialize'", "/usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:117:in new’”, “/usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:117:in init_scsynth'", "/usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:52:in initialize’”, “/usr/lib/sonic-pi/server/lib/sonicpi/lang/sound.rb:89:in new'", "/usr/lib/sonic-pi/server/lib/sonicpi/lang/sound.rb:89:in block (2 levels) in included’”, “/usr/lib/sonic-pi/server/lib/sonicpi/lang/ixi.rb:72:in block (2 levels) in included'", "/usr/bin/../../usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:344:in new’”, “/usr/bin/…/…/usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:344:in `’”]
[GUI] - UDP OSC Server no longer listening

[GUI] - Critical error! Could not boot Sonic Pi Server.
[GUI] - stopping UDP OSC Server…
[GUI] - Critical Error. Unable to connect to server…



Server Errors
-------------

**`/home/fede/.sonic-pi/log/server-errors.log`**

[W][00194.737700] default | [ control.c: 87 jackctl_server_create2()] not implemented 0x55f7bfad94c0 0x55f7bfad9630 0x55f7bfad96f0
[W][00194.737781] default | [ control.c: 174 jackctl_server_get_parameters()] 0x55f7c09087b0: not implemented
[W][00194.737794] default | [ control.c: 162 jackctl_server_get_drivers_list()] 0x55f7c09087b0: not implemented
[W][00194.737802] default | [ control.c: 245 jackctl_driver_get_name()] 0x55f7c09087d0: not implemented
Unknown driver “alsa”
[W][00194.737811] default | [ control.c: 114 jackctl_server_destroy()] 0x55f7c09087b0: not implemented



Server Output
-------------

**`/home/fede/.sonic-pi/log/server-output.log`**

Sonic Pi server booting…
The time is 2022-01-25 13:01:54 -0300
Using primary protocol: udp
Detecting port numbers…
Listen port: 51235

  • OK
    Scsynth port: 51237
  • OK
    Scsynth send port: 51237
  • OK
    OSC cues port: 4560
  • OK
    Erlang port: 51238
  • OK
    Websocket port: 4562
  • OK
    Opening UDP Server to listen to GUI on port: 51235
    Starting Server Runtime
    Booting server…

Booting Sonic Pi

Booting on Linux
Jackd not running on system. Starting…
Boot - Starting the SuperCollider server…
jackdmp 1.9.20
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2021 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
Boot - SuperCollider booted successfully.
Boot - Connecting to the SuperCollider server…
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Receiving ack from scsynth
Boot - Server connection established
Failed to start server: No such file or directory - jack_connect
/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:464:in ``’
/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:464:in boot_server_linux' /usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:172:in boot’
/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:58:in initialize' /usr/lib/sonic-pi/server/lib/sonicpi/server.rb:80:in new’
/usr/lib/sonic-pi/server/lib/sonicpi/server.rb:80:in initialize' /usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:117:in new’
/usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:117:in init_scsynth' /usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:52:in initialize’
/usr/lib/sonic-pi/server/lib/sonicpi/lang/sound.rb:89:in new' /usr/lib/sonic-pi/server/lib/sonicpi/lang/sound.rb:89:in block (2 levels) in included’
/usr/lib/sonic-pi/server/lib/sonicpi/lang/ixi.rb:72:in block (2 levels) in included' /usr/bin/../../usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:344:in new’
/usr/bin/…/…/usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:344:in <main>' ERROR: Unable to write information for PID 1654 to path /tmp/sonic-pi-pids/1654! undefined method cmdline’ for nil:NilClass
Started [1656] [-] scsynth -u 51237 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1 [-] /tmp/sonic-pi-pids/1656



Scsynth Output
--------------

**`/home/fede/.sonic-pi/log/scsynth.log`**

Starting SuperCollider 2022-01-25 13:01:54

Found 0 LADSPA plugins
Faust: supercollider.cpp: sc_api_version = 3
Faust: FaustGreyholeRaw numControls=7
Faust: supercollider.cpp: sc_api_version = 3
Faust: FaustJPverbRaw numControls=11
JackDriver: client name is ‘SuperCollider’
SC_AudioDriver: sample rate = 48000.000000, driver’s block size = 1024
SuperCollider 3 server ready.



Process Log
--------------

**`/home/fede/.sonic-pi/log/processes.log`**
ask-clear.rb

Clearing pids: []
No pids to clear :slight_smile:
Started [1641] [-] /usr/bin/ruby --enable-frozen-string-literal -E utf-8 /usr/bin/…/…/usr/lib/sonic-pi/server/bin/sonic-pi-server.rb -u 51235 51236 51237 51237 4560 51238 51239 [-] /tmp/sonic-pi-pids/1641
ERROR: Unable to write information for PID 1654 to path /tmp/sonic-pi-pids/1654!
undefined method `cmdline’ for nil:NilClass
Started [1656] [-] scsynth -u 51237 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1 [-] /tmp/sonic-pi-pids/1656

Cheers

@ff_raggat - would you be happy to raise this as an issue on GitHub instead? We try to collect things like this there. (Easier to manage it all in a single location).

Yes. i can do that.

i give you the link

hi @ff_raggat

by the way, as i have installed ARM manjaro, how can i install Sonic pi ? Using a .deb package ?
Any help appreciated :slight_smile:

hi @nib how are you?

the way to install sonic-pi on manjaro its’ very easy

on a terminal

sudo pacman -S sonic-pi

Also you can install by the Software Center.

DEB packages doesn’t work on Arch Based linux distribution. Manjaro has it’s own servers of software and they are very updated.

You can also compile it. But, the versión of the community it’s the very last of the releases of Sonic-PI 3.3.1

cheers

@ff_raggat thank you for your answer and actually it’s very easy via the applications software :slight_smile:

manjaro arm seems to be a good client to use instead of the raspberry os.

see you

hi

i have installed sonicpi via the application manager. So i assume every dependances are satisfied.
But can’t start sonicpi. it seems to be a jack issue.
SO @ff_raggat if you have got some ideas don’t hesitate :slight_smile:

Sonic Pi Boot Error Report
==================


System Information
----------------

* Sonic Pi version: 3.3.1
* OS: Manjaro ARM


GUI Log
-------

**`/home/nlb/.sonic-pi/log/gui.log`**

[GUI] -
[GUI] -
[GUI] -
[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -
[GUI] - {7ccbe1cb-2091-4264-9043-880832556970}
[GUI] - ui locale: fr-FR
[GUI] - sys locale: fr_FR
[GUI] - translations available
[GUI] - Discovering port numbers…
[GUI] - Port entry server-listen-to-gui : 51235 : 51235
[GUI] - Port entry gui-send-to-server : 51235 : 51235
[GUI] - Port entry gui-listen-to-server : 51236 : 51236
[GUI] - Port entry server-send-to-gui : 51236 : 51236
[GUI] - Port entry scsynth : 51237 : 51237
[GUI] - Port entry scsynth-send : 51237 : 51237
[GUI] - Port entry server-osc-cues : 4560 : 4560
[GUI] - Port entry erlang-router : 51238 : 51238
[GUI] - Port entry websocket : 51239 : 51239
[GUI] - Detecting port numbers…
[GUI] - GUI listen to server port 51236
[GUI] - port: 51236 [OK]
[GUI] - Server listen to gui port 51235
[GUI] - port: 51235 [OK]
[GUI] - Server incoming OSC cues port 4560
[GUI] - port: 4560 [OK]
[GUI] - Scsynth port 51237
[GUI] - port: 51237 [OK]
[GUI] - Server send to GUI port 51236
[GUI] - port: 51236 [OK]
[GUI] - GUI send to server port 51235
[GUI] - port: 51235 [OK]
[GUI] - Scsynth send port 51237
[GUI] - port: 51237 [OK]
[GUI] - Erlang router port 51238
[GUI] - port: 51238 [OK]
[GUI] - Websocket port 51239
[GUI] - port: 51239 [OK]
[GUI] - All ports OK
[GUI] - hiding main window
[GUI] - initialising toolbar icons
[GUI] - setting up window structure
[GUI] - restoring scope states
[GUI] - creating status bar
[GUI] - creating info panel
[GUI] - creating shortcuts
[GUI] - creating tool bar
[GUI] - initialising documentation window
[GUI] - launching Sonic Pi Runtime Server:
[GUI] - starting UDP OSC Server on port [GUI] - launching Sonic Pi Runtime Server:
[GUI] - starting UDP OSC Server on port 51236…
[GUI] - UDP OSC Server ready and listening
[GUI] - Ruby server pid registered: 38082
[GUI] - wait for sync
[GUI] - waiting for Sonic Pi Server to boot…

[GUI] - Sonic Pi Server failed to start with this error message:
> Server Exception:
No such file or directory - jack_connect
["/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:435:in ``’", “/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:435:in boot_server_raspberry_pi'", "/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:170:in boot’”, “/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:58:in initialize'", "/usr/lib/sonic-pi/server/lib/sonicpi/server.rb:80:in new’”, “/usr/lib/sonic-pi/server/lib/sonicpi/server.rb:80:in initialize'", "/usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:117:in new’”, “/usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:117:in init_scsynth'", "/usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:52:in initialize’”, “/usr/lib/sonic-pi/server/lib/sonicpi/lang/sound.rb:89:in new'", "/usr/lib/sonic-pi/server/lib/sonicpi/lang/sound.rb:89:in block (2 levels) in included’”, “/usr/lib/sonic-pi/server/lib/sonicpi/lang/ixi.rb:72:in block (2 levels) in included'", "/usr/bin/../../usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:344:in new’”, “/usr/bin/…/…/usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:344:in `’”]
[GUI] - UDP OSC Server no longer listening

[GUI] - Critical error! Could not boot Sonic Pi Server.
[GUI] - stopping UDP OSC Server…
[GUI] - Critical Error. Unable to connect to server…



Server Errors
-------------

**`/home/nlb/.sonic-pi/log/server-errors.log`**

Could not open component .so ‘/usr/lib/jack/jack_firewire.so’: libffado.so.2: cannot open shared object file: No such file or directory
Could not open component .so ‘/usr/lib/jack/jack_firewire.so’: libffado.so.2: cannot open shared object file: No such file or directory
jack_get_descriptor : dll
jack_get_descriptor returns null for ‘jack_firewire.so’
Could not open component .so ‘/usr/lib/jack/jack_firewire.so’: libffado.so.2: cannot open shared object file: No such file or directory
Cannot lock down 107350048 byte memory area (Cannot allocate memory)
Cannot use real-time scheduling (RR/10) (1: Operation not permitted)
AcquireSelfRealTime error
Cannot lock down 107350048 byte memory area (Cannot allocate memory)
Cannot use real-time scheduling (RR/5) (1: Operation not permitted)
JackClient::AcquireSelfRealTime error
Échec : Échec lors de l’initialisation du module
Échec : Échec lors de l’initialisation du module
Échec : Échec lors de l’initialisation du module



Server Output
-------------

**`/home/nlb/.sonic-pi/log/server-output.log`**

Sonic Pi server booting…
The time is 2022-01-29 09:31:05 +0100
Compton not installed on your Raspberry Pi so transparency is not available
If you wish to have transparency run the following in a terminal:
sudo apt install compton
Using primary protocol: udp
Detecting port numbers…
Listen port: 51235

  • OK
    Scsynth port: 51237
  • OK
    Scsynth send port: 51237
  • OK
    OSC cues port: 4560
  • OK
    Erlang port: 51238
  • OK
    Websocket port: 4562
  • OK
    Opening UDP Server to listen to GUI on port: 51235
    Starting Server Runtime
    Booting server…

Booting Sonic Pi

Booting on Raspberry Pi (64bit OS)
Jackd not running on system. Starting…
Boot - Starting the SuperCollider server…
jackdmp 1.9.20
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2021 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 10
self-connect-mode is “Don’t restrict self connect requests”
Boot - SuperCollider booted successfully.
Boot - Connecting to the SuperCollider server…
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Receiving ack from scsynth
Boot - Server connection established
Failed to start server: No such file or directory - jack_connect
/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:435:in ``’
/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:435:in boot_server_raspberry_pi' /usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:170:in boot’
/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:58:in initialize' /usr/lib/sonic-pi/server/lib/sonicpi/server.rb:80:in new’
/usr/lib/sonic-pi/server/lib/sonicpi/server.rb:80:in initialize' /usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:117:in new’
/usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:117:in init_scsynth' /usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:52:in initialize’
/usr/lib/sonic-pi/server/lib/sonicpi/lang/sound.rb:89:in new' /usr/lib/sonic-pi/server/lib/sonicpi/lang/sound.rb:89:in block (2 levels) in included’
/usr/lib/sonic-pi/server/lib/sonicpi/lang/ixi.rb:72:in block (2 levels) in included' /usr/bin/../../usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:344:in new’
/usr/bin/…/…/usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:344:in `’
Started [38107] [-] jackd -T -ddummy -r48000 -p1024 [-] /tmp/sonic-pi-pids/38107
Started [38109] [-] scsynth -u 51237 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 2 -o 2 -b 4096 -B 127.0.0.1 -c 128 -z 128 -U /usr/lib/SuperCollider/plugins [-] /tmp/sonic-pi-pids/38109



Scsynth Output
--------------

**`/home/nlb/.sonic-pi/log/scsynth.log`**

Starting SuperCollider 2022-01-29 09:31:06

Faust: supercollider.cpp: sc_api_version = 3
Faust: FaustGreyholeRaw numControls=7
Found 2 LADSPA plugins
Faust: supercollider.cpp: sc_api_version = 3
Faust: FaustJPverbRaw numControls=11
JackDriver: client name is ‘SuperCollider’
SC_AudioDriver: sample rate = 48000.000000, driver’s block size = 1024
SuperCollider 3 server ready.



Process Log
--------------

**`/home/nlb/.sonic-pi/log/processes.log`**
ask-clear.rb

Clearing pids: []
No pids to clear :slight_smile:
Started [38082] [-] /usr/bin/ruby --enable-frozen-string-literal -E utf-8 /usr/bin/…/…/usr/lib/sonic-pi/server/bin/sonic-pi-server.rb -u 51235 51236 51237 51237 4560 51238 51239 [-] /tmp/sonic-pi-pids/38082
Started [38107] [-] jackd -T -ddummy -r48000 -p1024 [-] /tmp/sonic-pi-pids/38107
Started [38109] [-] scsynth -u 51237 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 2 -o 2 -b 4096 -B 127.0.0.1 -c 128 -z 128 -U /usr/lib/SuperCollider/plugins [-] /tmp/sonic-pi-pids/38109

@nlb - keep in mind that we encourage Sonic Pi booting problems to be raised as GitHub issues, as I mentioned at the top - it’s much easier to manage them all in one place :slight_smile:

1 Like

yes of course but maybe it’s just a little issue, a little problem but yes i understand your words :slight_smile:

Sure! It’s not so much about the size of the problem, there’s also another consideration - we want to keep the forum as friendly and approachable as possible for users of all kinds, and seeing long and complex boot error reports and code stacktraces here could likely be a bit intimidating for new folks.

As far as your particular problem, one part of it is realtime access permission: see the following for details:

The rest, well, I see the same ‘no such thing as jack_connect’ that @ff_raggat is having - he has raised an issue on GitHub. I am unsure of the exact fix for that.

There’s also issues about it not being able to find a jack firewire driver.

Since Manjaro is a derivative of Arch Linux, the following suggestions might be relevant - though I am personally not familiar enough with either OS to know how.

Thanks for your answer

it can be :slight_smile: but i think a newbie category will be welcomed instead deciding if each post is intimidating for newbie.

Boot errors really are bugs and should be moved over to GitHub issues for discussion.

This forum is for asking questions about using Sonic Pi, sharing ideas and thoughts, discussing the language etc.

Come on ! I just ask some help into the support category right ?
So let people exchange please in this forum as they used to do

Discussion related to help and support for using the app definitely belongs here.

Support for booting the app and other bugs should happen over at GitHub where development happens.

@nlb - Federico’s issue has been updated with what could be a helpful suggestion for your problem too :slightly_smiling_face::crossed_fingers:

1 Like

Hi all! the problem is solve vía Git-Hub issues.

Install the package jack-example-tools

reboot and done

thanks to all.

3 Likes

thanks @ff_raggat and the contributor on github for the tip.
i can hear some sound from sonicpi now but there is a sort of flanger effect… that is very weird on the bluetooth speakers. I believe the hardware ressources are reached…