Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start sonic Pi #3395

Open
spino22 opened this issue Apr 19, 2024 · 10 comments
Open

Unable to start sonic Pi #3395

spino22 opened this issue Apr 19, 2024 · 10 comments

Comments

@spino22
Copy link

spino22 commented Apr 19, 2024

I'm trying to install Sonic PI and I'm getting the following error.

20240419_191611

@projetmbc
Copy link

You must copy and paste the messages.

@samaaron
Copy link
Collaborator

Hi, could you try the recently released v4.5.1 and let me know if that helps things?

https://github.com/sonic-pi-net/sonic-pi/releases/tag/v4.5.1

@SwapnilChand
Copy link

@samaaron

Sorry, Sonic Pi is having issues booting:
GUI was unable to connect to the Ruby server.

System Information
Sonic Pi version: 4.5.1
OS: Windows 11 Version 23H2
spider.log
Sonic Pi Spider Server booting...
The time is 2024-05-22 09:47:58 +0530
Using primary protocol: udp
Detecting port numbers...
Ports: {:server_port=>38599, :gui_port=>38600, :scsynth_port=>38601, :scsynth_send_port=>38601, :osc_cues_port=>4560, :tau_port=>38602, :listen_to_tau_port=>38606}
Token: 755546341
Opening UDP Server to listen to GUI on port: 38599
Spider - Pulling in modules...
Spider - Starting Runtime Server
TauComms - Sending /ping to tau: 127.0.0.1:38602
TauComms - Receiving ack from tau
TauComms - connection established
studio - init
scsynth boot - Waiting for the SuperCollider Server to have booted...
scsynth boot - Sending /status to server: 127.0.0.1:38601
scsynth boot - Receiving ack from scsynth
scsynth boot - Server connection established
Spider - Failed to start server: Promise timed out after 5 seconds.
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/promise.rb:38:in block in get' C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/promise.rb:32:in synchronize'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/promise.rb:32:in get' C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/server.rb:611:in with_done_sync'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/server.rb:157:in load_synthdefs' C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/server.rb:114:in initialize'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/studio.rb:68:in new' C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/studio.rb:68:in init_scsynth'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/studio.rb:45:in initialize' C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/lang/sound.rb:90:in new'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/lang/sound.rb:90:in block (2 levels) in included' C:/Program Files/Sonic Pi/app/server/ruby/bin/spider-server.rb:243:in new'
C:/Program Files/Sonic Pi/app/server/ruby/bin/spider-server.rb:243:in `

'
Exiting - shutting down scsynth server...
Sending /quit command to scsynth
Stopping OSC server...
Stopped OSC server...

daemon.log
[2024-05-22 09:47:56] Welcome to the Daemon Booter
[2024-05-22 09:47:56] ----------------------------
[2024-05-22 09:47:56] SuperCollider inputs disabled by GUI
[2024-05-22 09:47:56] checked port 38599, #UDPSocket:0x00000275d3006270
[2024-05-22 09:47:56] checked port 38600, #UDPSocket:0x00000275d3005370
[2024-05-22 09:47:56] checked port 38601, #UDPSocket:0x00000275d3005078
[2024-05-22 09:47:56] checked port 4560, #UDPSocket:0x00000275d3004e48
[2024-05-22 09:47:56] checked port 38602, #UDPSocket:0x00000275d3004c90
[2024-05-22 09:47:56] checked port 38603, #UDPSocket:0x00000275d3004a60
[2024-05-22 09:47:56] checked port 38604, #UDPSocket:0x00000275d3004808
[2024-05-22 09:47:56] checked port 38605, #UDPSocket:0x00000275d3004600
[2024-05-22 09:47:56] checked port 38606, #UDPSocket:0x00000275d3004420
[2024-05-22 09:47:56] Selected ports:
[2024-05-22 09:47:56] {"spider-listen-to-gui"=>38599, "gui-send-to-spider"=>38599, "gui-listen-to-spider"=>38600, "spider-send-to-gui"=>38600, "scsynth"=>38601, "scsynth-send"=>38601, "osc-cues"=>4560, "tau"=>38602, "spider"=>38603, "phx"=>38604, "daemon"=>38605, "spider-listen-to-tau"=>38606}
[2024-05-22 09:47:56] Booting Scsynth
[2024-05-22 09:47:56] ---- Audio Config Issue ----
[2024-05-22 09:47:56] Could not find C:/Users/swapn/.sonic-pi/config/audio-settings.toml - reverting to default audio options.
[2024-05-22 09:47:56] This is not critical - reverting to default audio options
[2024-05-22 09:47:56] ----------------------------
[2024-05-22 09:47:56] Got Audio Settings toml hash: {}
[2024-05-22 09:47:56] Unified Audio Settings toml hash: {}
[2024-05-22 09:47:56] Combined Audio Settings toml hash with GUI scsynth inputs hash: {"-i"=>"0"}
[2024-05-22 09:47:56] Merged Audio Settings toml hash: {"-u"=>38601, "-a"=>"1024", "-m"=>"131072", "-D"=>"0", "-R"=>"0", "-l"=>"1", "-i"=>"0", "-o"=>"16", "-b"=>"4096", "-B"=>"127.0.0.1", "-U"=>"C:/Program Files/Sonic Pi/app/server/native/plugins"}
[2024-05-22 09:47:56] Process Booter - booting C:/Program Files/Sonic Pi/app/server/native/scsynth.exe with args ["-u", "38601", "-a", "1024", "-m", "131072", "-D", "0", "-R", "0", "-l", "1", "-i", "0", "-o", "16", "-b", "4096", "-B", "127.0.0.1", "-U", "C:/Program Files/Sonic Pi/app/server/native/plugins"]
[2024-05-22 09:47:56] C:/Program Files/Sonic Pi/app/server/native/scsynth.exe -u 38601 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 0 -o 16 -b 4096 -B 127.0.0.1 -U C:/Program Files/Sonic Pi/app/server/native/plugins
[2024-05-22 09:47:56] Waiting for the SuperCollider Server to have booted...
[2024-05-22 09:47:56] Sending /status to server: localhost:38601
[2024-05-22 09:47:56] [scsynth]
[2024-05-22 09:47:56] [scsynth] Device options:
[2024-05-22 09:47:56] [scsynth] - MME : Microsoft Sound Mapper - Input (device #0 with 2 ins 0 outs)
[2024-05-22 09:47:56] [scsynth] - MME : Microphone Array (Realtek(R) Au (device #1 with 4 ins 0 outs)
[2024-05-22 09:47:56] [scsynth] - MME : Microsoft Sound Mapper - Output (device #2 with 0 ins 2 outs)
[2024-05-22 09:47:56] [scsynth] - MME : Speakers (Realtek(R) Audio) (device #3 with 0 ins 2 outs)
[2024-05-22 09:47:56] [scsynth] - Windows DirectSound : Primary Sound Capture Driver (device #4 with 2 ins 0 outs)
[2024-05-22 09:47:56] [scsynth] - Windows DirectSound : Microphone Array (Realtek(R) Audio) (device #5 with 4 ins 0 outs)
[2024-05-22 09:47:56] [scsynth] - Windows DirectSound : Primary Sound Driver (device #6 with 0 ins 2 outs)
[2024-05-22 09:47:56] [scsynth] - Windows DirectSound : Speakers (Realtek(R) Audio) (device #7 with 0 ins 2 outs)
[2024-05-22 09:47:56] [scsynth] - ASIO : Realtek ASIO (device #8 with 2 ins 2 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WASAPI : Speakers (Realtek(R) Audio) (device #9 with 0 ins 2 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WASAPI : Microphone Array (Realtek(R) Audio) (device #10 with 2 ins 0 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WDM-KS : Stereo Mix (Realtek HD Audio Stereo input) (device #11 with 2 ins 0 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WDM-KS : Microphone Array 1 (Realtek HD Audio Mic input with SST) (device #12 with 2 ins 0 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WDM-KS : Microphone Array 2 (Realtek HD Audio Mic input with SST) (device #13 with 4 ins 0 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WDM-KS : Headphones 1 (Realtek HD Audio 2nd output with SST) (device #14 with 0 ins 2 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WDM-KS : Headphones 2 (Realtek HD Audio 2nd output with SST) (device #15 with 0 ins 2 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WDM-KS : PC Speaker (Realtek HD Audio 2nd output with SST) (device #16 with 2 ins 0 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WDM-KS : Microphone (Realtek HD Audio Mic input) (device #17 with 2 ins 0 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WDM-KS : Speakers 1 (Realtek HD Audio output with SST) (device #18 with 0 ins 2 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WDM-KS : Speakers 2 (Realtek HD Audio output with SST) (device #19 with 0 ins 2 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WDM-KS : PC Speaker (Realtek HD Audio output with SST) (device #20 with 2 ins 0 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WDM-KS : Input () (device #21 with 2 ins 0 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WDM-KS : Output (@system32\drivers\bthhfenum.sys,#4;%1 Hands-Free HF Audio%0
[2024-05-22 09:47:56] [scsynth]
[2024-05-22 09:47:56] [scsynth] ;(Swapnil's S20 FE)) (device #22 with 0 ins 1 outs)
[2024-05-22 09:47:56] [scsynth] - Windows WDM-KS : Input (@system32\drivers\bthhfenum.sys,#4;%1 Hands-Free HF Audio%0
[2024-05-22 09:47:56] [scsynth]
[2024-05-22 09:47:56] [scsynth] ;(Swapnil's S20 FE)) (device #23 with 1 ins 0 outs)
[2024-05-22 09:47:56] [scsynth]
[2024-05-22 09:47:56] [scsynth] Requested devices:
[2024-05-22 09:47:56] [scsynth] Out:
[2024-05-22 09:47:56] [scsynth] - (default)
[2024-05-22 09:47:56] [scsynth]
[2024-05-22 09:47:56] [scsynth] Selecting default system output device
[2024-05-22 09:47:56] [scsynth]
[2024-05-22 09:47:56] [scsynth] Booting with:
[2024-05-22 09:47:56] [scsynth] Out: MME : Speakers (Realtek(R) Audio)
[2024-05-22 09:47:57] [scsynth] Sample rate: 44100.000
[2024-05-22 09:47:57] [scsynth] Latency (in/out): 0.000 / 0.091 sec
[2024-05-22 09:47:57] [scsynth] SC_AudioDriver: sample rate = 44100.000000, driver's block size = 64
[2024-05-22 09:47:57] [scsynth] SuperCollider 3 server ready.
[2024-05-22 09:47:57] Sending /status to server: localhost:38601
[2024-05-22 09:47:57] Receiving ack from scsynth
[2024-05-22 09:47:57] SuperCollider Server connection established
[2024-05-22 09:47:57] Extracting Scsynth info
[2024-05-22 09:47:57] Booting Tau...
[2024-05-22 09:47:57] Fetching Tau toml opts...
[2024-05-22 09:47:57] Requesting tau send us its pid. Sending /send-pid-to-daemon, 755546341 to localhost:38602
[2024-05-22 09:47:57] Daemon listening to info from Tau on port 38605
[2024-05-22 09:47:57] Process Booter - booting C:\Program Files\Sonic Pi\app\server\beam\tau_build\prod\rel\tau\erts-14.2.3\bin\erl.exe with args ["-config", "C:\Program Files\Sonic Pi\app\server\beam\tau\_build\prod\rel\tau\releases\0.1.0\sys", "-boot", "C:\Program Files\Sonic Pi\app\server\beam\tau\_build\prod\rel\tau\releases\0.1.0\start", "-boot_var", "RELEASE_LIB", "C:\Program Files\Sonic Pi\app\server\beam\tau\_build\prod\rel\tau\lib", "-args_file", "C:\Program Files\Sonic Pi\app\server\beam\tau\_build\prod\rel\tau\releases\0.1.0\vm.args", "-noshell", "-s", "elixir", "start_cli", "-mode", "embedded", "-extra", "--no-halt"]
[2024-05-22 09:47:57] C:\Program Files\Sonic Pi\app\server\beam\tau_build\prod\rel\tau\erts-14.2.3\bin\erl.exe -config C:\Program Files\Sonic Pi\app\server\beam\tau_build\prod\rel\tau\releases\0.1.0\sys -boot C:\Program Files\Sonic Pi\app\server\beam\tau_build\prod\rel\tau\releases\0.1.0\start -boot_var RELEASE_LIB C:\Program Files\Sonic Pi\app\server\beam\tau_build\prod\rel\tau\lib -args_file C:\Program Files\Sonic Pi\app\server\beam\tau_build\prod\rel\tau\releases\0.1.0\vm.args -noshell -s elixir start_cli -mode embedded -extra --no-halt
[2024-05-22 09:47:57] Booting Spider Server
[2024-05-22 09:47:57] Process Booter - booting C:/Program Files/Sonic Pi/app/server/native/ruby/bin/ruby.exe with args ["--enable-frozen-string-literal", "-E", "utf-8", "C:/Program Files/Sonic Pi/app/server/ruby/bin/spider-server.rb", "-u", "38599", "38600", "38601", "38601", "4560", "38602", "38606", "755546341"]
[2024-05-22 09:47:57] C:/Program Files/Sonic Pi/app/server/native/ruby/bin/ruby.exe --enable-frozen-string-literal -E utf-8 C:/Program Files/Sonic Pi/app/server/ruby/bin/spider-server.rb -u 38599 38600 38601 38601 4560 38602 38606 755546341
[2024-05-22 09:47:57] 38605 38600 38599 38601 4560 38602 38604 755546341
[2024-05-22 09:47:57] Blocking main thread until exit signal received...
[2024-05-22 09:47:58] Requesting tau send us its pid. Sending /send-pid-to-daemon, 755546341 to localhost:38602
[2024-05-22 09:47:58] [erl] prod
[2024-05-22 09:47:58] [ruby] Sonic Pi Spider Server booting...
[2024-05-22 09:47:58] [ruby] The time is 2024-05-22 09:47:58 +0530
[2024-05-22 09:47:58] [ruby] Using primary protocol: udp
[2024-05-22 09:47:58] [ruby] Detecting port numbers...
[2024-05-22 09:47:58] [ruby] Ports: {:server_port=>38599, :gui_port=>38600, :scsynth_port=>38601, :scsynth_send_port=>38601, :osc_cues_port=>4560, :tau_port=>38602, :listen_to_tau_port=>38606}
[2024-05-22 09:47:58] [ruby] Token: 755546341
[2024-05-22 09:47:58] [ruby] Opening UDP Server to listen to GUI on port: 38599
[2024-05-22 09:47:58] [ruby] Spider - Pulling in modules...
[2024-05-22 09:47:58] [ruby] Spider - Starting Runtime Server
[2024-05-22 09:47:58] [erl]
[2024-05-22 09:47:58] [erl] MidiInWinMM::initialize: no MIDI input devices currently available.
[2024-05-22 09:47:58] [erl]
[2024-05-22 09:47:58] [erl]
[2024-05-22 09:47:58] [erl] MidiInWinMM::initialize: no MIDI input devices currently available.
[2024-05-22 09:47:58] [erl]
[2024-05-22 09:47:59] Requesting tau send us its pid. Sending /send-pid-to-daemon, 755546341 to localhost:38602
[2024-05-22 09:48:00] Requesting tau send us its pid. Sending /send-pid-to-daemon, 755546341 to localhost:38602
[2024-05-22 09:48:01] Requesting tau send us its pid. Sending /send-pid-to-daemon, 755546341 to localhost:38602
[2024-05-22 09:48:02] scsynth log match - res: nil, res_no_input: #<MatchData " Out: MME : Speakers (Realtek(R) Audio)\n Sample rate: 44100.000\n Latency (in/out): 0.000 / 0.091 sec" 1:"MME : Speakers (Realtek(R) Audio)" 2:"44100.000" 3:"0.000" 4:"0.091">, res_no_output: nil
[2024-05-22 09:48:02] Extracted Windows in audio hw only: {:hw_in=>"Not connected", :hw_out=>"MME : Speakers (Realtek(R) Audio)", :hw_sample_rate=>44100, :hw_latency_in=>0.0, :hw_latency_out=>0.091}
[2024-05-22 09:48:02] Sending scsynth info to GUI...
[2024-05-22 09:48:02] {:hw_in=>"Not connected", :hw_out=>"MME : Speakers (Realtek(R) Audio)", :hw_sample_rate=>44100, :hw_latency_in=>0.0, :hw_latency_out=>0.091, :sc_sample_rate=>44100, :sc_block_size=>64}
[2024-05-22 09:48:02] Out: MME : Speakers (Realtek(R) Audio)
In: Not connected
Sample Rate: 44100
Block Size: 64
Latency Out: 0.091
[2024-05-22 09:48:02] Requesting tau send us its pid. Sending /send-pid-to-daemon, 755546341 to localhost:38602
[2024-05-22 09:48:03] Requesting tau send us its pid. Sending /send-pid-to-daemon, 755546341 to localhost:38602
[2024-05-22 09:48:03] [erl]
[2024-05-22 09:48:03] [erl] MidiInWinMM::initialize: no MIDI input devices currently available.
[2024-05-22 09:48:03] [erl]
[2024-05-22 09:48:03] [erl]
[2024-05-22 09:48:03] [erl] MidiInWinMM::initialize: no MIDI input devices currently available.
[2024-05-22 09:48:03] [erl]
[2024-05-22 09:48:04] Daemon received Pid from Tau: [755546341, 20504]
[2024-05-22 09:48:04] [ruby] TauComms - Sending /ping to tau: 127.0.0.1:38602
[2024-05-22 09:48:04] [ruby] TauComms - Receiving ack from tau
[2024-05-22 09:48:04] [ruby] TauComms - connection established
[2024-05-22 09:48:04] [ruby] studio - init
[2024-05-22 09:48:09] [erl]
[2024-05-22 09:48:09] [erl] MidiInWinMM::initialize: no MIDI input devices currently available.
[2024-05-22 09:48:09] [erl]
[2024-05-22 09:48:09] [ruby] scsynth boot - Waiting for the SuperCollider Server to have booted...
[2024-05-22 09:48:09] [ruby] scsynth boot - Sending /status to server: 127.0.0.1:38601
[2024-05-22 09:48:09] [ruby] scsynth boot - Receiving ack from scsynth
[2024-05-22 09:48:09] [ruby] scsynth boot - Server connection established
[2024-05-22 09:48:09] [ruby] Spider - Failed to start server: Promise timed out after 5 seconds.
[2024-05-22 09:48:09] [ruby] C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/promise.rb:38:in block in get' [2024-05-22 09:48:09] [ruby] C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/promise.rb:32:in synchronize'
[2024-05-22 09:48:09] [ruby] C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/promise.rb:32:in get' [2024-05-22 09:48:09] [ruby] C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/server.rb:611:in with_done_sync'
[2024-05-22 09:48:09] [ruby] C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/server.rb:157:in load_synthdefs' [2024-05-22 09:48:09] [ruby] C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/server.rb:114:in initialize'
[2024-05-22 09:48:09] [ruby] C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/studio.rb:68:in new' [2024-05-22 09:48:09] [ruby] C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/studio.rb:68:in init_scsynth'
[2024-05-22 09:48:09] [ruby] C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/studio.rb:45:in initialize' [2024-05-22 09:48:09] [ruby] C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/lang/sound.rb:90:in new'
[2024-05-22 09:48:09] [ruby] C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/lang/sound.rb:90:in block (2 levels) in included' [2024-05-22 09:48:09] [ruby] C:/Program Files/Sonic Pi/app/server/ruby/bin/spider-server.rb:243:in new'
[2024-05-22 09:48:09] [ruby] C:/Program Files/Sonic Pi/app/server/ruby/bin/spider-server.rb:243:in `

