[SOLVED] Audio on proxmox (host)

Now it's strange... After apt update & dist-upgrade:
$ alsamixer ALSA lib confmisc.c:855:(parse_card) cannot find card '0' ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory ALSA lib control.c:1528:(snd_ctl_open_noupdate) Invalid CTL default cannot open mixer: No such file or directory
I have no clue... Help, please...

Zrzut ekranu z 2023-10-28 19-11-55.png
 
Now it's strange... After apt update & dist-upgrade:
$ alsamixer ALSA lib confmisc.c:855:(parse_card) cannot find card '0' ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory ALSA lib control.c:1528:(snd_ctl_open_noupdate) Invalid CTL default cannot open mixer: No such file or directory
I have no clue... Help, please...

View attachment 57242
I'm assuming you run that inside the VM? Maybe the audio device did not get number 0; try alsamixer -c1? I don't know how to configure stuff inside your VM, sorry.
 
Yes, that wai inside the VM. Problem is it doesn't recognize soundcard, but I can see it in lspci.

$ lspci | grep Audio 00:10.0 Audio device: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 03) $ aplay -l aplay: device_list:274: no soundcards found...
 
That's super crazy:

$ aplay -l aplay: device_list:274: no soundcards found... $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC671 Analog [ALC671 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0

This is from connection via ssh. Difference between the two is I additionally logged on VNC after first aplay -l.

Another crazy thing - after restoring backup (just after configuration of PCI device) and installing only alsa and snapclient, aplay behives the same, but snapclient works well and plays music w/o VNC and login.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!