maxhawkins / sc_radio

SuperCollider Internet Radio Station
77 stars 12 forks source link

Can't connect to JACK server #4

Open matyas47 opened 4 years ago

matyas47 commented 4 years ago

Hello, I am attempting to use this code. I can't get Docker to work on my VPS server (hosting service uses OpenVZ; stuck on Linux kernel 2.6.x, which is incompatible with Docker and I can't upgrade.) I attempted to replicate the environment outside of a Docker container by installing all the software, copying the files to the correct locations, and running forego start as root. This mostly works - everything starts up, and pulling up a browser with the server's IP does give me a a player progress bar. However, I'm getting JACK-related errors, and there is no sound. I'm also getting errors about not being able to create RT message buffer threads; I'm not trying to run with realtime scheduling and I can't install a realtime kernel on the server, but I didn't think this should be an issue. Supercollider does manage to start up correctly and does connect to JACK.

Here's an excerpt from the output:

jackd.1    | JACK server starting in non-realtime mode
jackd.1    | self-connect-mode is "Don't restrict self connect requests"
darkice.1  | Cannot create RT messagebuffer thread: Operation not permitted (1)
darkice.1  | Retrying messagebuffer thread without RT scheduling
darkice.1  | Messagebuffer not realtime; consider enabling RT scheduling for user
darkice.1  | no message buffer overruns
darkice.1  | `default' server already active
darkice.1  | Failed to open server
matyas47 commented 4 years ago

Also, I'm not sure I this is relevant or not:

icecast2.1 | [2019-11-10 20:37:00] INFO connection/_handle_source_request Source logging in at mountpoint "/stream.mp3" from 127.0.0.1 icecast2.1 | [2019-11-10 20:37:00] WARN format/format_get_type Unsupported or legacy stream type: "audio/mpeg". Falling back to generic minimal handler for best effort. icecast2.1 | [2019-11-10 20:37:00] INFO source/source_main listener count on /stream.mp3 now 0