'
[2024-05-22 09:48:09] [ruby] Exiting - shutting down scsynth server...
[2024-05-22 09:48:09] [ruby] Sending /quit command to scsynth
[2024-05-22 09:48:09] [ruby] Stopping OSC server...
[2024-05-22 09:48:09] [ruby] Stopped OSC server...

tau.log
09:47:58.440 [info] All systems booting....
09:47:58.440 [info] Initialising MIDI native interface
09:47:58.448 [info] Initialising Link native interface
09:47:58.453 [info] Starting Phoenix server
09:47:58.453 [info] Starting with MIDI server enabled
09:47:58.453 [info] Starting with Link server enabled
09:47:58.455 [info]
+--------------------------------------+
This is the Sonic Pi Link Server
Powered by Erlang 26

Number of detected peers:
0

Current tempo:
60.0
+--------------------------------------+

09:47:58.703 [info]
+--------------------------------------+
This is the Sonic Pi MIDI Server
Powered by Erlang 26

Detected MIDI input ports:
[]

Detected MIDI output ports:
[~c"microsoft_gs_wavetable_synth_0"]
+--------------------------------------+

09:47:58.703 [info]
+--------------------------------------+
This is the Sonic Pi OSC Server
== Tau ==
Powered by Erlang 26

    Incoming OSC on port 4560         

