Adding Audio Device - Error Code 1

elminster13

New Member
Oct 18, 2022
6
0
1
I have a VM running Windows 11 and I would like to add audio but for some reason when I add any of the three audio options I get an error code 1 and the VM wont start.

I'm not sure where to start in trying to diagnose this issue and any help would be appreciated.

The conf file of that VM is as follows:

Code:
agent: 0
args: -device 'vfio-pci,sysfsdev=/sys/bus/mdev/devices/e5752c4a-adf2-4e44-ab3b-ed72c4adf22a,display=off,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0 -uuid e5752c4a-adf2-4e44-ab3b-ed72c4adf22a
balloon: 0
bios: ovmf
boot: order=scsi0;ide2;net0
cores: 8
cpu: host
efidisk0: local-lvm:vm-107-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:65:00.0,mdev=nvidia-16,pcie=1,x-vga=1
ide2: none,media=cdrom
machine: pc-q35-7.2
memory: 16384
meta: creation-qemu=7.2.0,ctime=1680057754
name: Win11
net0: virtio=E2:7A:2E:DC:C6:56,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: local-lvm:vm-107-disk-1,cache=writeback,discard=on,size=256G
scsihw: virtio-scsi-pci
smbios1: uuid=f3d1ef99-b3d4-4e83-be60-78f75b98212b
sockets: 1
tpmstate0: local-lvm:vm-107-disk-2,size=4M,version=v2.0
vga: none
vmgenid: 48f5ec1a-7778-4aa3-8ae5-7b18d8c5bbe6
 
Last edited:
Do you want to access the VM via Spice? Because that is pretty much the only reason (besides a dummy audio device) to add an audio device to the VM.
What do you want to achieve?
 
I access the VM via Parsec and I use it for both CAD work (audio not required) and playing the odd game (audio required).
 

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!