That looks like an activity of your specific USB host, there is no code in the gadget which would send a fake rate change with the highest rate.In my setup, immediately after alsa initialisation, camilladsp-setrate always captures a rate change event indicating the greatest sample rate supported by the playback device.
Of course even the first track should send correct samplerate change from 0 to current rate. But it's possible the host had already opened the gadget audio device at that rate before the first track started playing (windows mixer or PA/PW could do that). In any case the initial change from 0 to the the first playback rate should be there.
IMO all users of high-channel long-sample gadget will eventually need that because of the buffer bytes limit, which results in buffer sizes depending on audio frame lengths. E.g. 8ch 32bit would yield 16 * 4kB buffer bytes / 8ch / 4bytes = 2k buffer size which would take 1k chunksize for reasonable performance, regardless the samplerate.But I would really like to know if there are any camilladsp-setrate users interested in this feature.
EDIT: I did not realize the chunksize limit relates to playback side. But if someone wanted to use the opposite direction (for USB capture), then the gadget would be on the playback side. A duplex USB gadget device would be an example.
Nevertheless Henrik is working on improving this situation - adding inner threads to his alsa interfaces which decouple the work with chunks from the soundcard buffers. It's not there yet.
I have just updated the README.md file on github to add a few notes about use of camilladsp-setrate with CamillaDSP v3.1 and later.
In fact, as of CamillaDSP v3.1, the playback device is guaranteed to resume after pause. Therefore the automatic unlocking of CamillaDSP after a temporary unavailability is no longer necessary.
https://github.com/marcoevang/camilladsp-setrate/tree/main
In fact, as of CamillaDSP v3.1, the playback device is guaranteed to resume after pause. Therefore the automatic unlocking of CamillaDSP after a temporary unavailability is no longer necessary.
https://github.com/marcoevang/camilladsp-setrate/tree/main
Last edited:
Do you mean CamaillaDSP v3.0.1, released March 20?
Or, is there a v3.1 beta? (I don't see one in listed in the releases).
Or, is there a v3.1 beta? (I don't see one in listed in the releases).
Yes, I mean CamillaDSP v3.01. Thanks for spotting it out.Do you mean CamaillaDSP v3.0.1, released March 20?
I fixed the version number in the README.md file on github.
https://github.com/marcoevang/camilladsp-setrate
Hi @mevang, I came here through a google search. I am building a streamer based on a Raspberry Pi. I would like to support primarily Airplay (through Shairport-sync) and Plexamp (headless). Perhaps also Roon. This will output to my external USB DAC.
But the key thing I would like to add is a small display acting as a music visualizer.
I've been getting stuck in getting my linux audio configured so that I can monitor the audio stream (for the visualizer) while supporting the dac changing sample rate as needed depending on what I'm playing. Whenever I open a monitor, that locks up the sample rate and the dac stays at whatever it was at when the monitor was opened.
Am I right in understanding that your project could be a solution to my problem? How I understnand it now, I could run CamillaDSP with your program, then connect directly to CamillaDSP for the visualization part (there's a websocket I can read from I think I read), and your script would ensure that CamillaDSP switches the audio device to the proper sample rate based on what is playing.
I'd really appreciate it if you could confirm/deny that this is what your program would work for, to prevent me from going down another rabbit hole.
Thanks!
But the key thing I would like to add is a small display acting as a music visualizer.
I've been getting stuck in getting my linux audio configured so that I can monitor the audio stream (for the visualizer) while supporting the dac changing sample rate as needed depending on what I'm playing. Whenever I open a monitor, that locks up the sample rate and the dac stays at whatever it was at when the monitor was opened.
Am I right in understanding that your project could be a solution to my problem? How I understnand it now, I could run CamillaDSP with your program, then connect directly to CamillaDSP for the visualization part (there's a websocket I can read from I think I read), and your script would ensure that CamillaDSP switches the audio device to the proper sample rate based on what is playing.
I'd really appreciate it if you could confirm/deny that this is what your program would work for, to prevent me from going down another rabbit hole.
Thanks!
I did a mistake and updatetd UBUNTU 23 to 24.04 STL and now CamilaDSP and squeezelite isn't working anymore but REW still works on my Raspberry 5.
Is there any easey Way to fix that or i need to reinstall CamillaDSP from Ground???
I am not an Linux Expert that why i ask?
Is there any easey Way to fix that or i need to reinstall CamillaDSP from Ground???
I am not an Linux Expert that why i ask?
To answer my own question: I don't think this is going to work, unless I misunderstand. Testing with Roon, exposing a Loopback as a Roon endpoint using Roon Bridge, Roon sees the current sample rate of the loopback and automatically downsamples the audio to that sample rate. So I don't think there's anything for camilladsp-setrate to detect here; it will just see the same sample rate coming in as before.
So I think this is a dead end?
So I think this is a dead end?
camilladsp sets the samplerate used by camilladsp to match that of the digital audio being captured by the capture device. I really don't know if this is what you need.So I don't think there's anything for camilladsp-setrate to detect here; it will just see the same sample rate coming in as before.
Last edited:
Try running camilladsp by hand, setting the necessary parameters on the command line. If it does not start, let us know what the system response is. If camilladsp starts, then there may be a problem in the system service that automatically starts camilladsp on boot. To check this, run the following command and let us know the result:Is there any easey Way to fix that or i need to reinstall CamillaDSP from Ground???
Bash:
sudo systemctl status camilladsp
I would suggest you post further questions about camilladsp on the dedicated thread:
https://www.diyaudio.com/community/...ne-for-crossovers-room-correction-etc.349818/
Hello mevang and thank you.
iget this:
frunse@Camilla:~$ sudo systemctl status camilladsp
● camilladsp.service
Loaded: loaded (/usr/lib/systemd/system/camilladsp.service; enabled; preset: enabled)
Active: active (running) since Fri 2025-06-06 23:17:20 CEST; 3 days ago
Main PID: 1019 (camilladsp)
Tasks: 6 (limit: 9068)
Memory: 6.5M (peak: 18.1M)
CPU: 161ms
CGroup: /system.slice/camilladsp.service
└─1019 camilladsp -s camilladsp/statefile.yml -w -o camilladsp/camilladsp.log -p 1234
Jun 06 23:17:20 Camilla systemd[1]: Started camilladsp.service.
Jun 06 23:17:21 Camilla camilladsp[1019]: ALSA lib confmisc.c:165🙁snd_config_get_card) Cannot get card index for UltraLitemk5
Jun 06 23:17:21 Camilla camilladsp[1019]: ALSA lib confmisc.c:165🙁snd_config_get_card) Cannot get card index for GenericStereoAu
if i use aplay -L
i get this:
frunse@Camilla:~$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
default
Default ALSA Output (currently PipeWire Media Server)
both
Dual Motu UL
convert
Dual Motu UL Converted
hw:CARD=Loopback,DEV=0
Loopback, Loopback PCM
Direct hardware device without any conversions
hw:CARD=Loopback,DEV=1
Loopback, Loopback PCM
Direct hardware device without any conversions
plughw:CARD=Loopback,DEV=0
Loopback, Loopback PCM
Hardware device with all software conversions
plughw:CARD=Loopback,DEV=1
Loopback, Loopback PCM
Hardware device with all software conversions
sysdefault:CARD=Loopback
Loopback, Loopback PCM
Default Audio Device
front:CARD=Loopback,DEV=0
Loopback, Loopback PCM
Front output / input
surround21:CARD=Loopback,DEV=0
Loopback, Loopback PCM
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Loopback,DEV=0
Loopback, Loopback PCM
4.0 Surround output to Front and Rear speakers
surround41:CARD=Loopback,DEV=0
Loopback, Loopback PCM
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Loopback,DEV=0
Loopback, Loopback PCM
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Loopback,DEV=0
Loopback, Loopback PCM
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Loopback,DEV=0
Loopback, Loopback PCM
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Loopback,DEV=0
Loopback, Loopback PCM
Direct sample mixing device
dmix:CARD=Loopback,DEV=1
Loopback, Loopback PCM
Direct sample mixing device
hw:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
Direct hardware device without any conversions
plughw:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
Hardware device with all software conversions
sysdefault:CARD=UltraLitemk5
UltraLite-mk5, USB Audio
Default Audio Device
front:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
Front output / input
surround21:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
Direct sample mixing device
hw:CARD=GenericStereoAu,DEV=0
GenericStereoAudioCodec, 1f000a4000.i2s-dit-hifi dit-hifi-0
Direct hardware device without any conversions
plughw:CARD=GenericStereoAu,DEV=0
GenericStereoAudioCodec, 1f000a4000.i2s-dit-hifi dit-hifi-0
Hardware device with all software conversions
sysdefault:CARD=GenericStereoAu
GenericStereoAudioCodec, 1f000a4000.i2s-dit-hifi dit-hifi-0
Default Audio Device
dmix:CARD=GenericStereoAu,DEV=0
GenericStereoAudioCodec, 1f000a4000.i2s-dit-hifi dit-hifi-0
Direct sample mixing device
hw:CARD=vc4hdmi0,DEV=0
vc4-hdmi-0, MAI PCM i2s-hifi-0
Direct hardware device without any conversions
plughw:CARD=vc4hdmi0,DEV=0
vc4-hdmi-0, MAI PCM i2s-hifi-0
Hardware device with all software conversions
sysdefault:CARD=vc4hdmi0
vc4-hdmi-0, MAI PCM i2s-hifi-0
Default Audio Device
hdmi:CARD=vc4hdmi0,DEV=0
vc4-hdmi-0, MAI PCM i2s-hifi-0
HDMI Audio Output
dmix:CARD=vc4hdmi0,DEV=0
vc4-hdmi-0, MAI PCM i2s-hifi-0
Direct sample mixing device
hw:CARD=vc4hdmi1,DEV=0
vc4-hdmi-1, MAI PCM i2s-hifi-0
Direct hardware device without any conversions
plughw:CARD=vc4hdmi1,DEV=0
vc4-hdmi-1, MAI PCM i2s-hifi-0
Hardware device with all software conversions
sysdefault:CARD=vc4hdmi1
vc4-hdmi-1, MAI PCM i2s-hifi-0
Default Audio Device
hdmi:CARD=vc4hdmi1,DEV=0
vc4-hdmi-1, MAI PCM i2s-hifi-0
HDMI Audio Output
dmix:CARD=vc4hdmi1,DEV=0
vc4-hdmi-1, MAI PCM i2s-hifi-0
Direct sample mixing device
Both Cards detected so what the Problem then???
Still can't connect to Camilla GUI wia http://hostname:5005/ (hostname=ip)
Camilla.log
2025-06-10 14:57:51.693891 INFO [src/bin.rs:781] CamillaDSP version 3.0.1
2025-06-10 14:57:51.693920 INFO [src/bin.rs:782] Running on linux, aarch64
2025-06-10 14:57:51.695344 ERROR [src/bin.rs:939] Invalid config file!
pipeline: unknown field
had there something changet??? the configfile is there!!! and "channel" has worked long time??? need to chenge to channels???
My config file!!! a little part
description: No extra Subwoofer
devices:
adjust_period: 10
capture:
channels: 8
device: hw:CARD=GenericStereoAu,DEV=1
format: S32LE
type: Alsa
capture_samplerate: 96000
chunksize: 2048
enable_rate_adjust: null
playback:
channels: 18
device: hw:CARD=UltraLitemk5,DEV=0
format: S24LE3
type: Alsa
queuelimit: 4
rate_measure_interval: 1
resampler: null
samplerate: 96000
silence_threshold: -100
silence_timeout: 5
stop_on_rate_change: false
target_level: 2048
volume_ramp_time: null
.
.
.
"line 364"
pipeline:
- bypassed: null
description: null
name: 8x18
type: Mixer
- bypassed: null
channel: 0
description: Front Left Tweeter
names:
- Motu 1 ADAT Delay
- HT Delay
- HT negativ gain
- HT _Highpass_96dB_FL
- 2 Way nagative gain Main
- 2 Way Delay
type: Filter
- bypassed: null
channel: 1
description: Front Right Tweeter
names:
- Motu 1 ADAT Delay
- HT Delay
- HT negativ gain
- HT_Highpass_96dB_FR
- 2 Way nagative gain Main
- 2 Way Delay
type: Filter
Changet channel to channels but got this error:
2025-06-10 15:12:51.687554 INFO [src/bin.rs:781] CamillaDSP version 3.0.1
2025-06-10 15:12:51.687574 INFO [src/bin.rs:782] Running on linux, aarch64
2025-06-10 15:12:51.688839 ERROR [src/bin.rs:939] Invalid config file!
pipeline: invalid type: integer
Now i am a bit confused whats going on here??
iget this:
frunse@Camilla:~$ sudo systemctl status camilladsp
● camilladsp.service
Loaded: loaded (/usr/lib/systemd/system/camilladsp.service; enabled; preset: enabled)
Active: active (running) since Fri 2025-06-06 23:17:20 CEST; 3 days ago
Main PID: 1019 (camilladsp)
Tasks: 6 (limit: 9068)
Memory: 6.5M (peak: 18.1M)
CPU: 161ms
CGroup: /system.slice/camilladsp.service
└─1019 camilladsp -s camilladsp/statefile.yml -w -o camilladsp/camilladsp.log -p 1234
Jun 06 23:17:20 Camilla systemd[1]: Started camilladsp.service.
Jun 06 23:17:21 Camilla camilladsp[1019]: ALSA lib confmisc.c:165🙁snd_config_get_card) Cannot get card index for UltraLitemk5
Jun 06 23:17:21 Camilla camilladsp[1019]: ALSA lib confmisc.c:165🙁snd_config_get_card) Cannot get card index for GenericStereoAu
if i use aplay -L
i get this:
frunse@Camilla:~$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
default
Default ALSA Output (currently PipeWire Media Server)
both
Dual Motu UL
convert
Dual Motu UL Converted
hw:CARD=Loopback,DEV=0
Loopback, Loopback PCM
Direct hardware device without any conversions
hw:CARD=Loopback,DEV=1
Loopback, Loopback PCM
Direct hardware device without any conversions
plughw:CARD=Loopback,DEV=0
Loopback, Loopback PCM
Hardware device with all software conversions
plughw:CARD=Loopback,DEV=1
Loopback, Loopback PCM
Hardware device with all software conversions
sysdefault:CARD=Loopback
Loopback, Loopback PCM
Default Audio Device
front:CARD=Loopback,DEV=0
Loopback, Loopback PCM
Front output / input
surround21:CARD=Loopback,DEV=0
Loopback, Loopback PCM
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Loopback,DEV=0
Loopback, Loopback PCM
4.0 Surround output to Front and Rear speakers
surround41:CARD=Loopback,DEV=0
Loopback, Loopback PCM
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Loopback,DEV=0
Loopback, Loopback PCM
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Loopback,DEV=0
Loopback, Loopback PCM
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Loopback,DEV=0
Loopback, Loopback PCM
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Loopback,DEV=0
Loopback, Loopback PCM
Direct sample mixing device
dmix:CARD=Loopback,DEV=1
Loopback, Loopback PCM
Direct sample mixing device
hw:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
Direct hardware device without any conversions
plughw:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
Hardware device with all software conversions
sysdefault:CARD=UltraLitemk5
UltraLite-mk5, USB Audio
Default Audio Device
front:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
Front output / input
surround21:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=UltraLitemk5,DEV=0
UltraLite-mk5, USB Audio
Direct sample mixing device
hw:CARD=GenericStereoAu,DEV=0
GenericStereoAudioCodec, 1f000a4000.i2s-dit-hifi dit-hifi-0
Direct hardware device without any conversions
plughw:CARD=GenericStereoAu,DEV=0
GenericStereoAudioCodec, 1f000a4000.i2s-dit-hifi dit-hifi-0
Hardware device with all software conversions
sysdefault:CARD=GenericStereoAu
GenericStereoAudioCodec, 1f000a4000.i2s-dit-hifi dit-hifi-0
Default Audio Device
dmix:CARD=GenericStereoAu,DEV=0
GenericStereoAudioCodec, 1f000a4000.i2s-dit-hifi dit-hifi-0
Direct sample mixing device
hw:CARD=vc4hdmi0,DEV=0
vc4-hdmi-0, MAI PCM i2s-hifi-0
Direct hardware device without any conversions
plughw:CARD=vc4hdmi0,DEV=0
vc4-hdmi-0, MAI PCM i2s-hifi-0
Hardware device with all software conversions
sysdefault:CARD=vc4hdmi0
vc4-hdmi-0, MAI PCM i2s-hifi-0
Default Audio Device
hdmi:CARD=vc4hdmi0,DEV=0
vc4-hdmi-0, MAI PCM i2s-hifi-0
HDMI Audio Output
dmix:CARD=vc4hdmi0,DEV=0
vc4-hdmi-0, MAI PCM i2s-hifi-0
Direct sample mixing device
hw:CARD=vc4hdmi1,DEV=0
vc4-hdmi-1, MAI PCM i2s-hifi-0
Direct hardware device without any conversions
plughw:CARD=vc4hdmi1,DEV=0
vc4-hdmi-1, MAI PCM i2s-hifi-0
Hardware device with all software conversions
sysdefault:CARD=vc4hdmi1
vc4-hdmi-1, MAI PCM i2s-hifi-0
Default Audio Device
hdmi:CARD=vc4hdmi1,DEV=0
vc4-hdmi-1, MAI PCM i2s-hifi-0
HDMI Audio Output
dmix:CARD=vc4hdmi1,DEV=0
vc4-hdmi-1, MAI PCM i2s-hifi-0
Direct sample mixing device
Both Cards detected so what the Problem then???
Still can't connect to Camilla GUI wia http://hostname:5005/ (hostname=ip)
Camilla.log
2025-06-10 14:57:51.693891 INFO [src/bin.rs:781] CamillaDSP version 3.0.1
2025-06-10 14:57:51.693920 INFO [src/bin.rs:782] Running on linux, aarch64
2025-06-10 14:57:51.695344 ERROR [src/bin.rs:939] Invalid config file!
pipeline: unknown field
channel
, expected one of channels
, names
, description
, bypassed
at line 364 column 1had there something changet??? the configfile is there!!! and "channel" has worked long time??? need to chenge to channels???
My config file!!! a little part
description: No extra Subwoofer
devices:
adjust_period: 10
capture:
channels: 8
device: hw:CARD=GenericStereoAu,DEV=1
format: S32LE
type: Alsa
capture_samplerate: 96000
chunksize: 2048
enable_rate_adjust: null
playback:
channels: 18
device: hw:CARD=UltraLitemk5,DEV=0
format: S24LE3
type: Alsa
queuelimit: 4
rate_measure_interval: 1
resampler: null
samplerate: 96000
silence_threshold: -100
silence_timeout: 5
stop_on_rate_change: false
target_level: 2048
volume_ramp_time: null
.
.
.
"line 364"
pipeline:
- bypassed: null
description: null
name: 8x18
type: Mixer
- bypassed: null
channel: 0
description: Front Left Tweeter
names:
- Motu 1 ADAT Delay
- HT Delay
- HT negativ gain
- HT _Highpass_96dB_FL
- 2 Way nagative gain Main
- 2 Way Delay
type: Filter
- bypassed: null
channel: 1
description: Front Right Tweeter
names:
- Motu 1 ADAT Delay
- HT Delay
- HT negativ gain
- HT_Highpass_96dB_FR
- 2 Way nagative gain Main
- 2 Way Delay
type: Filter
Changet channel to channels but got this error:
2025-06-10 15:12:51.687554 INFO [src/bin.rs:781] CamillaDSP version 3.0.1
2025-06-10 15:12:51.687574 INFO [src/bin.rs:782] Running on linux, aarch64
2025-06-10 15:12:51.688839 ERROR [src/bin.rs:939] Invalid config file!
pipeline: invalid type: integer
0
, expected a sequence at line 364 column 1Now i am a bit confused whats going on here??
Last edited:
In the config file you,set "hw:CARD=GenericStereoAu,DEV=1" as capture device, but actually the device registered by your system is "hw:CARD=GenericStereoAu,DEV=0". The device number may change across a reboot or a system update, so do not specify it as it is not necessary. Setting "hw:CARD=GenericStereoAu" will work.Both Cards detected so what the Problem then???
Concerning the playback device, you have to make sure that the device is registered in the system before camilladsp starts (this also applies to squeezelite).
I would suggest to double check the syntax required by your version of camilladsp.
A simple way to solve the syntax problem, is to configure the pipeline in CamillaGUI and then save the configuration to a file.
Now i used an default config from github and camilla is running:
frunse@Camilla:~$ sudo systemctl status camilladsp
● camilladsp.service
Loaded: loaded (/usr/lib/systemd/system/camilladsp.service; enabled; preset: enabled)
Active: active (running) since Tue 2025-06-10 16:02:51 CEST; 1min 50s ago
Main PID: 9882 (camilladsp)
Tasks: 9 (limit: 9063)
Memory: 1.9M (peak: 2.8M)
CPU: 8.739s
CGroup: /system.slice/camilladsp.service
└─9882 camilladsp -s camilladsp/statefile.yml -w -o camilladsp/camilladsp.log -p 1234
Jun 10 16:02:51 Camilla systemd[1]: camilladsp.service: Scheduled restart job, restart counter is at 707.
Jun 10 16:02:51 Camilla systemd[1]: Started camilladsp.service.
No error here but cant connect to the gui still
I updatedt camillaDSP aswell CamillaGUI to the newest version 3.01
frunse@Camilla:~$ sudo service camillagui status
× camillagui.service - CamillaDSP Backend and GUI
Loaded: loaded (/usr/lib/systemd/system/camillagui.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Tue 2025-06-10 16:13:35 CEST; 57s ago
Duration: 376ms
Process: 12019 ExecStart=python3 camilladsp/camillagui/main.py (code=exited, status=1/FAILURE)
Main PID: 12019 (code=exited, status=1/FAILURE)
CPU: 364ms
Jun 10 16:13:35 Camilla systemd[1]: Started camillagui.service - CamillaDSP Backend and GUI.
Jun 10 16:13:35 Camilla python3[12019]: Traceback (most recent call last):
Jun 10 16:13:35 Camilla python3[12019]: File "/home/frunse/camilladsp/camillagui/main.py", line 5, in <module>
Jun 10 16:13:35 Camilla python3[12019]: import camilladsp
Jun 10 16:13:35 Camilla python3[12019]: ModuleNotFoundError: No module named 'camilladsp'
Jun 10 16:13:35 Camilla systemd[1]: camillagui.service: Main process exited, code=exited, status=1/FAILURE
Jun 10 16:13:35 Camilla systemd[1]: camillagui.service: Failed with result 'exit-code'.
There is an error need to check this....module not found ????
frunse@Camilla:~$ sudo service camilladsp status
● camilladsp.service
Loaded: loaded (/usr/lib/systemd/system/camilladsp.service; enabled; preset: enabled)
Active: active (running) since Tue 2025-06-10 16:02:51 CEST; 18min ago
Main PID: 9882 (camilladsp)
Tasks: 9 (limit: 9063)
Memory: 2.0M (peak: 2.8M)
CPU: 1min 27.057s
CGroup: /system.slice/camilladsp.service
└─9882 camilladsp -s camilladsp/statefile.yml -w -o camilladsp/camilladsp.log -p 1234
Jun 10 16:02:51 Camilla systemd[1]: camilladsp.service: Scheduled restart job, restart counter is at 707.
Jun 10 16:02:51 Camilla systemd[1]: Started camilladsp.service.
camilladsp is running whats wrong with camillagui???
ModuleNotFoundError: No module named 'camilladsp'
frunse@Camilla:~$ sudo systemctl status camilladsp
● camilladsp.service
Loaded: loaded (/usr/lib/systemd/system/camilladsp.service; enabled; preset: enabled)
Active: active (running) since Tue 2025-06-10 16:02:51 CEST; 1min 50s ago
Main PID: 9882 (camilladsp)
Tasks: 9 (limit: 9063)
Memory: 1.9M (peak: 2.8M)
CPU: 8.739s
CGroup: /system.slice/camilladsp.service
└─9882 camilladsp -s camilladsp/statefile.yml -w -o camilladsp/camilladsp.log -p 1234
Jun 10 16:02:51 Camilla systemd[1]: camilladsp.service: Scheduled restart job, restart counter is at 707.
Jun 10 16:02:51 Camilla systemd[1]: Started camilladsp.service.
No error here but cant connect to the gui still
I updatedt camillaDSP aswell CamillaGUI to the newest version 3.01
frunse@Camilla:~$ sudo service camillagui status
× camillagui.service - CamillaDSP Backend and GUI
Loaded: loaded (/usr/lib/systemd/system/camillagui.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Tue 2025-06-10 16:13:35 CEST; 57s ago
Duration: 376ms
Process: 12019 ExecStart=python3 camilladsp/camillagui/main.py (code=exited, status=1/FAILURE)
Main PID: 12019 (code=exited, status=1/FAILURE)
CPU: 364ms
Jun 10 16:13:35 Camilla systemd[1]: Started camillagui.service - CamillaDSP Backend and GUI.
Jun 10 16:13:35 Camilla python3[12019]: Traceback (most recent call last):
Jun 10 16:13:35 Camilla python3[12019]: File "/home/frunse/camilladsp/camillagui/main.py", line 5, in <module>
Jun 10 16:13:35 Camilla python3[12019]: import camilladsp
Jun 10 16:13:35 Camilla python3[12019]: ModuleNotFoundError: No module named 'camilladsp'
Jun 10 16:13:35 Camilla systemd[1]: camillagui.service: Main process exited, code=exited, status=1/FAILURE
Jun 10 16:13:35 Camilla systemd[1]: camillagui.service: Failed with result 'exit-code'.
There is an error need to check this....module not found ????
frunse@Camilla:~$ sudo service camilladsp status
● camilladsp.service
Loaded: loaded (/usr/lib/systemd/system/camilladsp.service; enabled; preset: enabled)
Active: active (running) since Tue 2025-06-10 16:02:51 CEST; 18min ago
Main PID: 9882 (camilladsp)
Tasks: 9 (limit: 9063)
Memory: 2.0M (peak: 2.8M)
CPU: 1min 27.057s
CGroup: /system.slice/camilladsp.service
└─9882 camilladsp -s camilladsp/statefile.yml -w -o camilladsp/camilladsp.log -p 1234
Jun 10 16:02:51 Camilla systemd[1]: camilladsp.service: Scheduled restart job, restart counter is at 707.
Jun 10 16:02:51 Camilla systemd[1]: Started camilladsp.service.
camilladsp is running whats wrong with camillagui???
ModuleNotFoundError: No module named 'camilladsp'
Last edited:
Is camillaGUI server started?No error here but cant connect to the gui still
May I remind you that on the thread dedicated to camilladsp you may have more knowledgeable support.
no look above camilladsp running but camillagui dont want to start because didn't find camilladsp ???
Seems that my Python isn't installed probably.
i cant install python-yaml
frunse@Camilla:~$ sudo apt-get install python-yaml
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-yaml is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python-yaml' has no installation candidate
frunse@Camilla:~$ python3 --version
Python 3.12.3
Seems that my Python isn't installed probably.
i cant install python-yaml
frunse@Camilla:~$ sudo apt-get install python-yaml
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-yaml is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python-yaml' has no installation candidate
frunse@Camilla:~$ python3 --version
Python 3.12.3
Last edited:
frunse@Camilla:~$ sudo service camilladsp status
● camilladsp.service
Loaded: loaded (/usr/lib/systemd/system/camilladsp.service; enabled; preset: enabled)
Active: active (running) since Tue 2025-06-10 16:56:29 CEST; 1min 15s ago
Main PID: 6254 (camilladsp)
Tasks: 9 (limit: 9063)
Memory: 2.0M (peak: 2.7M)
CPU: 5.933s
CGroup: /system.slice/camilladsp.service
└─6254 camilladsp -s camilladsp/statefile.yml -w -o camilladsp/camilladsp.log -p 1234
Jun 10 16:56:29 Camilla systemd[1]: Started camilladsp.service.
CamillaDSP is running right?? and no errors!!!
But
frunse@Camilla:~$ sudo service camillagui status
× camillagui.service - CamillaDSP Backend and GUI
Loaded: loaded (/usr/lib/systemd/system/camillagui.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Tue 2025-06-10 16:58:52 CEST; 5s ago
Duration: 392ms
Process: 6752 ExecStart=python3 camilladsp/camillagui/main.py (code=exited, status=1/FAILURE)
Main PID: 6752 (code=exited, status=1/FAILURE)
CPU: 378ms
Jun 10 16:58:51 Camilla systemd[1]: Started camillagui.service - CamillaDSP Backend and GUI.
Jun 10 16:58:51 Camilla python3[6752]: Traceback (most recent call last):
Jun 10 16:58:51 Camilla python3[6752]: File "/home/frunse/camilladsp/camillagui/main.py", line 5, in <module>
Jun 10 16:58:51 Camilla python3[6752]: import camilladsp
Jun 10 16:58:51 Camilla python3[6752]: ModuleNotFoundError: No module named 'camilladsp'
Jun 10 16:58:52 Camilla systemd[1]: camillagui.service: Main process exited, code=exited, status=1/FAILURE
Jun 10 16:58:52 Camilla systemd[1]: camillagui.service: Failed with result 'exit-code'.
Camilla GUI
Will not start!!!
● camilladsp.service
Loaded: loaded (/usr/lib/systemd/system/camilladsp.service; enabled; preset: enabled)
Active: active (running) since Tue 2025-06-10 16:56:29 CEST; 1min 15s ago
Main PID: 6254 (camilladsp)
Tasks: 9 (limit: 9063)
Memory: 2.0M (peak: 2.7M)
CPU: 5.933s
CGroup: /system.slice/camilladsp.service
└─6254 camilladsp -s camilladsp/statefile.yml -w -o camilladsp/camilladsp.log -p 1234
Jun 10 16:56:29 Camilla systemd[1]: Started camilladsp.service.
CamillaDSP is running right?? and no errors!!!
But
frunse@Camilla:~$ sudo service camillagui status
× camillagui.service - CamillaDSP Backend and GUI
Loaded: loaded (/usr/lib/systemd/system/camillagui.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Tue 2025-06-10 16:58:52 CEST; 5s ago
Duration: 392ms
Process: 6752 ExecStart=python3 camilladsp/camillagui/main.py (code=exited, status=1/FAILURE)
Main PID: 6752 (code=exited, status=1/FAILURE)
CPU: 378ms
Jun 10 16:58:51 Camilla systemd[1]: Started camillagui.service - CamillaDSP Backend and GUI.
Jun 10 16:58:51 Camilla python3[6752]: Traceback (most recent call last):
Jun 10 16:58:51 Camilla python3[6752]: File "/home/frunse/camilladsp/camillagui/main.py", line 5, in <module>
Jun 10 16:58:51 Camilla python3[6752]: import camilladsp
Jun 10 16:58:51 Camilla python3[6752]: ModuleNotFoundError: No module named 'camilladsp'
Jun 10 16:58:52 Camilla systemd[1]: camillagui.service: Main process exited, code=exited, status=1/FAILURE
Jun 10 16:58:52 Camilla systemd[1]: camillagui.service: Failed with result 'exit-code'.
Camilla GUI
Will not start!!!
Ok moved there thxIs camillaGUI server started?
May I remind you that on the thread dedicated to camilladsp you may have more knowledgeable support.
- Home
- Source & Line
- PC Based
- Sample rate switcher for CamillaDSP