After Update to v2.657, no volume control

I have the same problem on my pi s with i2s dacs

I had all the same issues. I ended up installing a fresh image on my SDcard and starting over from scratch.

Everything is now working normally again!

I have no volume control through the GUI since I installed 2.777.
The reason I am joining the discussion is that there is one piece of information that nobody seems to have to mentioned (afik at least). Namely I can control the volume from the ssh terminal:
amixer -c BossDAC sset Digital xxx
where xxx is in 0-207 changes the volume.
the same when controlled from alsamixer. So the card and alsa work fine.
Somehow I think the settings saved in /etc/mpd.conf do not get translated correctly into also mixer commands.
Here comes some data:
volumio@volumio:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/7
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: BossDAC [BossDAC], device 0: Boss DAC HiFi [Master] pcm512x-hifi-0 [Boss DAC HiFi [Master] pcm512x-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0

/etc/mpd.conf:
volumio@volumio:~$ cat /etc/mpd.conf

Volumio MPD Configuration File

Files and directories

music_directory “/var/lib/mpd/music”
playlist_directory “/var/lib/mpd/playlists”
db_file “/var/lib/mpd/tag_cache”
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”
###############################################################################

General music daemon options

user “mpd”
group “audio”
bind_to_address “any”
#port “6600”
#log_level “default”
gapless_mp3_playback “no”
#save_absolute_paths_in_playlists “no”
#metadata_to_use “artist,album,title,track,name,genre,date,composer,performer,disc”
auto_update “yes”
#auto_update_depth “3”
###############################################################################

Symbolic link behavior

follow_outside_symlinks “yes”
follow_inside_symlinks “yes”
###############################################################################

Input

input {
plugin “curl”

proxy “proxy.isp.com:8080

proxy_user “user”

proxy_password “password”

}
###############################################################################

Decoder

###############################################################################

Audio Output

resampler {
plugin “soxr”
quality “high”
threads “1”
}

audio_output {
type “alsa”
name “BossDAC”
device “hw:1,0”
dop “yes”

}

audio_output {
type “fifo”
enabled “no”
name “multiroom”
path “/tmp/snapfifo”
format “44100:16:2”
}

#replaygain “album”
#replaygain_preamp “0”
volume_normalization “no”
###############################################################################

MPD Internal Buffering

audio_buffer_size “2048”
buffer_before_play “10%”
###############################################################################

Resource Limitations

#connection_timeout “60”
max_connections “20”
max_playlist_length “81920”
max_command_list_size “81920”
max_output_buffer_size “81920”
###############################################################################

Character Encoding

filesystem_charset “UTF-8”
id3v1_encoding “UTF-8”
###############################################################################

The other thing I noticed that saving anything in Playback Options messes up my mpd.conf
In particular it sets hw:0,0. This was also the case straight after the installation. It took me some time to realise that I needed hw:1,0. In the GUI the correct I2S sound card is chosen. Also all settings seem to be correct.

I tried to hack *.js files to hard code aplayer command somewhere directly but I gave up after one evening… If anybody can point me in the right direction it would be appreciated.

I kept on having the problem until recently when I updated all my raspberrys and now they all work again! I guess it was a conflict of new volumio trying to control old volumio images… or something like that. :thinking:

This problem is still open for me. You can see my prior posts for details. Is this ever going to be solved?

Work around is to pick IQAudio DAC instead of IQAudio Amp+ in “Audio Output Device” which is what I have.

Does this help at all in the trouble shooting this issue. I have an IQAudio Amp+ HAT and run the Simple EQ pluggin.

~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
aplay: device_list:277: control open (0): No such file or directory
card 1: IQaudIODAC [IQaudIODAC], device 0: IQaudIO DAC HiFi pcm512x-hifi-0 [IQaudIO DAC HiFi pcm512x-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 7: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 7: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
volumio@ampit3:~$ cat /etc/mdp.conf
cat: /etc/mdp.conf: No such file or directory
volumio@ampit3:~$ cat /etc/mpd.conf
# Volumio MPD Configuration File

# Files and directories #######################################################
music_directory         "/var/lib/mpd/music"
playlist_directory              "/var/lib/mpd/playlists"
db_file                 "/var/lib/mpd/tag_cache"
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"
###############################################################################

# General music daemon options ################################################
user                            "mpd"
group                          "audio"
bind_to_address         "any"
#port                           "6600"
#log_level                      "default"
gapless_mp3_playback                    "no"
#save_absolute_paths_in_playlists       "no"
#metadata_to_use        "artist,album,title,track,name,genre,date,composer,performer,disc"
auto_update    "yes"
#auto_update_depth "3"
###############################################################################
# Symbolic link behavior ######################################################
follow_outside_symlinks "yes"
follow_inside_symlinks          "yes"
###############################################################################
# Input #######################################################################
#
input {
        plugin "curl"
#       proxy "proxy.isp.com:8080"
#       proxy_user "user"
#       proxy_password "password"
}
###############################################################################

# Decoder ################################################################





###############################################################################

# Audio Output ################################################################

resampler {
                plugin "soxr"
                quality "high"
                threads "1"
}

audio_output {
                type            "alsa"
                name            "alsa"
                device          "hw:1,0"
                dop                     "no"




}





audio_output {
    type            "fifo"
    enabled         "no"
    name            "multiroom"
    path            "/tmp/snapfifo"
    format          "44100:16:2"
}

#replaygain                     "album"
#replaygain_preamp              "0"
volume_normalization            "no"
###############################################################################

# MPD Internal Buffering ######################################################
audio_buffer_size               "8192"
buffer_before_play              "10%"
###############################################################################


# Resource Limitations ########################################################
#connection_timeout             "60"
max_connections                 "20"
max_playlist_length             "81920"
max_command_list_size           "81920"
max_output_buffer_size          "81920"
###############################################################################

# Character Encoding ##########################################################
filesystem_charset              "UTF-8"
id3v1_encoding                  "UTF-8"
###############################################################################
volumio@ampit3:~$ cat /var/log/mpd.log
May 22 14:55 : zeroconf: No global port, disabling zeroconf
May 22 14:55 : client: [0] opened from local
May 22 14:55 : exception: No such directory
May 22 14:56 : zeroconf: No global port, disabling zeroconf
May 22 14:56 : client: [0] opened from local
May 22 14:56 : client: [1] opened from 127.0.0.1:60708
ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL default
May 22 14:56 : exception: Failed to read mixer for 'alsa': failed to attach to default: No such file or directory
May 22 14:57 : client: [1] closed
May 22 14:59 : client: [2] opened from 127.0.0.1:60724
Jun 23 08:43 : zeroconf: No global port, disabling zeroconf
Jun 23 08:43 : client: [0] opened from local
Jun 23 08:44 : client: [1] opened from 127.0.0.1:33026
ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL default
Jun 23 08:44 : exception: Failed to read mixer for 'alsa': failed to attach to default: No such file or directory
volumio@ampit3:~$

Try to disable the plugin. In playback, check if Iqaudio is selected. Check the mixer control. Reboot and check if sound is ok. If yes, enable the plugin. Wait 20 seconds and try to play something. Let me know.

Balbuze thank you for your help.

Followed your instructions and this is what I found.

  1. Disable pliggin. Done shows=> Inactive.

2 A. In Playback Output Device shows IQAaudio PI-DigiAmp+.
2B. Vol Options, Mixer Type => “undefined”
REBOOTed

  1. Sound OK? YES! Sound is heard.

  2. If YES, enable pluggin and wait 20 sec. DONE.

Results

  • no sound
  • vol slide bar @ zero. Increase to 85 still no sound.
  • AMP+ on Output Device
  • Mixer Type => “undefined”
    Note: Volume slide bar goes to zero after every Play/Stop with AMP+ showing as Output Device.
  1. Change Output Device to IQAudio DAC. Mixer is “undefined” and sound is heard. Simple EQ pluggin works.

If mixer is undefined, something is wrong. So disable the plugin. In playback settings, choose jack as output and save. Now, enable i2s Dac and choose your Dac. Mixer should be now something like "digital’. Now enable the plugin.

Thank you Balbuze for your quick reply.

These are my results. Basically the same results as before.

  1. Disabled EQ pluggin. No plugins enabled.
  2. Chose Loopback in Playback settings and saved. Jack as ouput not available.
  3. I2S enabled already and chose Amp+ as Output device. Asked to Restart system which I did. System restarted.
  4. Mixer shows “undefined”. I chose “software”.
  5. No sound, volume bar at zero showing “NaN”, change vol, no sound, increase vol bar off zero, vol bar goes back to zero after trying to play.

New information: The Volume slide bar has no effect on sound output volume. Change to zero or 100 on vol slide bar and there is no change in sound output volume. Sound is heard but no change in amplitude.

@cmullen
Just to be sure, you are using a RPI, right? What is the model?
You sould have a other device such as jack and hdmi

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/7
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
Subdevices: 1/1
Subdevice #0: subdevice #0

Was it working for you before with Iqaudio amp+?
And I see an error :

 ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.

Something went wrong during installation.
try to do :

sudo apt-get -y install libasound2-plugin-equal 

Do not use with software volume, it can’t work.
When you choose your dac, mixer should be ‘digital’.

Using an RPI3.

volumio@ampit3:~$ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 76.80
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 1
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 76.80
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 2
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 76.80
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 3
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 76.80
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

Hardware : BCM2835
Revision : a02082
Serial : 00000000c95d0d33
Model : Raspberry Pi 3 Model B Rev 1.2

Yes it always worked before but stopped after an OS update to v.2.657.

Ran sudo update command and it said lib already up to date.

Mixer never shows “Digital” just “Software” or “None” selection is allowed.

Same results as before. No sound, volume bar at zero showing “NaN”, change vol, no sound, increase vol bar off zero, vol bar goes back to zero after trying to play. The Volume slide bar has no effect on sound output volume. Must change Playback Options>>Output Device to IQAudio DAC from Amp+ w/ Simple EQ… to hear sound. Change to zero or 100 on vol slide bar and there is no change in sound output volume. Sound is heard but no change in amplitude.

Dont know if this is significant but please see post Griffin powermate in case this has an effect on plugins from OS v.2.657 and higher.

Thank you again.

stupid idea:
unplug dac
update volumio
start volumio w/o dac ie out put is jack
reboot a couple times to kiss the blarney stone
fit dac
boot volumio and try to set output to dac

you never know with computers…
if all else fails reboot and again. :man_shrugging:

Seems to have no effect.

Question: What happened in Volumio v2.657, if anything, that that commandline tool (grifcat) for the Griffin Powermate based on libusb (not using the kernel driver) would effect the EQ’er pluggin?

Does grifcat.c have to be recomplied for every new release of Volumio2 for this pluggin to work with “digital” mixer which doesn’t show.

Ldd command results.

~$ ldd -v grifcat
linux-vdso.so.1 (0x7ee15000)
libusb-0.1.so.4 => /lib/arm-linux-gnueabihf/libusb-0.1.so.4 (0x76eee000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76dac000)
/lib/ld-linux-armhf.so.3 (0x76f06000)

    Version information:
    ./grifcat:
            libc.so.6 (GLIBC_2.4) => /lib/arm-linux-gnueabihf/libc.so.6
    /lib/arm-linux-gnueabihf/libusb-0.1.so.4:
            ld-linux-armhf.so.3 (GLIBC_2.4) => /lib/ld-linux-armhf.so.3
            libc.so.6 (GLIBC_2.15) => /lib/arm-linux-gnueabihf/libc.so.6
            libc.so.6 (GLIBC_2.4) => /lib/arm-linux-gnueabihf/libc.so.6
    /lib/arm-linux-gnueabihf/libc.so.6:
            ld-linux-armhf.so.3 (GLIBC_2.4) => /lib/ld-linux-armhf.so.3
            ld-linux-armhf.so.3 (GLIBC_PRIVATE) => /lib/ld-linux-armhf.so.3

volumio@ampit3:~$

So I turned off EQ pluggin and I2S OFF. Set playback device to loopback. Powered down and let sit for several minutes.

Booted and turned on I2S and EQ pluggin. Output device shows IQAudioAmp+, mixer is HARDWARE and volume control slider is turned off - not highlighted.

I did not reboot. I do get sound though!

Note that aplay thinks it’s an IQAudioDAC not a AMP+

Hope this helps.

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
aplay: device_list:277: control open (0): No such file or directory
card 1: IQaudIODAC [IQaudIODAC], device 0: IQaudIO DAC HiFi pcm512x-hifi-0 [IQaudIO DAC HiFi pcm512x-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 7: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 7: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
volumio@ampit3:~$

When you disable do not select Loopback but your Dac. Reboot. Check mixer. If nothing correct, change the output for jack or headphone ( depend on version). Save. Then reselect your Dac and the mixer should be displayed.
Test.
If ok enable the plugin and test. Do do try to change anything in playback settings.

Did as requested. When Output Device says
“IQAudio DAC thru equalizer” and mixer type “undefined” no sound but vol bar works. This is were all worked before EQpluggin was made Active. Once EQ pluggin is made Active no sound is heard.

If you select IQAudio DAC in Output Device list ( no thru EQ …) sound is heard sound vol slide bar is active but has ne effect in sound output level.

I also get the same aplay -l output.

So I saw the update notes for sys ver. 2.806 and thought this issue with Simple EQ pluggin was solved. It doesnt appear to solve the problem, yet it changes the results.

Followed the system update pluggin instructions but still get no sound whenever Simple EQ pluggin is made active. The pluggin can be installed but not active and sound is heard.

Weirdly no startup sound is ever played. Also you must manually pick IQAudioAMP+ off of a list as Volumio2 auto-picks IQAudio DAC. Mixer is always undefined.

The original hifiberry does not have volume control. You must enable software mixer

Hi, i have the same issue, no volume control, the sound blast 100% i lost probably some hearing testing the different tipps in this and other threads.

Pi1B (old but works)
Hifiberry AMP2 (new)
64GB Sandisk microSD (old but works)
13,5V power supply with 3A (old but works)
build in a old Sony CD Beatbox.