OSC cue forwarding to {127, 0, 0, 1}
on port 38606
+--------------------------------------+

09:47:58.704 [info]
+--------------------------------------+
This is the Sonic Pi API Server
Powered by Erlang 26

   API listening on port 38602         

+--------------------------------------+

09:47:58.706 [info] Running TauWeb.Endpoint with cowboy 2.10.0 at 0.0.0.0:38604 (http)
09:47:58.707 [info] Access TauWeb.Endpoint at http://localhost:38604
09:47:59.398 [info] API /send-pid-to-daemon -> sending pid to Daemon...
09:48:00.413 [info] API /send-pid-to-daemon -> sending pid to Daemon...
09:48:01.425 [info] API /send-pid-to-daemon -> sending pid to Daemon...
09:48:02.426 [info] API /send-pid-to-daemon -> sending pid to Daemon...
09:48:03.441 [info] API /send-pid-to-daemon -> sending pid to Daemon...

scsynth.log

Device options:

;(Swapnil's S20 FE)) (device #22 with 0 ins 1 outs)

;(Swapnil's S20 FE)) (device #23 with 1 ins 0 outs)

Requested devices:
Out:

  • (default)

Selecting default system output device

Booting with:
Out: MME : Speakers (Realtek(R) Audio)
Sample rate: 44100.000
Latency (in/out): 0.000 / 0.091 sec
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 64
SuperCollider 3 server ready.

gui.log

@Aera23
Copy link

Aera23 commented May 23, 2024

Sonic Pi Boot Error Report

TLDR: Supercollider was missing (when installed with 'sudo apt install sonic-pi'), but even installing that doesn't change much

System Information

  • Sonic Pi version: 3.2.2
  • OS: PeppermintOS

GUI Log

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

[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -                            
[GUI] - {2b21d297-bb51-4404-8012-4a13f9a518c6}
[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 osc-midi-out : 51238 : 51238
[GUI] - Port entry osc-midi-in : 51239 : 51239
[GUI] - Port entry server-osc-cues : 4560 : 4560
[GUI] - Port entry erlang-router : 51240 : 51240
[GUI] - Port entry websocket : 51241 : 51241
[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 51240
[GUI] -    port: 51240 [OK]
[GUI] - OSC MIDI out port 51238
[GUI] -    port: 51238 [OK]
[GUI] - OSC MIDI in port 51239
[GUI] -    port: 51239 [OK]
[GUI] - Websocket port 51241
[GUI] -    port: 51241 [OK]
[GUI] - All ports OK
[GUI] - launching Sonic Pi Runtime Server:
[GUI] - Ruby server pid registered: 1961616
[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] - wait for sync
51236[GU
] - waiting for Sonic Pi Server to boot...er 
51236[GU
] - waiting for Sonic Pi Server to boot...er 
[GUI] - UDP OSC Server ready and listening
.......................................
[GUI] - Sonic Pi Server failed to start with this error message: 
      > Server Exception:
 Boot - Unable to connect to SuperCollider
 ["/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:267:in `boot_and_wait'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:443:in `boot_server_linux'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:151:in `boot'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:37:in `initialize'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/server.rb:78:in `new'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/server.rb:78:in `initialize'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:192:in `new'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:192:in `init_scsynth'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:57:in `initialize'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in `new'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in `block (2 levels) in included'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/ixi.rb:72:in `block (2 levels) in included'", "/usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb:302:in `new'", "/usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb:302: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/aera23/.sonic-pi/log/server-errors.log

Cannot use real-time scheduling (RR/10) (1: Operation not permitted)
AcquireSelfRealTime error
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
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
Cannot write socket fd = 18 err = Broken pipe
CheckRes 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
Unknown error...
terminate called after throwing an instance of 'Jack::JackTemporaryException'
  what():  

Server Output

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

Sonic Pi server booting...
This is version 3.2.0 running on Ruby 3.1.2.
The time is 2024-05-23 14:59:53 +0930
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: 51240
  - OK
OSC MIDI out port: 51238
  - OK
OSC MIDI in port: 51239
  - OK
Websocket port: 51241
  - 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...
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 [1961719] [-] jackd -R -T -p 32 -d alsa -n 3 -p 2048 -r 44100 [-] /tmp/sonic-pi-pids/1961719
Boot - Starting the SuperCollider server...
Boot - scsynth -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1
Started [1961738] [-] scsynth -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1 [-] /tmp/sonic-pi-pids/1961738
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/app/server/ruby/lib/sonicpi/scsynthexternal.rb:267:in `boot_and_wait'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:443:in `boot_server_linux'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:151:in `boot'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:37:in `initialize'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/server.rb:78:in `new'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/server.rb:78:in `initialize'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:192:in `new'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:192:in `init_scsynth'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:57:in `initialize'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in `new'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in `block (2 levels) in included'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/ixi.rb:72:in `block (2 levels) in included'
/usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb:302:in `new'
/usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb:302:in `<main>'

Scsynth Output

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

# Starting SuperCollider 2024-05-23 15:00:01
Found 0 LADSPA plugins
JackDriver: client name is 'SuperCollider'
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 2048
SuperCollider 3 server ready.

Process Log

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

No pids store found here: /tmp/sonic-pi-pids
Exiting
Creating pids store: /tmp/sonic-pi-pids
Started [1961616] [-] /usr/bin/ruby -E utf-8 /usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb -u 51235 51236 51237 51237 4560 51240 51238 51239 51241 [-] /tmp/sonic-pi-pids/1961616
Started [1961719] [-] jackd -R -T -p 32 -d alsa -n 3 -p 2048 -r 44100 [-] /tmp/sonic-pi-pids/1961719
Started [1961738] [-] scsynth -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1 [-] /tmp/sonic-pi-pids/1961738



@idommason
Copy link

idommason commented May 23, 2024

Hi (in reply to Aera23)

Some of these problems are because you don't have Real Time Priortiy enabled

Cannot use real-time scheduling (RR/10) (1: Operation not permitted)
AcquireSelfRealTime error
Cannot use real-time scheduling (RR/5) (1: Operation not permitted)
JackClient::AcquireSelfRealTime error

To fix this the easiest way (probably) is to open a terminal and run

sudo dpkg-reconfigure jackd2

and it should ask if you wish to enable Real Time Priority Y/N

Answer yes

But you also need to be a member of the audio group

To do that

sudo usermod -aG audio $USER

You will need to logout and login again for that change to take effect, you might need to reboot to get the RT Priority enabled, so probably best to reboot anyway

Enabling RT Priority creates a file:

/etc/security/limits.d/audio.conf

and adds 3 lines to give RT to members of the audio group

# Provided by the jackd package.
#
# Changes to this file will be preserved.
#
# If you want to enable/disable realtime permissions, run
#
#    dpkg-reconfigure -p high jackd2

@audio   -  rtprio     95
@audio   -  memlock    unlimited
#@audio   -  nice      -19

I would suggest you edit that and remove the # at the start of the "nice" line, too

NB I am assuming Peppermint OS is similar to Linux Mint
Also I'm not in anyway connected to Sonic Pi other than an interested user

@Aera23
Copy link

Aera23 commented May 24, 2024 via email

@idommason
Copy link

idommason commented May 24, 2024

@Aera23

Did that work?

I've done a walkthru on building Sonic Pi v 4.51 on Linux Mint that has a lot of explanations of the issues

I run Sonic Pi 3.3.1without problem on this laptop, as I am not prepared to switch all over to pipewire at this point. I use this laptop in gigs, and for rosegarden and I just haven't tested all of those against pipewire vs pulseaudio yet

As far as I recall the only issue for 3.3.1 was that I was not a member of the audio group (by default) and you have to enable Realtime Priority, and once I worked that out Sonic Pi 3.3.1 worked. But I already had jackctl set up and configured as I was already using Rosegarden and Qsynth.

The walkthru for building v 4.50 / 4.51 should work for any recent debian / ubuntu based distro. There are slight differences in some of the package names, but my long explanation does detail those.

@Aera23
Copy link

Aera23 commented May 24, 2024

Sonic Pi Boot Error Report

I wish. I logged out/in, then also restarted, then even installed "supercollider" manually, and same issue. PS: Peppermint OS is based on Debian, tho technically, yes, Linux Mint (mint's based on ubuntu, which is based on debian) also uses apt, systemd, and similar.

System Information

  • Sonic Pi version: 3.2.2
  • OS: PeppermintOS

GUI Log

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

[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -                            
[GUI] - {23cbcc50-08c7-4364-9e5b-de8742e45f9d}
[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 osc-midi-out : 51238 : 51238
[GUI] - Port entry osc-midi-in : 51239 : 51239
[GUI] - Port entry server-osc-cues : 4560 : 4560
[GUI] - Port entry erlang-router : 51240 : 51240
[GUI] - Port entry websocket : 51241 : 51241
[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 51240
[GUI] -    port: 51240 [OK]
[GUI] - OSC MIDI out port 51238
[GUI] -    port: 51238 [OK]
[GUI] - OSC MIDI in port 51239
[GUI] -    port: 51239 [OK]
[GUI] - Websocket port 51241
[GUI] -    port: 51241 [OK]
[GUI] - All ports OK
[GUI] - launching Sonic Pi Runtime Server:
[GUI] - Ruby server pid registered: 8039
[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] - wait for sync
[GUI] - waiting for Sonic Pi Server to boot...
[GUI] - starting UDP OSC Server on port 51236...
[GUI] - UDP OSC Server ready and listening
............................................................
[GUI] - Sonic Pi Server failed to start with this error message: 
      > Server Exception:
 SIGTERM
 ["/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/util.rb:599:in `wait'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/util.rb:599:in `kill_and_deregister_process'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:224:in `rescue in boot_and_wait'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:221:in `boot_and_wait'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:443:in `boot_server_linux'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:151:in `boot'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:37:in `initialize'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/server.rb:78:in `new'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/server.rb:78:in `initialize'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:192:in `new'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:192:in `init_scsynth'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:57:in `initialize'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in `new'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in `block (2 levels) in included'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/ixi.rb:72:in `block (2 levels) in included'", "/usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb:302:in `new'", "/usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb:302: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/aera23/.sonic-pi/log/server-errors.log

Jack main caught signal 15
JackTemporaryException : now quits...

Server Output

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

Sonic Pi server booting...
This is version 3.2.0 running on Ruby 3.1.2.
The time is 2024-05-25 08:59:38 +0930
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: 51240
  - OK
OSC MIDI out port: 51238
  - OK
OSC MIDI in port: 51239
  - OK
Websocket port: 51241
  - 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...
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
Started [8055] [-] jackd -R -T -p 32 -d alsa -n 3 -p 2048 -r 44100 [-] /tmp/sonic-pi-pids/8055
Boot - Starting the SuperCollider server...
Boot - scsynth -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1
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 [8059] [-] scsynth [-] /tmp/sonic-pi-pids/8059
Failed to start server: SIGTERM
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/util.rb:599:in `wait'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/util.rb:599:in `kill_and_deregister_process'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:224:in `rescue in boot_and_wait'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:221:in `boot_and_wait'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:443:in `boot_server_linux'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:151:in `boot'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:37:in `initialize'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/server.rb:78:in `new'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/server.rb:78:in `initialize'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:192:in `new'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:192:in `init_scsynth'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:57:in `initialize'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in `new'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in `block (2 levels) in included'
/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/ixi.rb:72:in `block (2 levels) in included'
/usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb:302:in `new'
/usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb:302:in `<main>'
Released audio card Audio0
audio_reservation_finish


Clearing pids: ["8039", "8055", "8059"]

Clearing [8039]
  -- command /usr/bin/ruby -E utf-8 /usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb -u 51235 51236 51237 51237 4560 51240 51238 51239 51241
  -- removing /tmp/sonic-pi-pids/8039
  -- politely killing 8039
  -- killed 8039

Clearing [8055]
  -- command jackd -R -T -p 32 -d alsa -n 3 -p 2048 -r 44100
  -- removing /tmp/sonic-pi-pids/8055
  -- politely killing 8055
  -- killed 8055

Clearing [8059]
  -- command scsynth
  -- removing /tmp/sonic-pi-pids/8059
  -- unable to get ProcTable info for: 8059
  -- process: 8059 not running

Finished clearing pids


Scsynth Output

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

# Starting SuperCollider 2024-05-25 08:59:38
Found 0 LADSPA plugins
Exception in World_New: Permission denied

Process Log

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



Clearing pids: ["7493", "7474", "7501"]

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

Clearing [7474]
  -- command /usr/bin/ruby -E utf-8 /usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb -u 51235 51236 51237 51237 4560 51240 51238 51239 51241
  -- removing /tmp/sonic-pi-pids/7474
  -- unable to get ProcTable info for: 7474
  -- process: 7474 not running

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

Finished clearing pids

Started [8039] [-] /usr/bin/ruby -E utf-8 /usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb -u 51235 51236 51237 51237 4560 51240 51238 51239 51241 [-] /tmp/sonic-pi-pids/8039
Started [8055] [-] jackd -R -T -p 32 -d alsa -n 3 -p 2048 -r 44100 [-] /tmp/sonic-pi-pids/8055
Started [8059] [-] scsynth [-] /tmp/sonic-pi-pids/8059


Clearing pids: ["8039", "8055", "8059"]

Clearing [8039]
  -- command /usr/bin/ruby -E utf-8 /usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb -u 51235 51236 51237 51237 4560 51240 51238 51239 51241
  -- removing /tmp/sonic-pi-pids/8039
  -- politely killing 8039
  -- killed 8039

Clearing [8055]
  -- command jackd -R -T -p 32 -d alsa -n 3 -p 2048 -r 44100
  -- removing /tmp/sonic-pi-pids/8055
  -- politely killing 8055
  -- killed 8055

Clearing [8059]
  -- command scsynth
  -- removing /tmp/sonic-pi-pids/8059
  -- unable to get ProcTable info for: 8059
  -- process: 8059 not running

Finished clearing pids


@idommason
Copy link

OK, so one problem is fixed, and what we can now see is that scsynth code is broken in 3.2.2 when this tries to run:

Boot - scsynth -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1

I think I might have had the same issue, but then I found a download for sonic-pi 3.3.1 from this page:

https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141

and installed that

I think I had to get apt to fix missing packages / dependencies after that

ie

sudo apt update –fix-missing

But you would still have had to do RT priority and add yourself to the audio group with this version.

3.3.1 definitely runs on Linux Mint with pulseaudio, whereas the 4.50 versions require a change to pipewire, which I just haven't done yet on my main laptop

@Aera23
Copy link

Aera23 commented May 26, 2024

oh yes, that worked.

(initially it appeared not to, then I ran as sudo, but that was silent.... and my next run as normal user worked)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants