3.14 on Debian 13: Jack errors, dpkg and start menu shortcut

I’m able to build and run 3.14 on Linux with no problems.

I’m get some jack errors when I boot the server. These seem to be WARN level (i.e. it doesn’t stop SuperCollider from working) but I’m wondering what they mean and if there’s a way to supress them.

ERROR: Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
ERROR: jack_get_descriptor : dll
jack_get_descriptor returns null for 'jack_inprocess.so'
ERROR: no message buffer overruns
ERROR: no message buffer overruns
ERROR: jack_get_descriptor : dll
jack_get_descriptor returns null for 'jack_intime.so'
ERROR: jack_get_descriptor : dll
jack_get_descriptor returns null for 'jack_internal_metro.so'
ERROR: no message buffer overruns
jackdmp 1.9.22

Secondly, I’m used to installing SC on Linux via the Debian package manager which creates a Start menu shortcut. Does anyone know how to create one?

Debian Multimedia Team / supercollider · GitLab is a bit out of date so I might do some poking to see if I can contribute to bringing it up-to-date.

Regarding the jack warnings I would first run this script to check your audio configuration:

How to make an app starter depends on which WM you are. On Gnome you can make desktop files. Or simply run it from the terminal and put the path to the SC binary in your .bashrc. file.

1 Like

Thanks. I got the shortcut working on Cinnamon relatively easily. I just had to update the scide path which had changed slightly.

I will take some time reviewing the output of rtcqs and report in the thread if there’s anything that might be illuminating to others. It looks like I need to install the linux-image-rt-amd64 which I thought I had already selected.

For posterity this is what rtcqs reports as warnings:

CPU Frequency Scaling
=====================
[ WARNING ] The scaling governor of one or more CPUs is not set to 'performance'. You can set the scaling governor to 'performance' with 'cpupower frequency-set -g performance' or 'cpufreq-set -r -g performance' (Debian/Ubuntu). See also https://wiki.linuxaudio.org/wiki/system_configuration#cpu_frequency_scaling

Simultaneous Multithreading
===========================
[ WARNING ] Simultaneous Multithreading (SMT, also called hyper-threading) is enabled. This can cause spikes in DSP load at higher DSP loads. Consider disabling SMT when experiencing such spikes with 'echo off | sudo tee /sys/devices/system/cpu/smt/control'. See also https://wiki.linuxaudio.org/wiki/system_configuration#simultaneous_multithreading

Spectre/Meltdown Mitigations
============================
[ WARNING ] Kernel with Spectre/Meltdown mitigations found. This could have a negative impact on the performance of your system. See also https://wiki.linuxaudio.org/wiki/system_configuration#disabling_spectre_and_meltdown_mitigations

Swappiness
==========
[ WARNING ] vm.swappiness is set to 60 which is too high. Set swappiness to a lower value by adding 'vm.swappiness=10' to /etc/sysctl.conf and run 'sysctl --system'. See also https://wiki.linuxaudio.org/wiki/system_configuration#sysctlconf

Filesystems
===========
[ WARNING ] The following mounts should be avoided for audio purposes: /boot. See also https://wiki.linuxaudio.org/wiki/system_configuration#filesystems

Power Management
================
[ WARNING ] Power management can't be controlled from user space, the device node /dev/cpu_dma_latency can't be accessed by your user. This prohibits DAWs like Ardour and Reaper to set CPU DMA latency which could help prevent xruns. For enabling access see https://wiki.linuxaudio.org/wiki/system_configuration#quality_of_service_interface

Also, if I start qjackctl manually I do not get the errors. However, I was under the impression that pipewire removed the need for starting it.

you can set the governor to performance if needed and swappiness to 10.

Do you have pipewire-jack installed?

sudo apt install pipewire-jack

Thanks. Yes, I have installed the pipewire-jack package.

In the end, enabling these options in QjackCtl to start JACK automatically worked for me:

  • Start JACK audio server on application startup
  • Start minimized to system tray
  • Enable JACK D-Bus interface
1 Like