Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Moode 8.3.8 upgrade => MPD Error
#1
Hello all,

I just upgraded my PI3 + Hifiberry DAC+ Pro to Moode 8.3.8 and since it's impossible to read something.
I have a MPD Error : Failed to open audio output"

Have you notice the same issue ?

My moode.log file :

Code:
20240216 084622 worker: --
20240216 084623 worker: -- Start moOde 8 series
20240216 084623 worker: --
20240216 084623 worker: Successfully daemonized
20240216 084623 worker: Wait for Linux startup...
20240216 084702 worker: Linux startup complete
20240216 084702 worker: Boot config backed up
20240216 084704 worker: Session loaded
20240216 084716 worker: Package holds applied
20240216 084737 worker: File check complete
20240216 084737 worker: Debug logging off
20240216 084737 worker: Reduced logging off
20240216 084737 worker: --
20240216 084737 worker: -- Audio debug
20240216 084737 worker: --
20240216 084737 worker: ALSA cards:   0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20240216 084737 worker: MPD config:   0:HiFiBerry DAC+ Pro | mixer:Digital | cardnum:0
20240216 084738 worker: Mixer name:   [Digital]
20240216 084738 worker: Hdwr volume:  set to 0%
20240216 084738 worker: Volume knob:  33
20240216 084738 worker: --
20240216 084738 worker: -- System
20240216 084738 worker: --
20240216 084741 worker: Host:     moode-bureau
20240216 084741 worker: Model:    Pi-3B 1.2 1GB
20240216 084742 worker: moOde:    8.3.8 2024-02-14
20240216 084742 worker: RaspiOS:  11.3 Bullseye 64-bit
20240216 084742 worker: Kernel:   6.1.21 64-bit
20240216 084742 worker: MPD ver:  0.23.14
20240216 084742 worker: CPU gov:  ondemand
20240216 084742 worker: Userid:   pi
20240216 084742 worker: Homedir:  /home/pi
20240216 084742 worker: Timezone: Europe/Paris
20240216 084742 worker: Keyboard: fr
20240216 084742 worker: USB boot: not enabled yet
20240216 084742 worker: File sys: expanded
20240216 084742 worker: HDMI out: on
20240216 084742 worker: Sys LED0: on
20240216 084742 worker: Sys LED1: on
20240216 084742 worker: --
20240216 084742 worker: -- Network
20240216 084742 worker: --
20240216 084742 worker: Eth: adapter exists
20240216 084742 worker: Eth: timeout off
20240216 084742 worker: Eth: method  dhcp
20240216 084742 worker: Eth: address 192.168.0.101
20240216 084742 worker: Eth: netmask 255.255.255.0
20240216 084742 worker: Eth: gateway 192.168.0.1
20240216 084742 worker: Eth: pri DNS 192.168.0.1
20240216 084742 worker: Eth: domain  home
20240216 084742 worker: Wlan: adapter does not exist
20240216 084742 worker: --
20240216 084742 worker: -- Software update
20240216 084742 worker: --
20240216 084742 worker: Automatic check off
20240216 084742 worker: --
20240216 084742 worker: -- File sharing
20240216 084742 worker: --
20240216 084743 worker: SMB file sharing:  on
20240216 084743 worker: NFS file sharing:  off
20240216 084743 worker: DLNA file sharing: off
20240216 084743 worker: --
20240216 084743 worker: -- Audio config
20240216 084743 worker: --
20240216 084746 worker: MPD config:    updated
20240216 084746 worker: Audio device:  HiFiBerry DAC+ Pro
20240216 084746 worker: Formats:       S16_LE, S24_LE, S32_LE
20240216 084746 worker: Mixer type     Hardware
20240216 084746 worker: Mixer name     Digital
20240216 084746 worker: Hdwr volume:   controller detected
20240216 084746 worker: ALSA max vol:  100%
20240216 084746 worker: ALSA card:     0
20240216 084746 worker: ALSA mode:     Default
20240216 084746 worker: ALSA loopback: on
20240216 084746 worker: CamillaDSP:    custo
20240216 084746 worker: Renderers:     active flags reset
20240216 084746 worker: --
20240216 084746 worker: -- MPD startup
20240216 084746 worker: --
20240216 084747 worker: MPD service:        started
20240216 084747 worker: MPD port 6600:      accepting connections
20240216 084747 worker: MPD ALSA Default:   on
20240216 084747 worker: MPD ALSA Bluetooth: off
20240216 084747 worker: MPD HTTP Server:    off
20240216 084747 worker: MPD crossfade:      off
20240216 084747 worker: MPD ignore CUE:     yes
20240216 084747 worker: MPD CDSP volsync:   off
20240216 084747 worker: MPD CDSP volrange:  60 dB
20240216 084747 worker: --
20240216 084747 worker: -- Music sources
20240216 084747 worker: --
20240216 084747 worker: USB auto-mount: udisks-glue
20240216 084747 worker: USB drives:     no drives found
20240216 084747 worker: NAS source:     Truenas
20240216 084750 worker: NAS mount:      mount all submitted
20240216 084750 worker: --
20240216 084750 worker: -- Feature availability
20240216 084750 worker: --
20240216 084750 worker: Input select:    available, src MPD, out HiFiBerry DAC+ Pro
20240216 084750 worker: Bluetooth:       available, ALSA mode Default
20240216 084750 worker: AirPlay:         available
20240216 084750 worker: Spotify Connect: started
20240216 084750 worker: Squeezelite:     available
20240216 084750 worker: RoonBridge:      not installed
20240216 084750 worker: Multiroom:       available
20240216 084750 worker: UPnP client:     available
20240216 084750 worker: GPIO buttons:    available
20240216 084750 worker: HTTPS mode:      available
20240216 084750 worker: Stream recorder: n/a
20240216 084750 worker: --
20240216 084750 worker: -- Volume levels
20240216 084750 worker: --
20240216 084750 worker: Volume knob:   33
20240216 084750 worker: Saved MPD vol: -1
20240216 084750 worker: Saved SRC vol: 0
20240216 084750 worker: Mixer type:    hardware
20240216 084750 worker: Hdwr volume:   72%
20240216 084750 worker: CDSP volume:   0.0dB
20240216 084750 worker: --
20240216 084750 worker: -- Peripherals
20240216 084750 worker: --
20240216 084751 worker: Local display:   off
20240216 084751 worker: On-screen kbd:   off
20240216 084751 worker: Rotary encoder:  on
20240216 084751 worker: USB volume knob: off
20240216 084751 worker: LCD updater:     off
20240216 084751 worker: --
20240216 084751 worker: -- Miscellaneous
20240216 084751 worker: --
20240216 084751 worker: Auto-CoverView:    off
20240216 084751 worker: CoverView timeout: Never
20240216 084751 worker: Auto-shuffle:      off
20240216 084751 worker: Auto-play:         off
20240216 084751 worker: Web SSH server:    off
20240216 084751 worker: Maintenance task:  360 mins
20240216 084751 worker: Current view:      reset to Playback
20240216 084752 worker: Session check:     ok
20240216 084752 worker: --
20240216 084752 worker: -- Startup complete
20240216 084752 worker: --
20240216 084752 worker: Mount monitor:    off
20240216 084752 worker: Radio monitor:    off
20240216 084752 worker: Watchdog monitor: started
20240216 084752 worker: Responsiveness:   Default
20240216 084752 worker: Ready

Best regards
Lalscien
Reply
#2
Hi all,

It only plays when Camilla DSP is OFF



Regards
Lalsacien
Reply
#3
I don't know why some Camilla DSP files are working but some other not.

No matter, I have sound.

Sorry for this post.

Best regards
Lalsacien
Reply
#4
(02-16-2024, 09:06 AM)Lalsacien Wrote: I don't know why some Camilla DSP files are working but some other not.

No matter, I have sound.

Sorry for this post.

Best regards
Lalsacien

The 8.3.8 release specifically installs CamillaDSP 2.01, probably there are issues with the format of the configuration files.
A look on CDSP site / forum might provide a clue.
I think the included CSDP configs have been migrated, but if you used some custom ones you created / downloaded, probably need refactoring...
Reply
#5
I noticed all my pre-existing custom files showed as invalid configurations in the CamillaDSP File Management section until they were selected as the active filter, with Camilla running. Could there be some automatic upgrading going on/required?
----------------
Robert
Reply
#6
In CamillaDSP Config a configuration file will be auto-patched to version 2 format when it selected and saved as the current config or (I think) when it's selected or checked in the file management section.

The auto patch only covers the following:
Code:
set volume_ramp_time = 150
delete enable_resampling
delete resampler_type
delete capture_samplerate

