• 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!

CDSP V3 beta doesn't start on Fedora 40 (SOLVED); crashes on Win 7

atomant

Member
Joined
Sep 8, 2024
Messages
64
Likes
8
Hi

Not sure it's the proper place to discuss this. Noticed the beta version and gave it a try.

Code:
$ journalctl --user-unit=camilladsp --user-unit=camillagui -e --no-hostname
oct 15 09:56:35 systemd[2798]: camilladsp.service: Failed with result 'exit-code'.
oct 15 09:56:35 systemd[2798]: Failed to start camilladsp.service - CamillaDSP Service.
oct 15 09:57:10 python3[41144]: ERROR:aiohttp.server:Error handling request
oct 15 09:57:10 python3[41144]: Traceback (most recent call last):
oct 15 09:57:10 python3[41144]:   File "/usr/lib64/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
oct 15 09:57:10 python3[41144]:     resp = await request_handler(request)
oct 15 09:57:10 python3[41144]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
oct 15 09:57:10 python3[41144]:   File "/usr/lib64/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
oct 15 09:57:10 python3[41144]:     resp = await handler(request)
oct 15 09:57:10 python3[41144]:            ^^^^^^^^^^^^^^^^^^^^^^
oct 15 09:57:10 python3[41144]:   File "/opt/camillagui/backend/views.py", line 401, in get_config_file
oct 15 09:57:10 python3[41144]:     read_yaml_from_path_to_object(request, config_file), config_dir
oct 15 09:57:10 python3[41144]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
oct 15 09:57:10 python3[41144]:   File "/opt/camillagui/backend/filemanagement.py", line 128, in read_yaml_from_path_to_object
oct 15 09:57:10 python3[41144]:     validator.validate_file(path)
oct 15 09:57:10 python3[41144]:   File "/home/shizuma/.local/lib/python3.12/site-packages/camilladsp_plot/validate_config.py", line 186, in validate_file
oct 15 09:57:10 python3[41144]:     self._validate_config()
oct 15 09:57:10 python3[41144]:   File "/home/shizuma/.local/lib/python3.12/site-packages/camilladsp_plot/validate_config.py", line 218, in _validate_config
oct 15 09:57:10 python3[41144]:     self.validate_with_schemas()
oct 15 09:57:10 python3[41144]:   File "/home/shizuma/.local/lib/python3.12/site-packages/camilladsp_plot/validate_config.py", line 255, in validate_with_schem>
oct 15 09:57:10 python3[41144]:     self.validate(self.config["devices"],
oct 15 09:57:10 python3[41144]:                   ~~~~~~~~~~~^^^^^^^^^^^
oct 15 09:57:10 python3[41144]: KeyError: 'devices'
oct 15 09:57:10 python3[41144]: ERROR:aiohttp.server:Error handling request
oct 15 09:57:10 python3[41144]: Traceback (most recent call last):
oct 15 09:57:10 python3[41144]:   File "/usr/lib64/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
oct 15 09:57:10 python3[41144]:     resp = await request_handler(request)
oct 15 09:57:10 python3[41144]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
oct 15 09:57:10 python3[41144]:   File "/usr/lib64/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
oct 15 09:57:10 python3[41144]:     resp = await handler(request)
oct 15 09:57:10 python3[41144]:            ^^^^^^^^^^^^^^^^^^^^^^
oct 15 09:57:10 python3[41144]:   File "/opt/camillagui/backend/views.py", line 305, in set_config
oct 15 09:57:10 python3[41144]:     config_object = json["config"]
oct 15 09:57:10 python3[41144]:                     ~~~~^^^^^^^^^^
oct 15 09:57:10 python3[41144]: KeyError: 'config'

Am in the process of upgrading the config after perusing https://github.com/HEnquist/camilladsp/compare/v2.0.3...v3.0.0-beta.1

Code:
~/.config/.camilladsp/v3$ diff -ubB ../90deg-surround.yml .
--- ../90deg-surround.yml    2024-10-15 09:22:12.247173449 -0400
+++ ./90deg-surround.yml    2024-10-15 10:49:24.877634476 -0400
@@ -76,42 +76,42 @@
     description: null
     parameters:
       channel: 0
-      filename: ../../rewfiles/CMI8738/7_oct_730hz_fc_lfe_win2-$samplerate$.wav
+      filename: ../../../rewfiles/CMI8738/7_oct_730hz_fc_lfe_win2-$samplerate$.wav
       type: Wav
     type: Conv
   fir_fl:
     description: null
     parameters:
       channel: 0
-      filename: ../../rewfiles/CMI8738/7_oct_730hz_front_win2-$samplerate$.wav
+      filename: ../../../rewfiles/CMI8738/7_oct_730hz_front_win2-$samplerate$.wav
       type: Wav
     type: Conv
   fir_fr:
     description: null
     parameters:
       channel: 1
-      filename: ../../rewfiles/CMI8738/7_oct_730hz_front_win2-$samplerate$.wav
+      filename: ../../../rewfiles/CMI8738/7_oct_730hz_front_win2-$samplerate$.wav
       type: Wav
     type: Conv
   fir_lfe:
     description: null
     parameters:
       channel: 1
-      filename: ../../rewfiles/CMI8738/7_oct_730hz_fc_lfe_win2-$samplerate$.wav
+      filename: ../../../rewfiles/CMI8738/7_oct_730hz_fc_lfe_win2-$samplerate$.wav
       type: Wav
     type: Conv
   fir_rl:
     description: null
     parameters:
       channel: 0
-      filename: ../../rewfiles/CMI8738/7_oct_730hz_rear_win2-$samplerate$.wav
+      filename: ../../../rewfiles/CMI8738/7_oct_730hz_rear_win2-$samplerate$.wav
       type: Wav
     type: Conv
   fir_rr:
     description: null
     parameters:
       channel: 1
-      filename: ../../rewfiles/CMI8738/7_oct_730hz_rear_win2-$samplerate$.wav
+      filename: ../../../rewfiles/CMI8738/7_oct_730hz_rear_win2-$samplerate$.wav
       type: Wav
     type: Conv
   highpass:
@@ -240,14 +240,14 @@
   name: stereo
   type: Mixer
 - bypassed: null
-  channel: 0
+  channels: [0]
   description: null
   names:
   - delay_l
   - fir_fl
   type: Filter
 - bypassed: null
-  channel: 1
+  channels: [1]
   description: null
   names:
   - delay_r
@@ -257,14 +257,14 @@
   - fir_fr
   type: Filter
 - bypassed: null
-  channel: 2
+  channels: [2]
   description: null
   names:
   - delay_rl
   - fir_rl
   type: Filter
 - bypassed: null
-  channel: 3
+  channels: [3]
   description: null
   names:
   - delay_rr
@@ -274,14 +274,14 @@
   - fir_rr
   type: Filter
 - bypassed: null
-  channel: 4
+  channels: [4]
   description: null
   names:
   - delay_c
   - fir_fc
   type: Filter
 - bypassed: null
-  channel: 5
+  channels: [5]
   description: null
   names:
   - delay_lfe

After migrating the config I gave it a try on linux and not a sound is getting out of it. Camillagui shows activity on all channels, all in the red though. Something must have been changed with the gain settings.
It's OK, I had to tell pavucontrol to direct the camilla output to the sound card.

Additionally camillagui doesn't understand the new pipeline config.
It's OK, just noticed https://github.com/HEnquist/camillagui-backend/compare/v2.1.1...v3.0.0-beta.4

Code:
$ cat ../camilladsp.log
2024-10-15 11:03:09.610436 INFO  [src/bin.rs:781] CamillaDSP version 3.0.0
2024-10-15 11:03:09.610457 INFO  [src/bin.rs:782] Running on linux, x86_64
2024-10-15 11:03:09.670067 INFO  [src/alsadevice.rs:789] Capture device supports rate adjust
2024-10-15 11:03:09.717634 INFO  [src/alsadevice.rs:117] PB: Starting playback from Prepared state
2024-10-15 11:03:46.084383 WARN  [src/conversions.rs:66] Clipping detected, 243 samples clipped, peak +0.77 dB (109.3%)
2024-10-15 11:03:46.127191 WARN  [src/conversions.rs:66] Clipping detected, 433 samples clipped, peak +1.42 dB (117.8%)
2024-10-15 11:03:46.170635 WARN  [src/conversions.rs:66] Clipping detected, 487 samples clipped, peak +1.84 dB (123.6%)
2024-10-15 11:03:46.255193 WARN  [src/conversions.rs:66] Clipping detected, 558 samples clipped, peak +4.00 dB (158.6%)

Killing the process and restarting CDSP v2 resulted in the mp3 file under test continuing to be played at normal volume level.

Almost there:

Code:
$ systemctl --user status camilladsp camillagui
● camilladsp.service - CamillaDSP Service
     Loaded: loaded (/etc/xdg/systemd/user/camilladsp.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Tue 2024-10-15 12:40:24 EDT; 7s ago
   Main PID: 240584 (camilladsp3)
      Tasks: 12 (limit: 37191)
     Memory: 20.4M (peak: 20.8M)
        CPU: 674ms
     CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/camilladsp.service
             └─240584 /usr/local/bin/camilladsp3 -p1234 -w -o /home/shizuma/.config/.camilladsp/camilladsp.log -s /home/shizuma/.config/.camilladsp/statefile.y>

oct 15 12:40:24 shizuma systemd[2885]: Started camilladsp.service - CamillaDSP Service.

● camillagui.service - CamillaDSP Backend and GUI
     Loaded: loaded (/etc/xdg/systemd/user/camillagui.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Tue 2024-10-15 12:40:24 EDT; 7s ago
   Main PID: 240585 (python3)
      Tasks: 1 (limit: 37191)
     Memory: 34.0M (peak: 34.5M)
        CPU: 703ms
     CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/camillagui.service
             └─240585 /usr/bin/python3 /opt/camillaguiv3/main.py

oct 15 12:40:32 shizuma python3[240585]:   File "/usr/lib64/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
oct 15 12:40:32 shizuma python3[240585]:     resp = await request_handler(request)
oct 15 12:40:32 shizuma python3[240585]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
oct 15 12:40:32 shizuma python3[240585]:   File "/usr/lib64/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
oct 15 12:40:32 shizuma python3[240585]:     resp = await handler(request)
oct 15 12:40:32 shizuma python3[240585]:            ^^^^^^^^^^^^^^^^^^^^^^
oct 15 12:40:32 shizuma python3[240585]:   File "/opt/camillaguiv3/backend/views.py", line 166, in get_param
oct 15 12:40:32 shizuma python3[240585]:     result = cdsp.volume.main_mute()
oct 15 12:40:32 shizuma python3[240585]:              ^^^^^^^^^^^^^^^^^^^^^
oct 15 12:40:32 shizuma python3[240585]: AttributeError: 'Volume' object has no attribute 'main_mute'

Capture d’écran du 2024-10-16 08-51-59.png
End of test. Install successful.


Crashes on Windows 7.
That's all the info I could gather:

Clipboard01.jpg

Willing to do any test you might find useful.
 
Last edited:
Back
Top Bottom