Moode Forum
[SOLVED] Resets camilladsp playback device channels - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [SOLVED] Resets camilladsp playback device channels (/showthread.php?tid=7354)



Resets camilladsp playback device channels - ma00aem - 01-26-2025

Hi! I have a problem with moode audio that i can´t solve. When i restart moode audio i have a problem that shows :Failed to open audio output. When i go to check what is wrong i can see that my config has errors that the Pipeline outputs 8 channels, playback device has 2. When i go to camilladsp i can change the channes from two to eight and evertying works. I save and i can play audio, but when i restart i have the same problem. I have attached a video. What is wrong? I have noticed that i choose the same config file under camilladsp settings in moode audio both under General>Signal processing and under File managment>configuration. Is that right?

https://youtu.be/zRGqwDwmY-g

This is the yaml file for the camilladsp

Code:
description: An example of a simple 2-way crossover
devices:
 adjust_period: null
 capture:
   channels: 2
   extra_samples: null
   filename: /dev/stdin
   format: S32LE
   read_bytes: null
   skip_bytes: null
   type: File
 capture_samplerate: null
 chunksize: 1024
 enable_rate_adjust: null
 playback:
   channels: 8
   device: plughw:0,0
   format: S32LE
   type: Alsa
 queuelimit: null
 rate_measure_interval: null
 samplerate: 44100
 silence_threshold: null
 silence_timeout: null
 stop_on_rate_change: null
 target_level: null
 volume_ramp_time: 150
filters:
 bafflestep:
   description: Baffle step compensation
   parameters:
     freq: 500
     gain: -4
     slope: 6
     type: Highshelf
   type: Biquad
 highpass2k:
   description: 2nd order highpass crossover
   parameters:
     freq: 2000
     q: 0.707
     type: Highpass
   type: Biquad
 lowpass2k:
   description: 2nd order lowpass crossover
   parameters:
     freq: 2000
     q: 0.707
     type: Lowpass
   type:   tweeterdelay:
   description: Time alignment for tweeters
   parameters:
     delay: 0.5
     subsample: null
     unit: ms
   type: Delay
mixers:
 to4chan:
   channels:
     in: 2
     out: 8
   description: Expand 2 channels to 8
   mapping:
   - dest: 0
     mute: null
     sources:
     - channel: 0
       gain: 0
       inverted: false
       mute: null
       scale: null
   - dest: 1
     mute: null
     sources:
     - channel: 1
       gain: 0
       inverted: false
       mute: null
       scale: null
   - dest: 2
     mute: null
     sources:
     - channel: 0
       gain: -5
       inverted: false
       mute: null
       scale: null
   - dest: 3
     mute: null
     sources:
     - channel: 1
       gain: -5
       inverted: false
       mute: null
       scale: null

   - dest: 4
     mute: true
     sources:
     - channel: 1
       gain: -5
       inverted: false
       mute: null
       scale: null
   - dest: 5
     mute: true
     sources:
     - channel: 1
       gain: -5
       inverted: false
       mute: null
       scale: null
   - dest: 6
     mute: true
     sources:
     - channel: 1
       gain: -5
       inverted: false
       mute: null
       scale: null
   - dest: 7
     mute: true
     sources:
     - channel: 1
       gain: -5
       inverted: false
       mute: null
       scale: null
pipeline:
- bypassed: null
 channel: 0
 description: Pre-mixer filters left
 names:
 - bafflestep
 type: Filter
- bypassed: null
 channel: 1
 description: Pre-mixer filters right
 names:
 - bafflestep
 type: Filter
- bypassed: null
 description: null
 name: to4chan
 type: Mixer
- bypassed: null
 channel: 2
 description: Highpass for left tweeter
 names:
 - highpass2k
 - tweeterdelay
 type: Filter
- bypassed: null
 channel: 3
 description: Highpass for right tweeter
 names:
 - highpass2k
 - tweeterdelay
 type: Filter
- bypassed: null
 channel: 0
 description: Lowpass for left woofer
 names:
 - lowpass2k
 type: Filter
- bypassed: null
 channel: 1
 description: Lowpass for right woofer
 names:
 - lowpass2k
 type: Filter
processors: null
title: Example crossover



RE: Resets camilladsp olayback device channels - Tim Curtis - 01-26-2025

Reboot and then post the contents of the startup log.

The log can be viewed via the SSH command moodeutl -l or downloaded via the Logs section in System Config, or via Menu, System info from any of the Config screens. The startup log will be at the end of System info output.


RE: Resets camilladsp olayback device channels - ma00aem - 01-26-2025

