Sunday February 28th 2021 - Update issue with packman inode mirror
There are issues with the inode mirror, please configure an alternative mirror. See http://packman.links2linux.org/mirrors
-
No sound in KVM Windows guest (in Linux, it is ok)
Hello, I am in desperate need of assistance. In my guest Windows VM, there is no sounds playing. In Linux guests, however, everything is fine.
I use KVM virtualization, managing it in virt-manager. I can provide any necessary screenshots. Host OS is OpenSUSE Tumbleweed. Where should i dig?
One note: I have another distribution, Manjaro, specifically, where settings appear to be the same, but there is no such audio problem.
I'm talking about qemu.conf and $ virsh edit [VM_Name]. Identical on both distributions, but there, Windows guest works just fine. I have no idea why.
Thanks in advance!
-
Re: No sound in KVM Windows guest (in Linux, it is ok)
What version MSWindows are you running as Guests?
Today's most recent Win10 are supposed to contain the necessary virtio drivers in the Windows kernel, but if you are running something older (eg Win7 or early Win10 and not updated), then you'll need to install the virtio drivers separately (There are other Forum threads on where to get these Windows virtio drivers).
TSU
Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
Solved a problem recently? Create a wiki page for future personal reference!
Learn something new?
Attended a computing event?
Post and Share!
-
Re: No sound in KVM Windows guest (in Linux, it is ok)
Windows 10 is guest vm. It is not a virtio drivers problem, because VirtIO drivers iso doesn't include sound drivers. Sound device set in virt-manager is ICH9. AC97 is not an option, because the same configuration works just fine in another distro with the same VM.
-
Re: No sound in KVM Windows guest (in Linux, it is ok)
 Originally Posted by Kirill.F
Windows 10 is guest vm. It is not a virtio drivers problem, because VirtIO drivers iso doesn't include sound drivers. Sound device set in virt-manager is ICH9. AC97 is not an option, because the same configuration works just fine in another distro with the same VM.
In Windows guest vm, it doesn't seem to have problems with drivers. Everything is fine in Windows Device Manager, no warnings. And it looks like sound is played in VM, because equalizer reacts when I launch mediaplayer with some music. But, there is no output to host OS. Either it is VERY quiet, or not sent to physical audio device in host.
-
Re: No sound in KVM Windows guest (in Linux, it is ok)
I don't have a definitive answer here, but just in case this is of value...
https://mathiashueber.com/virtual-ma...audio-working/
openSUSE Leap 15.2; KDE Plasma 5
-
Re: No sound in KVM Windows guest (in Linux, it is ok)
I'll add some more information, maybe this will make a difference.
All version are fresh, host OS got all the recent updates. This includes QEMU, KVM, Virt-Manager, etc.
Guest Windows 10 VM is version 2004, most recent also.
I use a Spice server on all VMs, and in all of them, except for Windows VMs, sound is fine. I'll try to include .xml file with settings next time.
The problems began after I reinstalled OpenSUSE Tumbleweed on my host machine.
-
Re: No sound in KVM Windows guest (in Linux, it is ok)
 Originally Posted by deano_ferrari
Thanks! Alas, i've read that already. Didn't help with Spice Server.
-
Re: No sound in KVM Windows guest (in Linux, it is ok)
I copied .qcow2 virtual drive with Windows, installed from another machine. After configuring hardware in virt-manager, sound worked.
But, if I try the same installation here, on this OpenSUSE machine, there is no sound. What is wrong?
-
Re: No sound in KVM Windows guest (in Linux, it is ok)
 Originally Posted by Kirill.F
I copied .qcow2 virtual drive with Windows, installed from another machine. After configuring hardware in virt-manager, sound worked.
But, if I try the same installation here, on this OpenSUSE machine, there is no sound. What is wrong?
Not following your description...
The virtual disk format shouldn't make a difference, what disk is copied from what to what?
Installed from another machine? Are you saying that the virtual machine was installed on a different HostOS and copied to your HostOS running Tumbleweed?
In any case, you might try creating a new VM and see if your problems are limited to the machine you created or affects many or all machines you create on that one machine.
TSU
Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
Solved a problem recently? Create a wiki page for future personal reference!
Learn something new?
Attended a computing event?
Post and Share!
-
Re: No sound in KVM Windows guest (in Linux, it is ok)
OK, not to be obscure..
I have two computers. Each has its own OS. First has OpenSUSE, second - Manjaro.
When I install Windows on a VM in OpenSUSE, there is no sound in it. However, when I do the same in Manjaro, sound is working, out-of-the-box, no drivers needed.
So, if I then copy this VM with installed Windows from Manjaro to OpenSUSE, the sound also works.
So, why the sound isn't working when Windows installed in OpenSUSE, question remains.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|