• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

RPi + CamillaDSP Tutorial

nevermind - found the problem: When fiddling around with several different CDSP config files, I forgot to add the 1kHz filter within the "pipeline" tab. Seems to work fine now.
Nevertheless it's so cool this forum exists, with so many helpful people and very useful resources.
Thank you!
 
Michael: ".....if you really know what you are doing..."
I'm officially out
Will wait some time then ☺️
 
I wanted to add a "tilt" control to the Shortcuts page of the GUI, and it was really easy.

First, add the Tilt filter to your config

filters:
Bass:
description: null
parameters:
freq: 85
gain: 0
q: 0.9
type: Lowshelf
type: Biquad
Tilt:
description: null
parameters:
gain: -5.2
type: Tilt
type: BiquadCombo
Treble:
description: null
parameters:
freq: 6500
gain: 0
q: 0.7
type: Highshelf
type: Biquad

shown here between the suggested Bass and Treble filters. Then add an entry for it in camillagui/config/gui-config.yml:

custom_shortcuts:
- section: "Equalizer"
description: "To use the EQ, add filters named \"Bass\" and \"Treble\" to the pipeline.<br/>Recommented settings: <br/>Bass: Biquad Lowshelf freq=85 q=0.9<br/>Treble: Biquad Highshelf freq=6500 q=0.7"
shortcuts:
- name: "Treble (dB)"
path_in_config: ["filters", "Treble", "parameters", "gain"]
range_from: -12
range_to: 12
step: 0.5
- name: "Bass (dB)"
path_in_config: ["filters", "Bass", "parameters", "gain"]
range_from: -12
range_to: 12
step: 0.5
- name: "Tilt (dB)"
path_in_config: ["filters", "Tilt", "parameters", "gain"]
range_from: -12
range_to: 12
step: 0.1

Then refresh the page to see the Tilt control. Tilt can be from -100 to 100 dB, but +/- 12 seems sufficient and is an easier to use range.
 
Then refresh the page to see the Tilt control. Tilt can be from -100 to 100 dB, but +/- 12 seems sufficient and is an easier to use range.
I guess you could basically control many other filters this way which is useful to know. Probably any filter with a gain function?

I have a convolution filter with 0.5dB/oct slope, and used +/-6 dB adjustment, which was enough to make the in-room response flat. Cool to satisfy curiosity about different slopes. But I don't see myself ever adjusting this again. 0.5dB/oct is just perfect. If for some reason I had to use a tilt-filter, I would set it once and never touch it again.

But as I said, this could maybe come in handy for something else in the future, so thank you for showing how this works.
 
I guess you could basically control many other filters this way which is useful to know. Probably any filter with a gain function?

I have a convolution filter with 0.5dB/oct slope, and used +/-6 dB adjustment, which was enough to make the in-room response flat. Cool to satisfy curiosity about different slopes. But I don't see myself ever adjusting this again. 0.5dB/oct is just perfect. If for some reason I had to use a tilt-filter, I would set it once and never touch it again.

But as I said, this could maybe come in handy for something else in the future, so thank you for showing how this works.

The idea was to use this to select a room correction target. Instead of creating a bunch of targets and trying to select among them, I created one flat-in-room set of correction filters and then adjusted the tilt until I liked the tonal balance. It was much easier to get a feel for what more or less tilt sounds like by adjusting a slider. I ended up with a Tilt with a gain of -5.6. I then used Acourate's IIR tool to create a similar target for more permanent use. I'd like to do something similar for B&K-type targets rather than just a simple tilt.
 
The idea was to use this to select a room correction target. Instead of creating a bunch of targets and trying to select among them, I created one flat-in-room set of correction filters and then adjusted the tilt until I liked the tonal balance. It was much easier to get a feel for what more or less tilt sounds like by adjusting a slider. I ended up with a Tilt with a gain of -5.6. I then used Acourate's IIR tool to create a similar target for more permanent use. I'd like to do something similar for B&K-type targets rather than just a simple tilt.
Yes, it was in no way meant to bash your use of it (I hope it didn't came across like that). We all have different speakers, use cases, and probably develop our own firm ideas about the right way to go about things.

CamillaDSP has become a hobby of itself now, so it was appreciated to learn something new about it.
 
Hi @HenrikEnquist and forum, I would be very happy, if someone could please explain me, how I could change the CamillaDSP default startup volume - meaning the volume, that CamillaDSP always goes back to, after a restart. Is it possible to either tell CamillaDSP to always start with the last volume level, or define a new default/standard volume level? I'm using the Wiim Pro Plus streamer via an optical to USB converter for audio in - and use the Wiim volume control. Thus, I like the CamillaDSP volume to always stay on 100%. As I'm new to Linux and Raspberry, I'd very much appreciate a noop friendly instruction. Thanks a lot and kind regards :)

(For audio output I currently use the DAC8x, but I like to use three individual DAC boards connected via the native I2S GPIO out, once I2S is availalble via MCLK at the Raspi5 GPIO pins.)
 
I am in the process of setting up a raspberry pi 4B with CamillaDSP, and while in general it looks quite promising, there is one problem that I can't figure out so far.

The capture device is USB gadget, the playback is a Motu M4. The g_audio module parameters are "c_srate=48000 c_ssize=4 p_chmask=0 c_chmask=63". On the host system I am running "speaker-test -D hw:Gadget -c 6 -f 160 -t sine -r 48000 -F S32_LE", and here is the problem: in about 40% of the times there is a distinct sound glitch that repeats every few seconds. Here is what it sounds like: link.

I tried connecting the RPi to another host, using different USB cables and other random and not so random changes to the configuration, but the problem persists. It seems to be somehow specific to the USB gadget configuration, because I could not reproduce it using the ALSA loopback device. When this reproduces, there is nothing out of the ordinary in the CamillaDSP logs.

At this point I feel quite stuck, so any suggestions how I could troubleshoot this further would be very helpful.

Here is the CamillaDSP config:
YAML:
description: null
devices:
  adjust_period: 2
  capture:
    channels: 6
    device: hw:UAC2Gadget,0,0
    format: S32LE
    type: Alsa
  capture_samplerate: 48000
  chunksize: 1024
  enable_rate_adjust: true
  playback:
    channels: 4
    device: hw:M4,0,0
    format: S32LE
    type: Alsa
  queuelimit: null
  rate_measure_interval: null
  resampler: null
  samplerate: 48000
  silence_threshold: null
  silence_timeout: null
  stop_on_rate_change: null
  target_level: 2047
  volume_ramp_time: null
filters:
  delay:
    description: null
    parameters:
      delay: 180
      subsample: false
      unit: ms
    type: Delay
mixers:
  Unnamed Mixer 1:
    channels:
      in: 6
      out: 4
    description: null
    mapping:
    - dest: 0
      mute: false
      sources:
      - channel: 0
        gain: 0
        inverted: false
        mute: false
        scale: dB
    - dest: 1
      mute: false
      sources:
      - channel: 1
        gain: 0
        inverted: false
        mute: false
        scale: dB
    - dest: 3
      mute: false
      sources:
      - channel: 3
        gain: -13
        inverted: false
        mute: false
        scale: dB
pipeline:
- bypassed: null
  description: null
  name: Unnamed Mixer 1
  type: Mixer
- bypassed: null
  channel: 0
  description: null
  names:
  - delay
  type: Filter
- bypassed: null
  channel: 1
  description: null
  names:
  - delay
  type: Filter
- bypassed: null
  channel: 3
  description: null
  names:
  - delay
  type: Filter
processors: {}
title: null
 
Last edited:
Sorry, missed a word, meant to say that there is nothing out of the ordinary in the logs. But just to make sure will reproduce again and post the logs later today.
 
I am in the process of setting up a raspberry pi 4B with CamillaDSP, and while in general it looks quite promising, there is one problem that I can't figure out so far.

The capture device is USB gadget, the playback is a Motu M4. The g_audio module parameters are "c_srate=48000 c_ssize=4 p_chmask=0 c_chmask=63". On the host system I am running "speaker-test -D hw:Gadget -c 6 -f 160 -t sine -r 48000 -F S32_LE", and here is the problem: in about 40% of the times there is a distinct sound glitch that repeats every few seconds. Here is what it sounds like: link.

I tried connecting the RPi to another host, using different USB cables and other random and not so random changes to the configuration, but the problem persists. It seems to be somehow specific to the USB gadget configuration, because I could not reproduce it using the ALSA loopback device. When this reproduces, there is nothing out of the ordinary in the CamillaDSP logs.

At this point I feel quite stuck, so any suggestions how I could troubleshoot this further would be very helpful.

Here is the CamillaDSP config:
YAML:
description: null
devices:
  adjust_period: 2
  capture:
    channels: 6
    device: hw:UAC2Gadget,0,0
    format: S32LE
    type: Alsa
  capture_samplerate: 48000
  chunksize: 1024
  enable_rate_adjust: true
  playback:
    channels: 4
    device: hw:M4,0,0
    format: S32LE
    type: Alsa
  queuelimit: null
  rate_measure_interval: null
  resampler: null
  samplerate: 48000
  silence_threshold: null
  silence_timeout: null
  stop_on_rate_change: null
  target_level: 2047
  volume_ramp_time: null
filters:
  delay:
    description: null
    parameters:
      delay: 180
      subsample: false
      unit: ms
    type: Delay
mixers:
  Unnamed Mixer 1:
    channels:
      in: 6
      out: 4
    description: null
    mapping:
    - dest: 0
      mute: false
      sources:
      - channel: 0
        gain: 0
        inverted: false
        mute: false
        scale: dB
    - dest: 1
      mute: false
      sources:
      - channel: 1
        gain: 0
        inverted: false
        mute: false
        scale: dB
    - dest: 3
      mute: false
      sources:
      - channel: 3
        gain: -13
        inverted: false
        mute: false
        scale: dB
pipeline:
- bypassed: null
  description: null
  name: Unnamed Mixer 1
  type: Mixer
- bypassed: null
  channel: 0
  description: null
  names:
  - delay
  type: Filter
- bypassed: null
  channel: 1
  description: null
  names:
  - delay
  type: Filter
- bypassed: null
  channel: 3
  description: null
  names:
  - delay
  type: Filter
processors: {}
title: null
Have you tried lowering the target_level value for rate adjust? I think the recommended value is ~75% of chunksize (if using CamillaDSP v2), so maybe try 768 in your case.
 
Have you tried lowering the target_level value for rate adjust? I think the recommended value is ~75% of chunksize (if using CamillaDSP v2), so maybe try 768 in your case.
I did, doesn't help, unfortunately.

Here is the log when everything is fine:
Code:
2024-08-25 13:57:21.027143 WARN [src/alsadevice.rs:138] PB: Prepare playback after buffer underrun
2024-08-25 13:57:21.069792 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2046.2, target delay: 2047, diff: -1.2977802469124526, prev_div: -10.218111666665436, corrected capture rate: 99.9780%
2024-08-25 13:57:21.069907 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2046.2, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 384, tv_nsec: 56150567 }, values: [3.240842e-5, 3.240842e-5, 0.0, 0.0] })
2024-08-25 13:57:21.070865 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 13:57:23.078097 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2025.2, target delay: 2047, diff: -22.21638374999884, prev_div: -1.2977802469124526, corrected capture rate: 99.9810%
2024-08-25 13:57:23.078254 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2025.2, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 386, tv_nsec: 64455449 }, values: [3.1863026e-5, 3.1863026e-5, 0.0, 0.0] })
2024-08-25 13:57:23.078334 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 13:57:25.083039 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2034.7, target delay: 2047, diff: -12.652556914892557, prev_div: -22.21638374999884, corrected capture rate: 99.9820%
2024-08-25 13:57:25.083198 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2034.7, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 388, tv_nsec: 69397484 }, values: [3.128647e-5, 3.128647e-5, 0.0, 0.0] })
2024-08-25 13:57:25.083325 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 13:57:27.088083 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2035.1, target delay: 2047, diff: -12.270572553190505, prev_div: -12.652556914892557, corrected capture rate: 99.9830%
2024-08-25 13:57:27.088242 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2035.1, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 390, tv_nsec: 74441077 }, values: [3.24269e-5, 3.24269e-5, 0.0, 0.0] })
2024-08-25 13:57:27.088272 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 13:57:29.093041 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2027.4, target delay: 2047, diff: -19.90849393616918, prev_div: -12.270572553190505, corrected capture rate: 99.9840%
2024-08-25 13:57:29.093199 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2027.4, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 392, tv_nsec: 79399262 }, values: [3.2553507e-5, 3.2553507e-5, 0.0, 0.0] })
2024-08-25 13:57:29.093329 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 13:57:29.923783 INFO [src/alsadevice.rs:799] Capture device is stalled, processing is stalled
2024-08-25 13:57:29.924694 DEBUG [src/alsadevice.rs:253] Starting capture from state: SND_PCM_STATE_PREPARED, Ready to start

Here is the log with that repeated sound glitch, looks the same to me:
Code:
2024-08-25 13:55:07.938928 WARN [src/alsadevice.rs:138] PB: Prepare playback after buffer underrun
2024-08-25 13:55:08.537333 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2033.6, target delay: 2047, diff: -13.42464545454527, prev_div: 32.808510638297776, corrected capture rate: 100.0000%
2024-08-25 13:55:08.537438 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2033.6, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 251, tv_nsec: 523694062 }, values: [3.232843e-5, 3.232843e-5, 0.0, 0.0] })
2024-08-25 13:55:08.537483 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 13:55:10.541779 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2077.7, target delay: 2047, diff: 30.70212765957467, prev_div: -13.42464545454527, corrected capture rate: 99.9970%
2024-08-25 13:55:10.541940 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2077.7, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 253, tv_nsec: 528140024 }, values: [3.125227e-5, 3.125227e-5, 0.0, 0.0] })
2024-08-25 13:55:10.541983 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 13:55:12.546804 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2071.0, target delay: 2047, diff: 23.927232021276723, prev_div: 30.70212765957467, corrected capture rate: 99.9960%
2024-08-25 13:55:12.546951 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2071.0, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 255, tv_nsec: 533165159 }, values: [3.1974992e-5, 3.1974992e-5, 0.0, 0.0] })
2024-08-25 13:55:12.546999 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 13:55:14.252112 INFO [src/alsadevice.rs:799] Capture device is stalled, processing is stalled
2024-08-25 13:55:14.253097 DEBUG [src/alsadevice.rs:253] Starting capture from state: SND_PCM_STATE_PREPARED, Ready to start

I did notice one new thing, though. Sometimes the beginning looks like this:
Code:
2024-08-25 13:59:01.187917 WARN [src/alsadevice.rs:138] PB: Prepare playback after buffer underrun
2024-08-25 13:59:01.318380 INFO [src/alsadevice.rs:488] PB: device stalled
2024-08-25 13:59:03.250622 INFO [src/alsadevice.rs:479] PB: device resumed normal operation
2024-08-25 13:59:05.266887 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 3312.1, target delay: 2047, diff: 1264.7078105263167, prev_div: -22.592994361701358, corrected capture rate: 99.9850%
2024-08-25 13:59:05.267053 DEBUG [src/alsadevice.rs:573] PB: buffer level: 3312.1, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 488, tv_nsec: 253245395 }, values: [3.1925563e-5, 3.1925563e-5, 0.0, 0.0] })

And if this stalled/resumed event happens at the beginning, the audio seems to always play correctly without glitches.
 
I think the recommended value is ~75% of chunksize (
IMO the safe value is 75% of buffer size, that is 1.5 of chunksize for v.2 (buffer = 2 chunks) and 3 chunksizes for v.3 (buffer = 4 chunks).
 
Last edited:
@stigger : Please post the whole debug log, including the start (where all the buffer details for each side are listed).
 
@stigger : Please post the whole debug log, including the start (where all the buffer details for each side are listed).
Code:
2024-08-25 16:51:31.474993 INFO [src/bin.rs:683] CamillaDSP version 2.0.3
2024-08-25 16:51:31.475062 INFO [src/bin.rs:684] Running on linux, aarch64
2024-08-25 16:51:31.475122 DEBUG [src/bin.rs:728] Loaded state: None
2024-08-25 16:51:31.475138 DEBUG [src/bin.rs:732] Using command line argument for initial volume
2024-08-25 16:51:31.475148 DEBUG [src/bin.rs:755] Using default initial mute
2024-08-25 16:51:31.475157 DEBUG [src/bin.rs:765] Initial mute: [false, false, false, false, false]
2024-08-25 16:51:31.475166 DEBUG [src/bin.rs:766] Initial volume: [-40.0, -40.0, -40.0, -40.0, -40.0]
2024-08-25 16:51:31.475181 DEBUG [src/bin.rs:768] Read config file None
2024-08-25 16:51:31.475473 DEBUG [src/socketserver.rs:432] Start websocket server on 0.0.0.0:1234
2024-08-25 16:51:31.475657 DEBUG [src/bin.rs:994] Wait for config
2024-08-25 16:51:31.475678 DEBUG [src/bin.rs:1010] Waiting to receive a command
2024-08-25 16:51:45.323826 DEBUG [/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.21.0/src/handshake/server.rs:285] Server handshake done.
2024-08-25 16:51:45.324037 DEBUG [src/socketserver.rs:522] parsed command: Ok(SetConfigFilePath("/root/camilladsp/configs/gadget_m4.yml"))
2024-08-25 16:51:45.325575 DEBUG [src/socketserver.rs:522] parsed command: Ok(Reload)
2024-08-25 16:51:45.326560 DEBUG [src/socketserver.rs:555] WS: Config file loaded successfully, send to controller
2024-08-25 16:51:45.326696 DEBUG [/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.21.0/src/protocol/mod.rs:675] Received close frame: None
2024-08-25 16:51:45.326717 DEBUG [/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.21.0/src/protocol/mod.rs:692] Replying to close with Frame { header: FrameHeader { is_final: true, rsv1: false, rsv2: false, rsv3: false, opcode: Control(Close), mask: None }, payload: [] }
2024-08-25 16:51:45.326737 DEBUG [src/socketserver.rs:522] parsed command: Ok(None)
2024-08-25 16:51:45.326750 DEBUG [src/socketserver.rs:522] Sending no reply
2024-08-25 16:51:45.326766 DEBUG [src/socketserver.rs:522] Connection was closed
2024-08-25 16:51:45.326737 DEBUG [src/bin.rs:1013] Config change command received
2024-08-25 16:51:45.326786 DEBUG [src/bin.rs:999] New config is available and there are no queued commands, continuing
2024-08-25 16:51:45.326797 DEBUG [src/bin.rs:1036] Config ready, start processing
2024-08-25 16:51:45.327323 DEBUG [src/bin.rs:157] Using channels [true, true, false, true, false, false]
2024-08-25 16:51:45.327272 DEBUG [src/filters.rs:488] Build new pipeline
2024-08-25 16:51:45.327702 DEBUG [src/filters.rs:364] Build filter group from config
2024-08-25 16:51:45.327736 DEBUG [src/basicfilters.rs:329] Building delay filter 'delay' with delay 8640 samples
2024-08-25 16:51:45.327940 DEBUG [src/filters.rs:364] Build filter group from config
2024-08-25 16:51:45.327956 DEBUG [src/basicfilters.rs:329] Building delay filter 'delay' with delay 8640 samples
2024-08-25 16:51:45.328129 DEBUG [src/filters.rs:364] Build filter group from config
2024-08-25 16:51:45.328141 DEBUG [src/basicfilters.rs:329] Building delay filter 'delay' with delay 8640 samples
2024-08-25 16:51:45.328317 DEBUG [src/processing.rs:19] build filters, waiting to start processing loop
2024-08-25 16:51:45.440998 DEBUG [src/alsadevice.rs:334] Available Playback devices: [("hw:M4,0,0", "M4, USB Audio, subdevice #0"), ("hw:ICUSBAUDIO7D,0,0", "ICUSBAUDIO7D, USB Audio, subdevice #0"), ("hw:Loopback,0,0", "Loopback, Loopback PCM, subdevice #0"), ("hw:Loopback,0,1", "Loopback, Loopback PCM, subdevice #1"), ("hw:Loopback,0,2", "Loopback, Loopback PCM, subdevice #2"), ("hw:Loopback,0,3", "Loopback, Loopback PCM, subdevice #3"), ("hw:Loopback,0,4", "Loopback, Loopback PCM, subdevice #4"), ("hw:Loopback,0,5", "Loopback, Loopback PCM, subdevice #5"), ("hw:Loopback,0,6", "Loopback, Loopback PCM, subdevice #6"), ("hw:Loopback,0,7", "Loopback, Loopback PCM, subdevice #7"), ("hw:Loopback,1,0", "Loopback, Loopback PCM, subdevice #0"), ("hw:Loopback,1,1", "Loopback, Loopback PCM, subdevice #1"), ("hw:Loopback,1,2", "Loopback, Loopback PCM, subdevice #2"), ("hw:Loopback,1,3", "Loopback, Loopback PCM, subdevice #3"), ("hw:Loopback,1,4", "Loopback, Loopback PCM, subdevice #4"), ("hw:Loopback,1,5", "Loopback, Loopback PCM, subdevice #5"), ("hw:Loopback,1,6", "Loopback, Loopback PCM, subdevice #6"), ("hw:Loopback,1,7", "Loopback, Loopback PCM, subdevice #7"), ("null", "Discard all samples (playback) or generate zero samples (capture)"), ("sysdefault", "Default Audio Device"), ("sysdefault:CARD=M4", "M4, USB Audio\nDefault Audio Device"), ("front:CARD=M4,DEV=0", "M4, USB Audio\nFront output / input"), ("surround21:CARD=M4,DEV=0", "M4, USB Audio\n2.1 Surround output to Front and Subwoofer speakers"), ("surround40:CARD=M4,DEV=0", "M4, USB Audio\n4.0 Surround output to Front and Rear speakers"), ("surround41:CARD=M4,DEV=0", "M4, USB Audio\n4.1 Surround output to Front, Rear and Subwoofer speakers"), ("surround50:CARD=M4,DEV=0", "M4, USB Audio\n5.0 Surround output to Front, Center and Rear speakers"), ("surround51:CARD=M4,DEV=0", "M4, USB Audio\n5.1 Surround output to Front, Center, Rear and Subwoofer speakers"), ("surround71:CARD=M4,DEV=0", "M4, USB Audio\n7.1 Surround output to Front, Center, Side, Rear and Woofer speakers"), ("iec958:CARD=M4,DEV=0", "M4, USB Audio\nIEC958 (S/PDIF) Digital Audio Output"), ("sysdefault:CARD=ICUSBAUDIO7D", "ICUSBAUDIO7D, USB Audio\nDefault Audio Device"), ("front:CARD=ICUSBAUDIO7D,DEV=0", "ICUSBAUDIO7D, USB Audio\nFront output / input"), ("surround21:CARD=ICUSBAUDIO7D,DEV=0", "ICUSBAUDIO7D, USB Audio\n2.1 Surround output to Front and Subwoofer speakers"), ("surround40:CARD=ICUSBAUDIO7D,DEV=0", "ICUSBAUDIO7D, USB Audio\n4.0 Surround output to Front and Rear speakers"), ("surround41:CARD=ICUSBAUDIO7D,DEV=0", "ICUSBAUDIO7D, USB Audio\n4.1 Surround output to Front, Rear and Subwoofer speakers"), ("surround50:CARD=ICUSBAUDIO7D,DEV=0", "ICUSBAUDIO7D, USB Audio\n5.0 Surround output to Front, Center and Rear speakers"), ("surround51:CARD=ICUSBAUDIO7D,DEV=0", "ICUSBAUDIO7D, USB Audio\n5.1 Surround output to Front, Center, Rear and Subwoofer speakers"), ("surround71:CARD=ICUSBAUDIO7D,DEV=0", "ICUSBAUDIO7D, USB Audio\n7.1 Surround output to Front, Center, Side, Rear and Woofer speakers"), ("iec958:CARD=ICUSBAUDIO7D,DEV=0", "ICUSBAUDIO7D, USB Audio\nIEC958 (S/PDIF) Digital Audio Output"), ("sysdefault:CARD=Loopback", "Loopback, Loopback PCM\nDefault Audio Device"), ("front:CARD=Loopback,DEV=0", "Loopback, Loopback PCM\nFront output / input"), ("surround21:CARD=Loopback,DEV=0", "Loopback, Loopback PCM\n2.1 Surround output to Front and Subwoofer speakers"), ("surround40:CARD=Loopback,DEV=0", "Loopback, Loopback PCM\n4.0 Surround output to Front and Rear speakers"), ("surround41:CARD=Loopback,DEV=0", "Loopback, Loopback PCM\n4.1 Surround output to Front, Rear and Subwoofer speakers"), ("surround50:CARD=Loopback,DEV=0", "Loopback, Loopback PCM\n5.0 Surround output to Front, Center and Rear speakers"), ("surround51:CARD=Loopback,DEV=0", "Loopback, Loopback PCM\n5.1 Surround output to Front, Center, Rear and Subwoofer speakers"), ("surround71:CARD=Loopback,DEV=0", "Loopback, Loopback PCM\n7.1 Surround output to Front, Center, Side, Rear and Woofer speakers")]
2024-08-25 16:51:45.441407 DEBUG [src/alsadevice.rs:334] Available Capture devices: [("hw:M4,0,0", "M4, USB Audio, subdevice #0"), ("hw:ICUSBAUDIO7D,0,0", "ICUSBAUDIO7D, USB Audio, subdevice #0"), ("hw:UAC2Gadget,0,0", "UAC2_Gadget, UAC2 PCM, subdevice #0"), ("hw:Loopback,0,0", "Loopback, Loopback PCM, subdevice #0"), ("hw:Loopback,0,1", "Loopback, Loopback PCM, subdevice #1"), ("hw:Loopback,0,2", "Loopback, Loopback PCM, subdevice #2"), ("hw:Loopback,0,3", "Loopback, Loopback PCM, subdevice #3"), ("hw:Loopback,0,4", "Loopback, Loopback PCM, subdevice #4"), ("hw:Loopback,0,5", "Loopback, Loopback PCM, subdevice #5"), ("hw:Loopback,0,6", "Loopback, Loopback PCM, subdevice #6"), ("hw:Loopback,0,7", "Loopback, Loopback PCM, subdevice #7"), ("hw:Loopback,1,0", "Loopback, Loopback PCM, subdevice #0"), ("hw:Loopback,1,1", "Loopback, Loopback PCM, subdevice #1"), ("hw:Loopback,1,2", "Loopback, Loopback PCM, subdevice #2"), ("hw:Loopback,1,3", "Loopback, Loopback PCM, subdevice #3"), ("hw:Loopback,1,4", "Loopback, Loopback PCM, subdevice #4"), ("hw:Loopback,1,5", "Loopback, Loopback PCM, subdevice #5"), ("hw:Loopback,1,6", "Loopback, Loopback PCM, subdevice #6"), ("hw:Loopback,1,7", "Loopback, Loopback PCM, subdevice #7"), ("null", "Discard all samples (playback) or generate zero samples (capture)"), ("sysdefault", "Default Audio Device"), ("sysdefault:CARD=M4", "M4, USB Audio\nDefault Audio Device"), ("front:CARD=M4,DEV=0", "M4, USB Audio\nFront output / input"), ("sysdefault:CARD=ICUSBAUDIO7D", "ICUSBAUDIO7D, USB Audio\nDefault Audio Device"), ("front:CARD=ICUSBAUDIO7D,DEV=0", "ICUSBAUDIO7D, USB Audio\nFront output / input"), ("sysdefault:CARD=UAC2Gadget", "UAC2_Gadget, UAC2 PCM\nDefault Audio Device"), ("sysdefault:CARD=Loopback", "Loopback, Loopback PCM\nDefault Audio Device"), ("front:CARD=Loopback,DEV=0", "Loopback, Loopback PCM\nFront output / input")]
2024-08-25 16:51:45.442087 DEBUG [src/alsadevice.rs:352] Playback: supported channels, min: 4, max: 4, list: [4]
2024-08-25 16:51:45.442114 DEBUG [src/alsadevice.rs:353] Playback: setting channels to 4
2024-08-25 16:51:45.442201 DEBUG [src/alsadevice.rs:357] Playback: supported samplerates: Discrete([44100, 48000, 88200, 96000, 176400, 192000])
2024-08-25 16:51:45.442212 DEBUG [src/alsadevice.rs:358] Playback: setting rate to 48000
2024-08-25 16:51:45.442239 DEBUG [src/alsadevice.rs:362] Playback: supported sample formats: [S32LE]
2024-08-25 16:51:45.442250 DEBUG [src/alsadevice.rs:363] Playback: setting format to S32LE
2024-08-25 16:51:45.442271 DEBUG [src/alsadevice_buffermanager.rs:57] Setting buffer size to 4096 frames
2024-08-25 16:51:45.442307 DEBUG [src/alsadevice_buffermanager.rs:70] Device is using a buffer size of 4096 frames
2024-08-25 16:51:45.442319 DEBUG [src/alsadevice_buffermanager.rs:78] Setting period size to 512 frames
2024-08-25 16:51:45.453870 DEBUG [src/alsadevice.rs:387] Opening Playback device "hw:M4,0,0" with parameters: HwParams { channels: Ok(4), rate: "Ok(48000) Hz", format: Ok(S32LE), access: Ok(RWInterleaved), period_size: "Ok(512) frames", buffer_size: "Ok(4096) frames" }, SwParams(avail_min: Ok(1024) frames, start_threshold: Ok(1) frames, stop_threshold: Ok(4096) frames)
2024-08-25 16:51:45.453947 DEBUG [src/alsadevice.rs:392] Playback device "hw:M4,0,0" successfully opened
2024-08-25 16:51:45.454018 DEBUG [src/bin.rs:265] Playback thread ready to start
2024-08-25 16:51:45.454567 DEBUG [src/alsadevice.rs:352] Capture: supported channels, min: 6, max: 6, list: [6]
2024-08-25 16:51:45.454597 DEBUG [src/alsadevice.rs:353] Capture: setting channels to 6
2024-08-25 16:51:45.454617 DEBUG [src/alsadevice.rs:357] Capture: supported samplerates: Discrete([48000])
2024-08-25 16:51:45.454628 DEBUG [src/alsadevice.rs:358] Capture: setting rate to 48000
2024-08-25 16:51:45.454645 DEBUG [src/alsadevice.rs:362] Capture: supported sample formats: [S32LE]
2024-08-25 16:51:45.454653 DEBUG [src/alsadevice.rs:363] Capture: setting format to S32LE
2024-08-25 16:51:45.454675 DEBUG [src/alsadevice_buffermanager.rs:57] Setting buffer size to 4096 frames
2024-08-25 16:51:45.454705 DEBUG [src/alsadevice_buffermanager.rs:70] Device is using a buffer size of 2720 frames
2024-08-25 16:51:45.454717 DEBUG [src/alsadevice_buffermanager.rs:78] Setting period size to 340 frames
2024-08-25 16:51:45.454850 DEBUG [src/alsadevice.rs:387] Opening Capture device "hw:UAC2Gadget,0,0" with parameters: HwParams { channels: Ok(6), rate: "Ok(48000) Hz", format: Ok(S32LE), access: Ok(RWInterleaved), period_size: "Ok(170) frames", buffer_size: "Ok(2720) frames" }, SwParams(avail_min: Ok(1024) frames, start_threshold: Ok(0) frames, stop_threshold: Ok(2720) frames)
2024-08-25 16:51:45.454897 DEBUG [src/alsadevice.rs:392] Capture device "hw:UAC2Gadget,0,0" successfully opened
2024-08-25 16:51:45.454930 DEBUG [src/bin.rs:275] Capture thread ready to start
2024-08-25 16:51:45.454944 DEBUG [src/bin.rs:278] Both capture and playback ready, release barrier
2024-08-25 16:51:45.454965 DEBUG [src/bin.rs:280] Supervisor loop starts now!
2024-08-25 16:51:45.454975 DEBUG [src/alsadevice.rs:1037] Starting captureloop
2024-08-25 16:51:45.454997 DEBUG [src/alsadevice.rs:951] Starting playback loop
2024-08-25 16:51:45.455014 DEBUG [src/alsadevice.rs:415] Playback loop uses a buffer of 1024 frames
2024-08-25 16:51:45.455051 DEBUG [src/processing.rs:21] Processing loop starts now!
2024-08-25 16:51:45.455466 INFO [src/alsadevice.rs:648] Capture device supports rate adjust
2024-08-25 16:51:45.455486 DEBUG [src/alsadevice.rs:657] Capture loop uses a buffer of 2720 frames
2024-08-25 16:51:45.455578 DEBUG [src/alsadevice.rs:253] Starting capture from state: SND_PCM_STATE_PREPARED, Ready to start
2024-08-25 16:51:45.539758 INFO [src/alsadevice.rs:799] Capture device is stalled, processing is stalled
2024-08-25 16:51:45.540524 DEBUG [src/countertimer.rs:240] Number of values changed. New 6, prev 2. Clearing history.
2024-08-25 16:51:45.540568 DEBUG [src/countertimer.rs:240] Number of values changed. New 6, prev 2. Clearing history.
2024-08-25 16:51:45.540760 DEBUG [src/alsadevice.rs:253] Starting capture from state: SND_PCM_STATE_PREPARED, Ready to start
2024-08-25 16:52:16.190075 INFO [src/alsadevice.rs:142] PB: Starting playback from Prepared state
2024-08-25 16:52:16.232360 DEBUG [src/countertimer.rs:240] Number of values changed. New 4, prev 2. Clearing history.
2024-08-25 16:52:16.232422 DEBUG [src/countertimer.rs:240] Number of values changed. New 4, prev 2. Clearing history.
2024-08-25 16:52:16.232890 DEBUG [src/alsadevice.rs:573] PB: buffer level: 1024.0, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 214, tv_nsec: 579724146 }, values: [0.0, 0.0, 0.0, 0.0] })
2024-08-25 16:52:18.240523 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2038.0, target delay: 2047, diff: -9, prev_div: -1023, corrected capture rate: 100.0000%
2024-08-25 16:52:18.240730 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 16:52:18.240824 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2038.0, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 216, tv_nsec: 587351459 }, values: [3.1863026e-5, 0.0, 0.0, 0.0] })
2024-08-25 16:52:20.245014 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2043.2, target delay: 2047, diff: -3.8085106382977756, prev_div: -9, corrected capture rate: 100.0010%
2024-08-25 16:52:20.245247 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 16:52:20.245341 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2043.2, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 218, tv_nsec: 591842070 }, values: [0.0, 0.0, 0.0, 0.0] })
2024-08-25 16:52:22.250084 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2060.5, target delay: 2047, diff: 13.531243404255747, prev_div: -3.8085106382977756, corrected capture rate: 100.0000%
2024-08-25 16:52:22.250289 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 16:52:22.250363 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2060.5, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 220, tv_nsec: 596912741 }, values: [0.0, 0.0, 0.0, 0.0] })
2024-08-25 16:52:24.254527 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2067.8, target delay: 2047, diff: 20.808510638297776, prev_div: 13.531243404255747, corrected capture rate: 99.9990%
2024-08-25 16:52:24.254688 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2067.8, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 222, tv_nsec: 601353554 }, values: [0.0, 3.2553507e-5, 0.0, 0.0] })
2024-08-25 16:52:24.254822 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 16:52:25.000013 INFO [src/alsadevice.rs:799] Capture device is stalled, processing is stalled
2024-08-25 16:52:25.000752 DEBUG [src/alsadevice.rs:253] Starting capture from state: SND_PCM_STATE_PREPARED, Ready to start
2024-08-25 16:52:26.257630 DEBUG [/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.21.0/src/handshake/server.rs:285] Server handshake done.
2024-08-25 16:52:26.258030 DEBUG [src/socketserver.rs:522] parsed command: Ok(AdjustVolume(1.0))
2024-08-25 16:52:26.258412 DEBUG [/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.21.0/src/protocol/mod.rs:675] Received close frame: None
2024-08-25 16:52:26.258440 DEBUG [/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.21.0/src/protocol/mod.rs:692] Replying to close with Frame { header: FrameHeader { is_final: true, rsv1: false, rsv2: false, rsv3: false, opcode: Control(Close), mask: None }, payload: [] }
2024-08-25 16:52:26.258469 DEBUG [src/socketserver.rs:522] parsed command: Ok(None)
2024-08-25 16:52:26.258485 DEBUG [src/socketserver.rs:522] Sending no reply
2024-08-25 16:52:26.258526 DEBUG [src/socketserver.rs:522] Connection was closed
2024-08-25 16:52:26.481914 DEBUG [/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.21.0/src/handshake/server.rs:285] Server handshake done.
2024-08-25 16:52:26.482306 DEBUG [src/socketserver.rs:522] parsed command: Ok(AdjustVolume(1.0))
2024-08-25 16:52:26.482534 DEBUG [/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.21.0/src/protocol/mod.rs:675] Received close frame: None
2024-08-25 16:52:26.482566 DEBUG [/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.21.0/src/protocol/mod.rs:692] Replying to close with Frame { header: FrameHeader { is_final: true, rsv1: false, rsv2: false, rsv3: false, opcode: Control(Close), mask: None }, payload: [] }
2024-08-25 16:52:26.482596 DEBUG [src/socketserver.rs:522] parsed command: Ok(None)
2024-08-25 16:52:26.482611 DEBUG [src/socketserver.rs:522] Sending no reply
2024-08-25 16:52:26.482653 DEBUG [src/socketserver.rs:522] Connection was closed
2024-08-25 16:52:26.685683 DEBUG [/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.21.0/src/handshake/server.rs:285] Server handshake done.
2024-08-25 16:52:26.686033 DEBUG [src/socketserver.rs:522] parsed command: Ok(AdjustVolume(1.0))
2024-08-25 16:52:26.686425 DEBUG [/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.21.0/src/protocol/mod.rs:675] Received close frame: None
2024-08-25 16:52:26.686456 DEBUG [/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.21.0/src/protocol/mod.rs:692] Replying to close with Frame { header: FrameHeader { is_final: true, rsv1: false, rsv2: false, rsv3: false, opcode: Control(Close), mask: None }, payload: [] }
2024-08-25 16:52:26.686486 DEBUG [src/socketserver.rs:522] parsed command: Ok(None)
2024-08-25 16:52:26.686501 DEBUG [src/socketserver.rs:522] Sending no reply
2024-08-25 16:52:26.686541 DEBUG [src/socketserver.rs:522] Connection was closed
2024-08-25 16:52:26.782227 WARN [src/alsadevice.rs:138] PB: Prepare playback after buffer underrun
2024-08-25 16:52:26.824758 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2080.8, target delay: 2047, diff: 33.81790129032288, prev_div: 20.808510638297776, corrected capture rate: 99.9980%
2024-08-25 16:52:26.824850 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2080.8, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 225, tv_nsec: 171588995 }, values: [0.0, 3.16169e-5, 0.0, 0.0] })
2024-08-25 16:52:26.825036 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 16:52:28.832504 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2043.5, target delay: 2047, diff: -3.5617029166664906, prev_div: 33.81790129032288, corrected capture rate: 100.0010%
2024-08-25 16:52:28.832659 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2043.5, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 227, tv_nsec: 179332551 }, values: [6.3575106e-5, 0.0, 0.0, 0.0] })
2024-08-25 16:52:28.832716 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 16:52:30.836981 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2066.0, target delay: 2047, diff: 19.052575212765987, prev_div: -3.5617029166664906, corrected capture rate: 99.9980%
2024-08-25 16:52:30.837144 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2066.0, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 229, tv_nsec: 183810150 }, values: [0.0, 0.0, 0.0, 0.0] })
2024-08-25 16:52:30.837222 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 16:52:32.842055 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2073.6, target delay: 2047, diff: 26.55427276595765, prev_div: 19.052575212765987, corrected capture rate: 99.9970%
2024-08-25 16:52:32.842214 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2073.6, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 231, tv_nsec: 188883110 }, values: [0.0, 0.0, 0.0, 0.0] })
2024-08-25 16:52:32.842274 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 16:52:34.846497 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2090.6, target delay: 2047, diff: 43.564940744680825, prev_div: 26.55427276595765, corrected capture rate: 99.9960%
2024-08-25 16:52:34.846653 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2090.6, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 233, tv_nsec: 193325514 }, values: [0.0, 6.495279e-5, 0.0, 0.0] })
2024-08-25 16:52:34.846693 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 16:52:36.854492 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2106.3, target delay: 2047, diff: 59.202982553192214, prev_div: 43.564940744680825, corrected capture rate: 99.9950%
2024-08-25 16:52:36.854641 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2106.3, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 235, tv_nsec: 201320827 }, values: [0.0, 0.0, 0.0, 0.0] })
2024-08-25 16:52:36.854751 DEBUG [src/bin.rs:386] SetSpeed message received
2024-08-25 16:52:38.859568 DEBUG [src/alsadevice_utils.rs:251] Avg. buffer delay: 2084.2, target delay: 2047, diff: 37.129830851064526, prev_div: 59.202982553192214, corrected capture rate: 99.9950%
2024-08-25 16:52:38.859726 DEBUG [src/alsadevice.rs:573] PB: buffer level: 2084.2, signal rms: Some(HistoryRecord { time: Instant { tv_sec: 237, tv_nsec: 206396894 }, values: [0.0, 0.0, 0.0, 0.0] })
2024-08-25 16:52:38.859767 DEBUG [src/bin.rs:386] SetSpeed message received
^C2024-08-25 16:52:39.681302 DEBUG [src/bin.rs:835] Received signal: 2
2024-08-25 16:52:39.681541 INFO [src/bin.rs:868] Shutting down
2024-08-25 16:52:39.681605 DEBUG [src/bin.rs:244] Exit requested...
2024-08-25 16:52:39.690723 DEBUG [src/alsadevice.rs:688] Exit message received, sending EndOfStream
2024-08-25 16:52:39.698515 DEBUG [src/bin.rs:1038] Processing ended with status Ok(Exit)
2024-08-25 16:52:39.698577 DEBUG [src/bin.rs:1048] Exiting
 
