Volumio x86 3.301 fails to detect ALSA device IDs

Prerequisites

Volumio Information

PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
VOLUMIO_BUILD_VERSION="3cfa1502993c2310fc263d6ebda1707071fe4cc2"
VOLUMIO_FE_VERSION="8efe4f08f83e5de574651b8ed2333629c140d365"
VOLUMIO_FE3_VERSION="8f1d07fcde806ea34f52cff908ec76359e14970e"
VOLUMIO_BE_VERSION="e249dfa388452e6b8443121dc9b4cabca459c531"
VOLUMIO_ARCH="x64"
VOLUMIO_VARIANT="volumio"
VOLUMIO_TEST="FALSE"
VOLUMIO_BUILD_DATE="Thu 09 Jun 2022 06:24:23 PM CEST"
VOLUMIO_VERSION="3.301"
VOLUMIO_HARDWARE="x86_amd64"
VOLUMIO_DEVICENAME="x86_64"
VOLUMIO_HASH="52f5992f435be1123723d9defc593eee"

Hardware: Proxmox VM with Nvidia GT-710 GPU

Steps to Reproduce

  1. Try to play something via HDMI →
Error

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