Code:
20250126 204746 worker: --
20250126 204747 worker: -- Start moOde 9 series
20250126 204747 worker: --
20250126 204747 worker: Daemonize:     complete
20250126 204747 worker: Linux startup: complete
20250126 204747 worker: Boot config:   ok
20250126 204747 worker: Boot folder:   ok
20250126 204747 worker: Radio table:   ok
20250126 204748 worker: PHP session:   cleaned
20250126 204748 worker: PHP session:   loaded
20250126 204750 worker: Package locks: applied
20250126 204750 worker: File check:    complete
20250126 204750 worker: Log to RAM:    on
20250126 204750 worker: Debug logging: off
20250126 204750 worker: --
20250126 204750 worker: -- System
20250126 204750 worker: --
20250126 204751 worker: Host name:     moode
20250126 204751 worker: RPi model:     Pi-5B 1.0 4GB
20250126 204751 worker: moOde release: 9.2.2 2025-01-08
20250126 204751 worker: RaspiOS:       12.8 Bookworm 64-bit
20250126 204751 worker: Linux Kernel:  15 64-bit
20250126 204751 worker: MPD version:   0.23.14
20250126 204751 worker: User id:       andreas
20250126 204751 worker: Home folder:   /home/andreas
20250126 204751 worker: Time zone:     Europe/Stockholm
20250126 204751 worker: Kbd layout:    se
20250126 204751 worker: HDMI ports(s): on
20250126 204751 worker: HDMI-CEC:      off
20250126 204751 worker: Sys LED0:      on
20250126 204751 worker: Sys LED1:      on
20250126 204751 worker: Reduce power:  off
20250126 204751 worker: Fan control:   50C, 45C, 75
20250126 204751 worker: CPU governor:  ondemand
20250126 204751 worker: Integ audio:   vc4-kms-v3d
20250126 204751 worker: --
20250126 204751 worker: -- Network
20250126 204751 worker: --
20250126 204751 worker: Eth0
20250126 204751 worker: Ethernet: adapter exists
20250126 204751 worker: Ethernet: timeout off
20250126 204751 worker: Ethernet: address not assigned
20250126 204751 worker: Wlan0
20250126 204751 worker: Wireless: adapter exists
20250126 204751 worker: Wireless: country SE
20250126 204751 worker: Wireless: SSID    xxx
20250126 204751 worker: Wireless: other   None
20250126 204751 worker: Wireless: timeout up to 90 secs
20250126 204751 worker: Wireless: connect to xxx
20250126 204751 worker: Wireless: method  dhcp
20250126 204751 worker: Wireless: address 192.168.100.XXX
20250126 204751 worker: Wireless: netmask 255.255.255.0
20250126 204751 worker: Wireless: gateway 192.168.100.XXX
20250126 204751 worker: Wireless: pri DNS 192.168.100.XXX
20250126 204751 worker: Wireless: domain  xxx
20250126 204751 worker: --
20250126 204751 worker: -- File sharing
20250126 204751 worker: --
20250126 204751 worker: SMB file sharing:  off
20250126 204751 worker: SMB password:      none
20250126 204751 worker: NFS file sharing:  off
20250126 204751 worker: DLNA file sharing: off
20250126 204751 worker: --
20250126 204751 worker: -- Special configs
20250126 204751 worker: --
20250126 204751 worker: Plexamp:          not installed
20250126 204751 worker: RoonBridge:       not installed
20250126 204751 worker: Allo Boss 2:      not detected, OLED script ok
20250126 204751 worker: Allo Piano 2.1:   not detected
20250126 204751 worker: IQaudIO AMP*:     not detected
20250126 204751 worker: Bluetooth:        session vars created
20250126 204751 worker: --
20250126 204751 worker: -- ALSA debug
20250126 204751 worker: --
20250126 204751 worker: Cards:  0:sndrpihifiberry 1:vc4hdmi0        2:vc4hdmi1        3:empty          
20250126 204751 worker:         4:empty           5:empty           6:empty           7:empty          
20250126 204751 worker: Mixers: 0:none            1:none            2:none            3:none            
20250126 204751 worker:         4:none            5:none            6:none            7:none            
20250126 204751 worker: --
20250126 204751 worker: -- Audio configuration
20250126 204751 worker: --
20250126 204751 worker: Audio device:  0:snd_rpi_hifiberry_dac8x
20250126 204752 worker: ALSA card:     has not been reassigned
20250126 204752 worker: MPD config:    update not needed
20250126 204752 worker: ALSA output:   I2S
20250126 204752 worker: ALSA mode:     Default (plughw)
20250126 204752 worker: ALSA mixer:    none exists
20250126 204755 worker: ALSA volume:   controller not detected
20250126 204755 worker: ALSA maxvol:   100%
20250126 204755 worker: ALSA loopback: off
20250126 204755 worker: MPD mixer      CamillaDSP
20250126 204755 worker: Audio formats: S16_LE, S24_LE, S32_LE
20250126 204755 worker: CamillaDSP:    twowa
20250126 204755 worker: CDSP volume:   -120dB
20250126 204755 worker: CDSP volrange: 60dB
20250126 204755 worker: --
20250126 204755 worker: -- MPD startup
20250126 204755 worker: --
20250126 204755 worker: MPD service:        started
20250126 204755 worker: MPD port 6600:      accepting connections
20250126 204755 worker: MPD ALSA Default:   on
20250126 204755 worker: MPD ALSA Bluetooth: off
20250126 204755 worker: MPD HTTP Server:    off
20250126 204755 worker: MPD volume:         0
20250126 204755 worker: Saved MPD vol:      -1
20250126 204755 worker: Saved SRC vol:      0
20250126 204755 worker: MPD crossfade:      off
20250126 204755 worker: MPD ignore CUE:     no
20250126 204755 worker: MPD CDSP volsync:   on
20250126 204755 worker: --
20250126 204755 worker: -- Music sources
20250126 204755 worker: --
20250126 204755 worker: USB drives:     none
20250126 204755 worker: NVMe drives:    none
20250126 204755 worker: SATA drives:    none
20250126 204755 worker: NAS sources:    none
20250126 204755 worker: --
20250126 204755 worker: -- Feature availability
20250126 204755 worker: --
20250126 204755 worker: Input select:    available, Source: MPD, Output: snd_rpi_hifiberry_dac8x
20250126 204755 worker: Bluetooth:       available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20250126 204755 worker: AirPlay:         started
20250126 204755 worker: Spotify Connect: available
20250126 204755 worker: Deezer Connect:  available
20250126 204755 worker: Squeezelite:     available
20250126 204755 worker: UPnP client:     available
20250126 204755 worker: Plexamp:         not installed, ALSA maxvol: 100%
20250126 204755 worker: RoonBridge:      not installed
20250126 204755 worker: Multiroom:       available
20250126 204755 worker: GPIO buttons:    available
20250126 204755 worker: Stream recorder: n/a
20250126 204755 worker: --
20250126 204755 worker: -- Security
20250126 204755 worker: --
20250126 204755 worker: Web SSH server:    off
20250126 204755 worker: XSS detection:     off
20250126 204755 worker: HTTPS mode:        available
20250126 204755 worker: --
20250126 204755 worker: -- Peripherals
20250126 204755 worker: --
20250126 204757 worker: Local display:   off
20250126 204757 worker: Chromium ver:    130.0.6723.58-1~deb12u1+rpt2
20250126 204757 worker: Chromium cfg:    WARNING: directory /home/andreas/.config does not exist
20250126 204757 worker: Screen blank     600
20250126 204757 worker: On-screen kbd:   on
20250126 204757 worker: Disable GPU:     off
20250126 204757 worker: HDMI orient:     landscape
20250126 204757 worker: HDMI 4K 60Hz:    off
20250126 204757 worker: DSI scn type:    none
20250126 204757 worker: DSI port:        
20250126 204757 worker: DSI brightness:  255
20250126 204757 worker: DSI rotate:      0
20250126 204757 worker: Rotary encoder:  off
20250126 204757 worker: USB volume knob: off
20250126 204757 worker: LCD updater:     off
20250126 204757 worker: --
20250126 204757 worker: -- Miscellaneous
20250126 204757 worker: --
20250126 204757 worker: Software update:   Automatic check off
20250126 204757 worker: Auto-CoverView:    off
20250126 204757 worker: CoverView timeout: Never
20250126 204757 worker: Auto-shuffle:      off
20250126 204757 worker: Auto-play:         off
20250126 204757 worker: Maintenance task:  360 mins
20250126 204757 worker: Current view:      reset to Playback
20250126 204757 worker: Active flags:      all false
20250126 204757 worker: Reset flags:       skipped
20250126 204757 worker: Session check:     ok
20250126 204757 worker: --
20250126 204757 worker: -- Startup complete
20250126 204757 worker: --
20250126 204757 worker: Mount monitor:    started
20250126 204757 worker: Radio monitor:    off
20250126 204757 worker: Watchdog monitor: started
20250126 204757 worker: Responsiveness:   Default
20250126 204757 worker: Ready



RE: Resets camilladsp olayback device channels - Tim Curtis - 01-26-2025

The log looks almost ok.

Couple things.

# The I2S DAC selection in Audio Config
1. Set DT overlay to None
2. Reboot
3. Set Named I2S device to HiFiBerry DAC8x
4. Reboot

# The config in CamillaDSP Config
1. Select your config in Signal processing and then UPDATE. The will set the config as the active config.
2. File management is separate from Signal processing. It's used to manage or verify the config files. If a config file fails the CHECK a list of issues the checker found will be shown. These have to be fixed or the config won't work.

I've never tested a DAC8x and so can't say what a config for it should look like but maybe other users in the Forum can help out.


RE: Resets camilladsp olayback device channels - bitlab - 01-28-2025

@ma00aem did switch off the 'default device options'?
Else it will be changed back at very restart or config selection to the default options.

[attachment=4378]


RE: Resets camilladsp olayback device channels - ma00aem - 01-29-2025

(01-28-2025, 09:28 AM)bitlab Wrote: @ma00aem did switch off the 'default device options'?
Else it will be changed back at very restart or config selection to the default options.

Thanks for the help Tim and bitlab! I think that did it!  Heart