IMO the safe value is 75% of buffer size, that is 1.5 of chunksize for v.2 (buffer = 2 chunks) and 3 chunksizes for v.3 (buffer = 4 chunks).
Oops got confused between buffer and chunk size, thanks for the clarification
 
Hi, I am having decent trouble getting CamillaDSP GUI to be accessible and running on a new Ubuntu LTS 24.04 build.

I've checked the IP address, all is correct.
http://my IP address:5000/gui/index.html

DSP

[Unit]
Description=CamillaDSP
After=default.target
StartLimitIntervalSec=10
StartLimitBurst=10

[Service]
Type=simple
User=ubuntu
WorkingDirectory=~
ExecStart=camilladsp -s camilladsp/statefile.yml -w -g-40 -o camilladsp/camilladsp.log -p 1234
Restart=always
RestartSec=1
StandardOutput=journal
StandardError=journal
SyslogIdentifier=camilladsp
CPUSchedulingPolicy=fifo
CPUSchedulingPriority=10

[Install]
WantedBy=default.target

GUI

[Unit]
Description=CamillaDSP Backend and GUI
After=default.target

[Service]
Type=idle
User=ubuntu
WorkingDirectory=~
ExecStart=python3 camilladsp/camillagui/main.py

[Install]
WantedBy=default.target