If a config is still flagged as invalid then some hand editing will prolly be needed along with a post to the CamillaDSP thread at diyAudio asking for some help.

Alternatively the config can just be recreated from scratch using the Pipeline editor.

Note that there is an option on CamillaDSP Config to download a set of version 2 sample configs for those that are using any.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
(02-16-2024, 01:20 PM)Tim Curtis Wrote: In CamillaDSP Config a configuration file will be auto-patched to version 2 format when it selected and saved as the current config or (I think) when it's selected or checked in the file management section.

The auto patch only covers the following:
Code:
set volume_ramp_time = 150
delete enable_resampling
delete resampler_type
delete capture_samplerate

If a config is still flagged as invalid then some hand editing will prolly be needed along with a post to the CamillaDSP thread at diyAudio asking for some help.

Alternatively the config can just be recreated from scratch using the Pipeline editor.

Note that there is an option on CamillaDSP Config to download a set of version 2 sample configs for those that are using any.

Loading and checking in the management section didn't work for me, but loading it from th quick menu while something was playing did the trick.
----------------
Robert
Reply
#8
@the_bertrum @Tim Curtis the config patches are
only applied when a config is selected as current active. Patch is applied by moode software, not by the camilladsp software itself.
Reply
#9
(02-16-2024, 01:20 PM)Tim Curtis Wrote: In CamillaDSP Config a configuration file will be auto-patched to version 2 format when it selected and saved as the current config or (I think) when it's selected or checked in the file management section.

The auto patch only covers the following:
Code:
set volume_ramp_time = 150
delete enable_resampling
delete resampler_type
delete capture_samplerate

If a config is still flagged as invalid then some hand editing will prolly be needed along with a post to the CamillaDSP thread at diyAudio asking for some help.

Alternatively the config can just be recreated from scratch using the Pipeline editor.

Note that there is an option on CamillaDSP Config to download a set of version 2 sample configs for those that are using any.
I use ProtoDac, but with the new version 8.3.8, I have a lot of problems configuring CamillaDSP. The most annoying of all is the impossibility of using the Pipeline editor because when I launch it Camilla's page disappears and it is no longer possible to make changes to the configuration files.
Reply
#10
I have the same problem. I saw some errors related to invalid parameters, basically ramp_time is not valid on V2.
Checking the filesystem in /usr/share/camilladsp/configs I can see the "old" files and the new ones named like loudness.yml.dpkg-dist, this means that a new .deb package has been installed, with newer versions of the config files, but not overwriting the old ones. Of course the .dpkg-dist files are not loaded by Camilla. The package that manages/own those config files is moode-player itself, so it seems that the upgrade of moode-player.deb did not overwrite the old config files.

Then I proceeded to go to CamillaDSP config page (Configure->CamillaDSP) and at the very bottom I clicked on `Update`, it downloaded a bunch of V2-<profile> files, and those work out of the box, but I had the new V2 files, the old broken ones and the .dpkg-dist.

I tried copying loudness.yml.dpkg-dist to loudness.yml and that indeed works, so I assume that copying the .dpkg-dist files over the file with the same name, should fix the problem.

This one liner did the job, copying the old files in filename.old and the .dpkg-dist to the profile name

for p in *.dpkg-dist; do echo $p; prof=$(basename "$p" .dpkg-dist); echo $prof; cp "$prof" "${prof}.old"; cp "$p" "${prof}";  done

And it worked, after this I just did an rm *.old to clean up and that's it, now I have the "old" profiles working and the new V2 ones too.

There are still some leftovers, old profiles that have not been updated, so are not covered by the above command. These are 
  • Polarity Inversion with VC.yml
  • Volume Control.yml

and those can be deleted manually.

Another possible solution would be to move away the old configs and just download the new ones, dunno enough about the differences between, for example, loudness.yml and V2-Loudness.yml, though.


I kindly suggest to the developer of moode to keep this in account and maybe release a patch that, during the installation, fixes this issue.
Location: Malaga, Spain | RPi4 / HifiBerry DAC+ / Teac A-H300
Reply


Forum Jump: