There is an existing thread for the same issue
Same problem here, following:
https://community.volumio.com/t/error-failed-to-open-alsa-alsa-failed-to-open-alsa-device-volumio-no-such-device-raspberry-4-hifiberry-dac2-hd/67618?u=markinton
Thanks!
Please provide link to your debug log. Just to confirm that your case the error is identical.
Kind Regards,
Hey @Markinton,
In your /boot/config.txt you have a duplicate:
#### Volumio i2s setting below: do not alter ####
dtoverlay=hifiberry-dacplushd
#### Volumio i2s setting below: do not alter ####
dtoverlay=hifiberry-dacplus,slave
Please remove Raspberry Pi 5 specific:
#### Volumio i2s setting below: do not alter ####
dtoverlay=hifiberry-dacplus,slave
Re-test.
Kind Regards,
Removed the ‘slave’ line in config.txt. Reboot, test result, same ALSA error. Where can I download version 3.661?
Before flashing 3.661, can you generate and post logs again?
Previous release 3.661 is here: https://updates.volumio.org/pi/volumio/3.661/Volumio-3.661-2024-04-24-pi.zip
Kind Regards,
Hi @nerd
I attach the files
3.735 hifiberry-dacplushd 3.735.rar - Google Drive
3.661 hifiberry-dacplushd 3.661.rar - Google Drive
Volumio version 3.661 working after several reboots, log
http://logs.volumio.org/volumio/jbTK9FH.html
Volumio version 3.703 working after 1e boot, log
http://logs.volumio.org/volumio/MMua96Z.html
Volumio version 3.703 ALSA-error 3e boot, log
http://logs.volumio.org/volumio/ZlYKKMF.html
Version 3.703 works after initial config, after several reboots ALSA-error returns, version 3.661 is stable
Thank you for your support Nerd👍
Try to switch on the next device connected to the USB port of your Volumio.
it’s not possible the HiFiBerry DAC2 HD card is not USB, thanks
I have similar problem with Volumio 3.703 + PI5 + HiFI Berry DAC2 HD. Volumio version 3.661 working always well with the same hardware. I made a fresh install with Volumio 3.703 and after every reboot I have no volume control , the parameter mixer type is “undefined”. Here is the log https://logs.volumio.org/volumio/ORAn3oM.html
Reading the thread it looks like something incompatible between Volumio 3.703 and HiFI Berry DAC2 HD. Thanks in advance for help
Few facts from the Volumio ecosystem:
Volumio OS 3.661 is on Rpi kernel 6.1.69
Volumio OS 3.703 is on Rpi kernel 6.1.77
Volumio OS 3.733/3.735 [TEST] is regressed to Rpi kernel 6.1.69
Few facts from the upstream kernel:
The Raspberry Pi kernel 6.1.77 whilst trying to address various internal misbehaving clocks clean-up is causing issues with audio. What is interesting is that HifiBerry DAC HATs seem to be more affected than any other HAT based DACs. You can read more about the situation here: Regression with Hifiberry DAC+ Pro since switch to params_width · Issue #6104 · raspberrypi/linux · GitHub
However the Raspberry Pi 4 is affected by Update to kernel 6.1.x breaks recording/streaming from HifiBerry · Issue #5709 · raspberrypi/linux · GitHub
What is unfortunate, there are no plans for an upstream kernel 6.1.xx releases on the roadmap; there is a jump to 6.6.xx. Our devs are already preparing Volumio OS, however this is going to take weeks to complete.
Few facts from your logs:
HifiBerry DAC2 HD works on 3.661 Rpi kernel 6.1.69 however does not on 3.733/3.735 with the same Rpi kernel 6.1.69.
There is nothing obvious in the logs which can suggest Raspbian backports changes, literally identical packages base level.
We have introduced a newer socket.io and tons of backend improvements, none of which changes low level communication between kernel and the HifiBerry DACs.
What next:
I am awaiting HifiBerry DAC2 HD delivery (expected somewhere mid week); once delivered I can debug the problem and get to the bottom of it. Until then, please stay on Volumio OS 3.661 (unless you are willing to assist me with the debugging).
Kind Regards,
Hi @nerd
Thanks for your availability, for debugging, okay let’s try it
Hi Nerd,
Good job to find out what is wrong. I stay at Volumio OS 3.661 and wait for a final solution with a new Volumio version.
Kind regards Ton
PS how to disable the message “new update is found” on version 3.661 and skip the update?
Hey @Markinton,
Under system menu there is a toggle switch for the automatic updates. Ensure it is set to OFF/Disable.
Kind Regards,
I am also experiencing this issue as and am sharing my logs in case they are any further help. Thanks to @nerd and other devs for working on this.
Log #1: With the ALSA playback error where DAC2 HD is selected in UI but mixer type is “undefined”. “Software” mixer is available but no sound with that setting. “Hardware” option is not present in dropdown: http://logs.volumio.org/volumio/RLKzoec.html
Log #2: I found that the process of 1) disable I2S, 2) reboot, 3) enable I2S (select DAC2 HD), 4) reboot would give me a working player: http://logs.volumio.org/volumio/TstHkJi.html
Log #3: This was a slightly different situation where I rebooted and checked playback settings before trying to play a file. DAC2 HD and hardware mixer were selected, but when I tried playing a file, I got the playback error and mixer type changed itself to undefined. http://logs.volumio.org/volumio/Xup155Z.html
Log #4: Properly functioning playback. http://logs.volumio.org/volumio/USdonO6.html
Hi,
I’m running into the same issue with the HifiBerry DAC2 on a Raspberry Pi 5 with NVME SSD drive connected through its PCIe interface, so reverting to a pre 3.703 build is not really an option.
The DAC seems to work fine in Raspberry Pi OS, LibreELEC, MoOde and PiCorePlayer, but I’d much, much rather stick to Volumio.
@nerd and anyone else working on this, please let me know if I can help with debugging and/or testing.