Volumio x86 3.301 fails to detect ALSA device IDs


Volumio Information

PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION="10 (buster)"
VOLUMIO_BUILD_DATE="Thu 09 Jun 2022 06:24:23 PM CEST"

Hardware: Proxmox VM with Nvidia GT-710 GPU

Steps to Reproduce

  1. Try to play something via HDMI →

Failed to open "alsa" (alsa); Failed to open ALSA device "volumio": No such file or directory
  1. speaker-test --device hw:1,7 --channels 2 works fine.
  2. Adding device 7 to section
pcm.volumioHw {
    type hw
    card "NVidia"

in /etc/asound.conf works fine.
4. After reboot device 7 is gone.

That’s an alsa card configuration issue, but as VMs are not officially supported, noone is going to fix it.

This is not a VM-specific problem. For Volumio the VM looks like bare metal with a Nvidia GT-710 GPU.

Only your opinion, being not really aware of how it works.
The reason Volumio does not support VM is because no one has any idea what an “aplay -l” in any kind of Virtual Machine is going to display as alsa card info. So no one will be willing to create an alsa card profile for YOUR undefined installation as a patch for Volumio.

New to Volumio, but not to computers in general

Trying to predetermined every possible combination of device and code it into some database to “support” it sounds like a nightmare?

I do hope this piece of software is smarter than that?

Anyway, the issue isn’t VM specific, as @renne is passing through the card, it would be just the same if volumio was running on bare metal. That is the entire point of pass through!

You’re welcome to design something “smarter”, with your knowledge of x86 hardware and alsa that should be a piece of cake.
As there are currently exactly zero x86 developers left, you won’t get it done otherwise.

If you are just looking at aplay and adding a card as " volumio approved" then it should require no magic?

Guess they also got fed up of asking and adding each card entry? :face_with_hand_over_mouth:

We have an algo in place to automatically detect and parse alsa output. We then use the card name, as it’s more deterministic than cars number.

Would you mind pasting the output of aplay -l


this would be “HDA NVidia”, to be configured with devices 3,7,8,9,10,11. Called “HDMI0” to “HDMI5” according to my old notes. Best guess for 2-channel would be HDMI0, no guarantee tho, needs someone to test.
Whether all devices are implemented is hw build specific, but volumio does not support multichannel anyway.

1 Like