Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: No sound in KVM Windows guest (in Linux, it is ok)

  1. #1

    Default 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!

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,856
    Blog Entries
    2

    Default 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!

  3. #3

    Default 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.

  4. #4

    Default Re: No sound in KVM Windows guest (in Linux, it is ok)

    Quote Originally Posted by Kirill.F View Post
    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.

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    22,223
    Blog Entries
    1

    Default 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

  6. #6

    Default 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.

  7. #7

    Default Re: No sound in KVM Windows guest (in Linux, it is ok)

    Quote Originally Posted by deano_ferrari View Post
    I don't have a definitive answer here, but just in case this is of value...
    https://mathiashueber.com/virtual-ma...audio-working/
    Thanks! Alas, i've read that already. Didn't help with Spice Server.

  8. #8

    Default 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?

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,856
    Blog Entries
    2

    Default Re: No sound in KVM Windows guest (in Linux, it is ok)

    Quote Originally Posted by Kirill.F View Post
    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!

  10. #10

    Default 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.

Page 1 of 2 12 LastLast

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
  •