Sound on Windows Guest VM

BryanO

New Member
May 1, 2017
2
0
1
44
Hello,
I am trying to add sound to a Windows 10 VM on Proxmox. Following one of the wiki posts, I added:
args: -device AC97,addr=0x18
to the VM's .conf file. This allowed sound to play through Spice, but it still errors out via Microsoft's Remote Desktop and rdesktop.
The end goal is to build my daughter a usable VM that she can access remotely using a Raspberry Pi. Sound is a requirement.
This post indicated that the host may need some packages installed and configurations made:
https://forum.proxmox.com/threads/enable-sound-on-guest-winxp-not-rdp.6011/
It is an old post and I am not familiar with the packages needed.
Is there some way for me to get sound from that Guest?
 
If you access via microsoft remote desktop, you do NOT need to add a virtual sound card, just configure your rdp client.

If you want to use spice on a windows vm with audio, use the second example from https://pve.proxmox.com/wiki/SPICE#Using_Audio

Code:
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
 
  • Like
Reactions: CHRISTIAN GONZALEZ
Hi Tom,
Thank you for the quick response! It looks like this did the trick:
Enable the Allow audio and video playback redirection Group Policy setting
To allow audio and video playback when connecting to a computer running Windows Server 2008 R2, you must enable the Allow audio and video playback redirection Group Policy setting. The Allow audio and video playback redirection Group Policy setting is located in Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection and can be configured by using either Local Group Policy Editor or the Group Policy Management Console (GPMC).
I've never had to set that any other time, but I made no other changes than that. If it wasn't that, maybe some updates applied over the night.
Thanks again!
Bryan
 
is there anyway to implement this to reduce the crackle? https: //blog.linuxserver.io/2018/01/05/how-to-fix-crackly-audio-with-qemu-libvirt-windows-10-and-pulseaudio/
 
  • Like
Reactions: AlexLup

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!