Thank you for your donation!


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


Solved: Since update to 9.2.5 : Failed to open audio output
#1
Dear all,

Since I upgraded to 9.2.5 I have a popup alert that tells me "Failed to open audio output" , and no more sound Sad

I have a Pi 3B+ and a Hifiberry DAC+ Pro

In Configuration/Audio I ever have :

Output device : Hifiberry DAC+ Pro
Volume type : Hardware
Named I2S device : Hifiberry DAC+ Pro



Please how can I try to trouble shoot this issue ?

Many thanks for help
Regards
Lalsacien
Reply
#2
Try switching to HDMI 1 then back to your DAC.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(02-27-2025, 10:47 AM)Tim Curtis Wrote: Try switching to HDMI 1 then back to your DAC.

Hi Tim,

Thanks for answer.
I tried but no better result, ever the popup and no more sound.
Reply
#4
Very odd.

You can check some configs for the correct output and MPD log to see of there are any errors

cat /etc/alsa/conf.d/_audioout.conf
cat /etc/mpd.conf
cat /var/log/mpd/llog
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
cat /etc/alsa/conf.d/_audioout.conf

#########################################
# This file is managed by moOde
#########################################
pcm._audioout {
type copy
slave.pcm "camilladsp"
}

cat /etc/mpd.conf

#########################################
# This file is managed by moOde
#########################################

music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/database"
log_file "/var/log/mpd/log"
pid_file "/var/run/mpd/pid"
state_file "/var/lib/mpd/state"
sticker_file "/var/lib/mpd/sticker.sql"
user "mpd"
group "audio"
bind_to_address "any"
port "6600"
log_level "default"
restore_paused "yes"
auto_update "no"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
zeroconf_enabled "no"
zeroconf_name "Moode MPD"
filesystem_charset "UTF-8"
metadata_to_use "+comment"
audio_output_format "*:*:2"
replaygain "off"
replaygain_preamp "0"
volume_normalization "no"
audio_buffer_size "4096"
max_output_buffer_size "131072"
selective_resample_mode "1"
max_playlist_length "16384"
max_connections "128"

decoder {
plugin "ffmpeg"
enabled "yes"
}

input {
plugin "curl"
proxy ""
proxy_user ""
proxy_password ""
}

resampler {
plugin "soxr"
quality "very high"
threads "0"
}

audio_output {
type "alsa"
name "ALSA Default"
device "_audioout"
mixer_type "hardware"
mixer_control "Digital"
mixer_device "hw:1"
mixer_index "0"
dop "no"
stop_dsd_silence "no"
thesycon_dsd_workaround "no"
}

audio_output {
type "alsa"
name "ALSA Bluetooth"
device "_audioout"
mixer_type "software"
}

audio_output {
type "httpd"
name "HTTP Server"
port "8000"
encoder "flac"
compression "0"
tags "yes"
always_on "yes"
}

cat /var/log/mpd/llog

cat: /var/log/mpd/llog: No such file or directory
Reply
#6
cat /etc/alsa/conf.d/_audioout.conf

#########################################
# This file is managed by moOde
#########################################
pcm._audioout {
type copy
slave.pcm "camilladsp"
}

cat /etc/mpd.conf

#########################################
# This file is managed by moOde
#########################################

music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/database"
log_file "/var/log/mpd/log"
pid_file "/var/run/mpd/pid"
state_file "/var/lib/mpd/state"
sticker_file "/var/lib/mpd/sticker.sql"
user "mpd"
group "audio"
bind_to_address "any"
port "6600"
log_level "default"
restore_paused "yes"
auto_update "no"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
zeroconf_enabled "no"
zeroconf_name "Moode MPD"
filesystem_charset "UTF-8"
metadata_to_use "+comment"
audio_output_format "*:*:2"
replaygain "off"
replaygain_preamp "0"
volume_normalization "no"
audio_buffer_size "4096"
max_output_buffer_size "131072"
selective_resample_mode "1"
max_playlist_length "16384"
max_connections "128"

decoder {
plugin "ffmpeg"
enabled "yes"
}

input {
plugin "curl"
proxy ""
proxy_user ""
proxy_password ""
}

resampler {
plugin "soxr"
quality "very high"
threads "0"
}

audio_output {
type "alsa"
name "ALSA Default"
device "_audioout"
mixer_type "hardware"
mixer_control "Digital"
mixer_device "hw:1"
mixer_index "0"
dop "no"
stop_dsd_silence "no"
thesycon_dsd_workaround "no"
}

audio_output {
type "alsa"
name "ALSA Bluetooth"
device "_audioout"
mixer_type "software"
}

audio_output {
type "httpd"
name "HTTP Server"
port "8000"
encoder "flac"
compression "0"
tags "yes"
always_on "yes"
}

cat /var/log/mpd/llog

cat: /var/log/mpd/llog: No such file or directory
Reply
#7
@Lalsacien

That double “ell” in /var/log/mpd/llog is a typo. Try with just “log”.

Regards,
Kent
Reply
#8
Try turning camilla off
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#9
Yes it works when CamillaDSP is off. Many thanks !

The problem is that I had a personnal loudness configuration in Camilla that isn't correct anymore.

The error says :
Configuration is not valid
Invalid config file!
pipeline: unknown field `channel`, expected one of `channels`, `names`, `description`, `bypassed` at line 66 column 1

It's because of the new version of Camilla I think. No matter I have music ! Smile

Many thanks for help
Regards
Lalsacien
Reply
#10
Just click the UPGRADE button in CamillaDSP Config > File Management section and you should be all set.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: