Hi!
I'm really new in proxmox. I just installed it. I have connected speakers to proxmox node (host) and I want to play music on them with snapclient. I created minimalistic VM with Ubuntu Server. On proxmox only available audio devices are dummy and SPICE. I understand SPICE is to transfer audio/video over VNC. I tried also command below on the host:
Searching on google gives me more options to transfer sound over the network and that's not my case. I'm also little bit scared of adding repositories to proxmox because I have no idea how to connect VM to host's device (soundcard in that case).
[SOLUTION]
I decided to do PCI Pass-through method and I used this guide: https://pve.proxmox.com/wiki/PCI(e)_Passthrough
Important things:
Also be aware if
I'm really new in proxmox. I just installed it. I have connected speakers to proxmox node (host) and I want to play music on them with snapclient. I created minimalistic VM with Ubuntu Server. On proxmox only available audio devices are dummy and SPICE. I understand SPICE is to transfer audio/video over VNC. I tried also command below on the host:
:~# apt install alsa-base alsa-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package alsa-base
:~# cat /etc/apt/sources.list
deb [URL]http://ftp.pl.debian.org/debian[/URL] bookworm main contrib
deb [URL]http://ftp.pl.debian.org/debian[/URL] bookworm-updates main contrib
# security updates
deb [URL]http://security.debian.org[/URL] bookworm-security main contrib
Searching on google gives me more options to transfer sound over the network and that's not my case. I'm also little bit scared of adding repositories to proxmox because I have no idea how to connect VM to host's device (soundcard in that case).
[SOLUTION]
I decided to do PCI Pass-through method and I used this guide: https://pve.proxmox.com/wiki/PCI(e)_Passthrough
Important things:
intel_iommu=on
is important and iommu=pt
is not good.Also be aware if
aplay -l
doesn't find any soundcard it still can work well. Snapclient workd w/o aplay working and if you want to use aplay or mplayer I found they are working if you log into VNC. Then it works also on SSH as long as you are logged to any Display. Check this issue here.
Last edited: