[fedora-virt] Sound not working on vm clients

David Highley dhighley at highley-recommended.com
Sun Jun 17 22:23:16 UTC 2012


"Cole Robinson wrote:"
> 
> On 06/16/2012 10:06 PM, David Highley wrote:
> > We have two vm clients and neither have sound.
> > hosting platform is Fedora 16 x86_64
> > first client is Fedora 17 i686
> > second client is Ubuntu 12.04 i686
> > 
> > libvirt-0.9.6-5.fc16.x86_64
> > qemu-kvm-0.15.1-5.fc16.x86_64
> > 
> > Tried both VNC and Spice modes. Did set, vnc_allow_host_audio = 1, in
> > /etc/libvirt/qemu.conf file. Just in case we put selinux in Permissive
> > mode. Still no sound.
> > 
> 
> On F16, using SPICE is the only good way to get sound, so do your testing with
> that. Please provide the following info
> 
> - How are you connecting to the guest console?
> - sudo virsh dumpxml $vmname
> - sudo cat /var/log/libvirt/qemu/$vmname.log

I did switch to using SPICE and both the host and quest show the same
audio configuration. Attached the two requested files.

> > Another question is, when and if graphics 3D acceleration will work? We
> > tried the HoN game, disabled graphics detection, it segfaulted.
> 
> F16 has no chance here. F17 handles enough 3D bits in software that it can run
> gnome shell at least, but not sure how it will handle a game.
> 
> Actual 3D support from the whole kvm stack is still a ways off, though I know
> some people have patches for qemu opengl passthrough.

OK, we will upgrade a hosting box and try again, but probably is not far
enough along to work.

> 
> - Cole
> 


-- 

Regards,

David Highley
Highley Recommended, Inc.       Phone: (206) 669-0081
2927 SW 339th Street            WEB: http://www.highley-recommended.com
Federal Way, WA 98023-7732
-------------- next part --------------
A non-text attachment was scrubbed...
Name: guest.log
Type: application/octet-stream
Size: 7681 bytes
Desc: ASCII C program text, with very long lines
URL: <http://lists.fedoraproject.org/pipermail/virt/attachments/20120617/fab80a50/attachment.obj>
-------------- next part --------------
<domain type='kvm'>
  <name>Fedora-32</name>
  <uuid>a61056fe-9a03-e272-fda6-b374cd9e45e6</uuid>
  <memory>4194304</memory>
  <currentMemory>4194304</currentMemory>
  <vcpu>4</vcpu>
  <os>
    <type arch='i686' machine='pc-0.14'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/var/lib/libvirt/images/Fedora-32.img'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <disk type='block' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
      <address type='drive' controller='0' bus='1' unit='0'/>
    </disk>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </controller>
    <interface type='network'>
      <mac address='52:54:00:2a:b7:84'/>
      <source network='default'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='spice' autoport='yes'/>
    <sound model='ich6'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </sound>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </memballoon>
  </devices>
</domain>



More information about the virt mailing list