sonic-pi-net / sonic-pi

Code. Music. Live.
https://sonic-pi.net
Other
10.83k stars 922 forks source link

Sonic Pi on Manjaro (downloaded from community repo) no loading #3248

Open Breadleaf opened 1 year ago

Breadleaf commented 1 year ago

Hello,

As stated in the title I am struggling to get sonic-pi to load. I've attached my error log below. Here is the version information of my os: 5.10.154-1-MANJARO x86_64 GNU/Linux

Sonic Pi Boot Error Report

System Information

GUI Log

/home/breadleaf/.sonic-pi/log/gui.log

[GUI] -                            
[GUI] -                            
[GUI] -                            
[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -                            
[GUI] - {41fa8986-a5b2-4633-b4c1-ceaa97673791}
[GUI] - ui locale:  en-US
[GUI] - sys locale: en_US
[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] - 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: 223810
[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:
 Boot - Unable to connect to SuperCollider
 ["/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:296:in `boot_and_wait'", "/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:462: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>'"]
[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/breadleaf/.sonic-pi/log/server-errors.log

jack_get_descriptor : dll 
jack_get_descriptor returns null for 'jack_inprocess.so'
jack_get_descriptor : dll 
jack_get_descriptor returns null for 'jack_internal_metro.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
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'
jack_get_descriptor : dll 
jack_get_descriptor returns null for 'jack_intime.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 39190460 byte memory area (Cannot allocate memory)
Cannot use real-time scheduling (RR/10) (1: Operation not permitted)
AcquireSelfRealTime error
Cannot lock down 39190460 byte memory area (Cannot allocate memory)
Cannot use real-time scheduling (RR/5) (1: Operation not permitted)
JackClient::AcquireSelfRealTime error
jack_port_get_buffer called with an incorrect port 0
jack_port_get_buffer called with an incorrect port 0
jack_port_get_buffer called with an incorrect port 0
jack_port_get_buffer called with an incorrect port 0
jack_port_get_buffer called with an incorrect port 0
JackEngine::XRun: client = SuperCollider was not finished, state = Running
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Cannot read socket fd = 18 err = Connection reset by peer
Could not read notification result
ClientNotify fails name = SuperCollider notification = 18 val1 = 0 val2 = 0
JackEngine::XRun: client = SuperCollider was not finished, state = Triggered
Cannot write socket fd = 18 err = Broken pipe
CheckRes error
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Could not write notification
ClientNotify fails name = SuperCollider notification = 18 val1 = 1 val2 = 0
Cannot write socket fd = 18 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = SuperCollider notification = 4 val1 = 0 val2 = 0
Cannot write socket fd = 18 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0
Unknown error...
terminate called after throwing an instance of 'Jack::JackTemporaryException'
  what():  

Server Output

/home/breadleaf/.sonic-pi/log/server-output.log

Sonic Pi server booting...
The time is 2022-12-11 15:13:45 -0700
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.21
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2022 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"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|2048|3|44100|0|0|nomon|swmeter|-|32bit
configuring for 44100Hz, period = 2048 frames (46.4 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
Started [223821] [-] jackd -R -T -p 32 -d alsa -n 3 -p 2048 -r 44100 [-] /tmp/sonic-pi-pids/223821
Started [223823] [-] 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/223823
Boot - SuperCollider booted successfully.
Boot - Connecting to the SuperCollider server...
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Unable to connect to SuperCollider
Failed to start server: Boot - Unable to connect to SuperCollider
/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:296:in `boot_and_wait'
/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:462: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>'

Scsynth Output

/home/breadleaf/.sonic-pi/log/scsynth.log

# Starting SuperCollider 2022-12-11 15:13:46
Found 123 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 = 44100.000000, driver's block size = 2048
SuperCollider 3 server ready.

Process Log

/home/breadleaf/.sonic-pi/log/processes.log


    ask-clear.rb

Clearing pids: ["223731", "223729", "223718"]

Clearing [223731]
  -- command scsynth -u 51237 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1
  -- removing /tmp/sonic-pi-pids/223731
  -- unable to get ProcTable info for: 223731
  -- process: 223731 not running

Clearing [223729]
  -- command jackd -R -T -p 32 -d alsa -n 3 -p 2048 -r 44100
  -- removing /tmp/sonic-pi-pids/223729
  -- unable to get ProcTable info for: 223729
  -- process: 223729 not running

Clearing [223718]
  -- command /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
  -- removing /tmp/sonic-pi-pids/223718
  -- unable to get ProcTable info for: 223718
  -- process: 223718 not running

Finished clearing pids

Started [223810] [-] /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/223810
Started [223821] [-] jackd -R -T -p 32 -d alsa -n 3 -p 2048 -r 44100 [-] /tmp/sonic-pi-pids/223821
Started [223823] [-] 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/223823
samaaron commented 1 year ago

Hi there,

the latest release of Sonic Pi is 4.3. Unfortunately we don't have the resources to support older releases. Please could you try the latest release and let us know if you still have issues.

kevinkleine commented 1 year ago

3.3.1 is the latest package version https://archlinux.org/packages/?q=sonic-pi