Any ideas? Is the username different to my Linux Login?

I have completed two fresh installs now. No good either time. Following the instructions verbatim.

Seems DSP and GUI are running, I just can't access the WEB GUI, which is odd.
1724666798302.jpeg
 
Last edited:
Hi, I am having decent trouble getting CamillaDSP GUI to be accessible and running on a new Ubuntu LTS 24.04 build.

I've checked the IP address, all is correct.
http://my IP address:5000/gui/index.html

DSP

[Unit]
Description=CamillaDSP
After=default.target
StartLimitIntervalSec=10
StartLimitBurst=10

[Service]
Type=simple
User=ubuntu
WorkingDirectory=~
ExecStart=camilladsp -s camilladsp/statefile.yml -w -g-40 -o camilladsp/camilladsp.log -p 1234
Restart=always
RestartSec=1
StandardOutput=journal
StandardError=journal
SyslogIdentifier=camilladsp
CPUSchedulingPolicy=fifo
CPUSchedulingPriority=10

[Install]
WantedBy=default.target

GUI

[Unit]
Description=CamillaDSP Backend and GUI
After=default.target

[Service]
Type=idle
User=ubuntu
WorkingDirectory=~
ExecStart=python3 camilladsp/camillagui/main.py

[Install]
WantedBy=default.target

Any ideas? Is the username different to my Linux Login?

I have completed two fresh installs now. No good either time. Following the instructions verbatim.

Seems DSP and GUI are running, I just can't access the WEB GUI, which is odd.
View attachment 388584
Default port is 5005, is 5000 a typo in your post?
 
Back
Top Bottom