Server Boot error with Steinberg UR22mkII

Hi, i’m having problem in starting Sonic Pi 4.3 with my soundcard, a Yamaha Steinberg UR22mkII on Windows 10.

This is the log:

[2022-12-21 21:38:25] Welcome to the Daemon Booter
[2022-12-21 21:38:25] ----------------------------
[2022-12-21 21:38:25] SuperCollider inputs disabled by GUI
[2022-12-21 21:38:25] checked port 37758, #<UDPSocket:0x0000025f3546d340>
[2022-12-21 21:38:25] checked port 37759, #<UDPSocket:0x0000025f3546ccd8>
[2022-12-21 21:38:25] checked port 37760, #<UDPSocket:0x0000025f3546c7d8>
[2022-12-21 21:38:25] checked port 4560, #<UDPSocket:0x0000025f3546c440>
[2022-12-21 21:38:25] checked port 37761, #<UDPSocket:0x0000025f3546c148>
[2022-12-21 21:38:25] checked port 37762, #<UDPSocket:0x0000025f35467e40>
[2022-12-21 21:38:25] checked port 37763, #<UDPSocket:0x0000025f35467738>
[2022-12-21 21:38:25] checked port 37764, #<UDPSocket:0x0000025f354670f8>
[2022-12-21 21:38:25] checked port 37765, #<UDPSocket:0x0000025f35466b30>
[2022-12-21 21:38:25] Selected ports: 
[2022-12-21 21:38:25] {"spider-listen-to-gui"=>37758, "gui-send-to-spider"=>37758, "gui-listen-to-spider"=>37759, "spider-send-to-gui"=>37759, "scsynth"=>37760, "scsynth-send"=>37760, "osc-cues"=>4560, "tau"=>37761, "spider"=>37762, "phx"=>37763, "daemon"=>37764, "spider-listen-to-tau"=>37765}
[2022-12-21 21:38:25] Booting Scsynth
[2022-12-21 21:38:25] Got Audio Settings toml hash: {}
[2022-12-21 21:38:25] Unified Audio Settings toml hash: {}
[2022-12-21 21:38:25] Combined Audio Settings toml hash with GUI scsynth inputs hash: {"-i"=>"0"}
[2022-12-21 21:38:25] Merged Audio Settings toml hash: {"-u"=>37760, "-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"}
[2022-12-21 21:38:25] Process Booter - booting C:/Program Files/Sonic Pi/app/server/native/scsynth.exe with args ["-u", "37760", "-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"]
[2022-12-21 21:38:25] C:/Program Files/Sonic Pi/app/server/native/scsynth.exe -u 37760 -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
[2022-12-21 21:38:25] Waiting for the SuperCollider Server to have booted...
[2022-12-21 21:38:25] Sending /status to server: localhost:37760
[2022-12-21 21:38:25] log: UTF-8, UTF-8, 
[2022-12-21 21:38:25] log: UTF-8, UTF-8, Device options:
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - MME : Microsoft Sound Mapper - Input   (device #0 with 2 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - MME : Line (4- Steinberg UR22mkII )   (device #1 with 2 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - MME : Microfono (USB Audio Device)   (device #2 with 1 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - MME : Microfono (Steam Streaming Micr   (device #3 with 8 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - MME : Microsoft Sound Mapper - Output   (device #4 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - MME : Line (4- Steinberg UR22mkII )   (device #5 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - MME : Digital Audio (S/PDIF) (High De   (device #6 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - MME : Altoparlanti (Steam Streaming S   (device #7 with 0 ins 8 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - MME : 1 - DP1 (AMD High Definition Au   (device #8 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - MME : Altoparlanti (Steam Streaming M   (device #9 with 0 ins 8 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows DirectSound : Driver primario di acquisizione suoni   (device #10 with 2 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows DirectSound : Line (4- Steinberg UR22mkII )   (device #11 with 2 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows DirectSound : Microfono (USB Audio Device)   (device #12 with 1 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows DirectSound : Microfono (Steam Streaming Microphone)   (device #13 with 8 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows DirectSound : Driver audio principale   (device #14 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows DirectSound : Line (4- Steinberg UR22mkII )   (device #15 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows DirectSound : Digital Audio (S/PDIF) (High Definition Audio Device)   (device #16 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows DirectSound : Altoparlanti (Steam Streaming Speakers)   (device #17 with 0 ins 8 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows DirectSound : 1 - DP1 (AMD High Definition Audio Device)   (device #18 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows DirectSound : Altoparlanti (Steam Streaming Microphone)   (device #19 with 0 ins 8 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - ASIO : ASIO4ALL v2   (device #20 with 2 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - ASIO : FL Studio ASIO   (device #21 with 2 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - ASIO : Yamaha Steinberg USB ASIO   (device #22 with 2 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WASAPI : Digital Audio (S/PDIF) (High Definition Audio Device)   (device #23 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WASAPI : Altoparlanti (Steam Streaming Speakers)   (device #24 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WASAPI : 1 - DP1 (AMD High Definition Audio Device)   (device #25 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WASAPI : Altoparlanti (Steam Streaming Microphone)   (device #26 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WASAPI : Line (4- Steinberg UR22mkII )   (device #27 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WASAPI : Microfono (USB Audio Device)   (device #28 with 1 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WASAPI : Microfono (Steam Streaming Microphone)   (device #29 with 1 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WASAPI : Line (4- Steinberg UR22mkII )   (device #30 with 2 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WDM-KS : Output (AMD HD Audio DP out #0)   (device #31 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WDM-KS : SPDIF Out (HD Audio SPDIF out)   (device #32 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WDM-KS : Line (Steinberg UR22mkII -1)   (device #33 with 2 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WDM-KS : Line (Steinberg UR22mkII -1)   (device #34 with 0 ins 2 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WDM-KS : Microfono (Steam Streaming Microphone Wave)   (device #35 with 8 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WDM-KS : Speakers (Steam Streaming Microphone Wave)   (device #36 with 0 ins 8 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WDM-KS : Microfono (USB Audio Device)   (device #37 with 1 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WDM-KS : Input (Steam Streaming Speakers Wave)   (device #38 with 8 ins 0 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - Windows WDM-KS : Speakers (Steam Streaming Speakers Wave)   (device #39 with 0 ins 8 outs)
[2022-12-21 21:38:25] log: UTF-8, UTF-8, 
[2022-12-21 21:38:25] log: UTF-8, UTF-8, Requested devices:
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   Out:
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   - (default)
[2022-12-21 21:38:25] log: UTF-8, UTF-8, 
[2022-12-21 21:38:25] log: UTF-8, UTF-8, Selecting default system output device
[2022-12-21 21:38:25] log: UTF-8, UTF-8, 
[2022-12-21 21:38:25] log: UTF-8, UTF-8, Booting with:
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   Out: MME : Line (4- Steinberg UR22mkII )
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   Sample rate: 44100.000
[2022-12-21 21:38:25] log: UTF-8, UTF-8,   Latency (in/out): 0.000 / 0.091 sec
[2022-12-21 21:38:25] log: UTF-8, UTF-8, SC_AudioDriver: sample rate = 44100.000000, driver's block size = 64
[2022-12-21 21:38:25] log: UTF-8, UTF-8, SuperCollider 3 server ready.
[2022-12-21 21:38:26] Sending /status to server: localhost:37760
[2022-12-21 21:38:27] Sending /status to server: localhost:37760
[2022-12-21 21:38:28] Sending /status to server: localhost:37760
[2022-12-21 21:38:29] Sending /status to server: localhost:37760
[2022-12-21 21:38:30] Sending /status to server: localhost:37760
[2022-12-21 21:38:31] Sending /status to server: localhost:37760
[2022-12-21 21:38:32] Sending /status to server: localhost:37760
[2022-12-21 21:38:33] Sending /status to server: localhost:37760
[2022-12-21 21:38:34] Sending /status to server: localhost:37760
[2022-12-21 21:38:35] Sending /status to server: localhost:37760
[2022-12-21 21:38:36] Sending /status to server: localhost:37760
[2022-12-21 21:38:37] Sending /status to server: localhost:37760
[2022-12-21 21:38:38] Sending /status to server: localhost:37760
[2022-12-21 21:38:39] Sending /status to server: localhost:37760
[2022-12-21 21:38:40] Sending /status to server: localhost:37760
[2022-12-21 21:38:41] Sending /status to server: localhost:37760
[2022-12-21 21:38:42] Sending /status to server: localhost:37760
[2022-12-21 21:38:43] Sending /status to server: localhost:37760
[2022-12-21 21:38:44] Sending /status to server: localhost:37760
[2022-12-21 21:38:45] Sending /status to server: localhost:37760
[2022-12-21 21:38:46] Sending /status to server: localhost:37760
[2022-12-21 21:38:47] Sending /status to server: localhost:37760
[2022-12-21 21:38:48] Sending /status to server: localhost:37760
[2022-12-21 21:38:49] Sending /status to server: localhost:37760
[2022-12-21 21:38:50] Sending /status to server: localhost:37760
[2022-12-21 21:38:51] Sending /status to server: localhost:37760
[2022-12-21 21:38:52] Sending /status to server: localhost:37760
[2022-12-21 21:38:53] Sending /status to server: localhost:37760
[2022-12-21 21:38:54] Sending /status to server: localhost:37760
[2022-12-21 21:38:55] Unable to connect to SuperCollider Audio Server (Promise timed out after 30 seconds.).
[2022-12-21 21:38:55] Extracting Scsynth info
[2022-12-21 21:38:55] sending ERROR to gui
[2022-12-21 21:38:55] Daemon Booter is now exiting.
[2022-12-21 21:38:55] Cleaning up any running processes...
[2022-12-21 21:38:55] Process Booter - killing C:/Program Files/Sonic Pi/app/server/native/scsynth.exe with pid 8112 and args ["-u", "37760", "-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"], wait_thr status: #<Process::Waiter:0x0000025f35887070 sleep>, sleep
[2022-12-21 21:38:55] Sending KILL kill command to 8112
[2022-12-21 21:38:55] Process 8112 still running, waiting for it to finish... [5]
[2022-12-21 21:38:56] Process 8112 terminated
[2022-12-21 21:38:56] Daemon Booter - Over and Out.

scsynth:

Device options:
  - MME : Microsoft Sound Mapper - Input   (device #0 with 2 ins 0 outs)
  - MME : Line (4- Steinberg UR22mkII )   (device #1 with 2 ins 0 outs)
  - MME : Microfono (USB Audio Device)   (device #2 with 1 ins 0 outs)
  - MME : Microfono (Steam Streaming Micr   (device #3 with 8 ins 0 outs)
  - MME : Microsoft Sound Mapper - Output   (device #4 with 0 ins 2 outs)
  - MME : Line (4- Steinberg UR22mkII )   (device #5 with 0 ins 2 outs)
  - MME : Digital Audio (S/PDIF) (High De   (device #6 with 0 ins 2 outs)
  - MME : Altoparlanti (Steam Streaming S   (device #7 with 0 ins 8 outs)
  - MME : 1 - DP1 (AMD High Definition Au   (device #8 with 0 ins 2 outs)
  - MME : Altoparlanti (Steam Streaming M   (device #9 with 0 ins 8 outs)
  - Windows DirectSound : Driver primario di acquisizione suoni   (device #10 with 2 ins 0 outs)
  - Windows DirectSound : Line (4- Steinberg UR22mkII )   (device #11 with 2 ins 0 outs)
  - Windows DirectSound : Microfono (USB Audio Device)   (device #12 with 1 ins 0 outs)
  - Windows DirectSound : Microfono (Steam Streaming Microphone)   (device #13 with 8 ins 0 outs)
  - Windows DirectSound : Driver audio principale   (device #14 with 0 ins 2 outs)
  - Windows DirectSound : Line (4- Steinberg UR22mkII )   (device #15 with 0 ins 2 outs)
  - Windows DirectSound : Digital Audio (S/PDIF) (High Definition Audio Device)   (device #16 with 0 ins 2 outs)
  - Windows DirectSound : Altoparlanti (Steam Streaming Speakers)   (device #17 with 0 ins 8 outs)
  - Windows DirectSound : 1 - DP1 (AMD High Definition Audio Device)   (device #18 with 0 ins 2 outs)
  - Windows DirectSound : Altoparlanti (Steam Streaming Microphone)   (device #19 with 0 ins 8 outs)
  - ASIO : ASIO4ALL v2   (device #20 with 2 ins 2 outs)
  - ASIO : FL Studio ASIO   (device #21 with 2 ins 2 outs)
  - ASIO : Yamaha Steinberg USB ASIO   (device #22 with 2 ins 2 outs)
  - Windows WASAPI : Digital Audio (S/PDIF) (High Definition Audio Device)   (device #23 with 0 ins 2 outs)
  - Windows WASAPI : Altoparlanti (Steam Streaming Speakers)   (device #24 with 0 ins 2 outs)
  - Windows WASAPI : 1 - DP1 (AMD High Definition Audio Device)   (device #25 with 0 ins 2 outs)
  - Windows WASAPI : Altoparlanti (Steam Streaming Microphone)   (device #26 with 0 ins 2 outs)
  - Windows WASAPI : Line (4- Steinberg UR22mkII )   (device #27 with 0 ins 2 outs)
  - Windows WASAPI : Microfono (USB Audio Device)   (device #28 with 1 ins 0 outs)
  - Windows WASAPI : Microfono (Steam Streaming Microphone)   (device #29 with 1 ins 0 outs)
  - Windows WASAPI : Line (4- Steinberg UR22mkII )   (device #30 with 2 ins 0 outs)
  - Windows WDM-KS : Output (AMD HD Audio DP out #0)   (device #31 with 0 ins 2 outs)
  - Windows WDM-KS : SPDIF Out (HD Audio SPDIF out)   (device #32 with 0 ins 2 outs)
  - Windows WDM-KS : Line (Steinberg UR22mkII -1)   (device #33 with 2 ins 0 outs)
  - Windows WDM-KS : Line (Steinberg UR22mkII -1)   (device #34 with 0 ins 2 outs)
  - Windows WDM-KS : Microfono (Steam Streaming Microphone Wave)   (device #35 with 8 ins 0 outs)
  - Windows WDM-KS : Speakers (Steam Streaming Microphone Wave)   (device #36 with 0 ins 8 outs)
  - Windows WDM-KS : Microfono (USB Audio Device)   (device #37 with 1 ins 0 outs)
  - Windows WDM-KS : Input (Steam Streaming Speakers Wave)   (device #38 with 8 ins 0 outs)
  - Windows WDM-KS : Speakers (Steam Streaming Speakers Wave)   (device #39 with 0 ins 8 outs)

Requested devices:
  Out:
  - (default)

Selecting default system output device

Booting with:
  Out: MME : Line (4- Steinberg UR22mkII )
  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.

I tried various solutions here on the forum but none worked.
Please help me :frowning:

Hi @cat0do

hello and welcome to our community!

One thing to note is that we try and reserve this forum for the usage of Sonic Pi. For booting issues/development issues we prefer to discuss matters over on GitHub. Therefore, would it be possible to open up an issue there : Issues · sonic-pi-net/sonic-pi · GitHub