args: -soundhw ac97 dont work

Ohax

New Member
Mar 5, 2013
13
0
1
Hi all,

Since Proxmox 2.2 the addition of:
args:-ac97 soundhw

In the configuration file of my VM.conf does not work.

I tried many other things to restore sound in my VM, but to no avail.

An idea?

Thx !
 
Same error :-(

kvm: pcm_params.c:2348: sndrv_pcm_hw_params: Assertion `err >= 0' failed.
TASK ERROR: start failed: command '/usr/bin/kvm -id 101 -chardev 'socket,id=qmp,path=/var/run/qemu-server/101.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -vnc unix:/var/run/qemu-server/101.vnc,x509,password -pidfile /var/run/qemu-server/101.pid -daemonize -name W7-DL -smp 'sockets=1,cores=2' -cpu kvm64 -nodefaults -boot 'menu=on' -vga std -no-hpet -k fr -m 4096 -device 'AC97,addr=0x18' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -drive 'if=none,id=drive-ide2,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2' -drive 'file=/mnt/disk-1/images/101/vm-101-disk-1.qcow2,if=none,id=drive-virtio0,cache=writethrough,aio=native' -device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap101i0,script=/var/lib/qemu-server/pve-bridge,vhost=on' -device 'virtio-net-pci,romfile=,mac=**:**:**:**:**:**,netdev=net0,bus=pci.0,addr=0x12,id=net0' -rtc 'driftfix=slew,base=localtime' -global 'kvm-pit.lost_tick_policy=discard'' failed: exit code 1
 
not really as it works here, so it seems you are doing something different on your side.
 
in that place insert the "args: -device intel-hda,id=sound5,bus=pci.0,addr=0x18 -device hda-micro,id=sound5-codec0,bus=sound5.0,cad=0 -device hda-duplex,id=sound5-codec1,bus=sound5.0,cad=1"

Where is the VM.config?

use proxmox 4.2
 

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!