Back to Blog
Supercollider raspberry pi6/12/2023 ![]() ![]() Ssh -X will give you shell access to the RPi. Open a terminal on the machine you want to connect to the RPi over SSH and simply type: That machine does need to have Xorg installed so using Linux is your best option. X-forwarding over SSH allows you to run software from the RPi within the desktop environment of the machine you're SSH'ing from. That's nice and all but how do I control the RPi then and what if the software I'd like to use has a GUI? Enter X-forwarding over SSH. You can get a significant performance gain by not using a desktop environment on the RPi. Sudo service networking stop Running a headless RPi Jackd -P70 -p16 -t2000 -d alsa -dhw:UA25 -p 128 -n 3 -r 44100 -s &Īlso, as long as you don't need networking, adding these also frees up some resources: # Set the CPU scaling governor to performanceĮcho -n performance | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor #echo -n “1-1.1” | sudo tee /sys/bus/usb/drivers/usb/unbind # In case the above line doesn't work try the following # Uncomment if you'd like to disable the network adapter completely Warning: this can cause unpredictable behaviour when running a desktop environment on the RPi # Kill the usespace gnome virtual filesystem daemon. # Remount /dev/shm to prevent memory allocation errors #export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket # Only needed when Jack2 is compiled with D-Bus support (Jack2 in the AutoStatic RPi audio repo is compiled without D-Bus support) One way to disable such services from running and chewing up precious CPU cycles is to write a little script, an example can be found here: By default the RPi runs quite some services that are not really needed or even get in the way when setting up a real-time, low-latency environment.
0 Comments
Read More
Leave a Reply. |