Description of problem:
virt-viewer 8.0 has no sound
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. start qemu (current master & 3.0.1) vm with spice and audio hardware, e.g. :
qemu-system-x86_64 -device 'qxl-vga,id=vga' -spice 'port=61000,disable-ticketing' -device 'virtio-serial,id=spice' -chardev 'spicevmc,id=vdagent,name=vdagent' -device 'virtserialport,chardev=vdagent,name=com.redhat.spice.0' -device 'AC97' -device 'ide-cd,bus=ide.0,unit=0,drive=drive-ide2,id=ide0,bootindex=100' -drive 'file=/tmp/Fedora-Workstation-Live-x86_64-29-1.2.iso,if=none,id=drive-ide2,media=cdrom' -m 2048 -smp sockets=1,cores=4 --enable-kvm
2. start virt-viewer 8.0 on windows and connect
no sound output
works with virt-viewer 5/6/7
a small update:
it seems to work when there is audio when the connection starts, but there is no sound when either:
no audio is running during connect
when there is about ~5-6 silence
I would agree there is a bug issue with virt-viewer-x64-8.0.
My environment Proxmox-ve: 6.0-2 (running kernel: 5.0.15-1-pve) as the host.
Window 7x64 guest running spice and using the code below added to my 000.conf file:
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
The workstation I'm using to remote connect to my guest is Windows 10x64 (1809). With virt-viewer-x64-8.0 the Windows start up sound would be audible when the guest vm started, but nothing after. I uninstalled version 8.0, downloaded and installed virt-viewer-x64-7.0. Sound is now working consistently.
My original post: https://forum.proxmox.com/threads/spice-connection-audio-problem.52830/#post-274348
I have the same audio problem with proxmox - virt-viewer setup
1st time starting an audio source it is OK. Stopping audio source and starting it the 2nd time there is no audio.
Setup proxmox 6.0-11 , virt viewer 8.0-256.
I tried all options for sound devices : intel-hda, ich9-intel-hda, AC97 all give the same problem.
Same problem with both W10 VM and Linux Mint VM
Proxmox server has no audio device itself.