
On 11 Jun 2016, at 05:42, Gianluca Cecchi <gianluca.cecchi@gmail.com> = wrote: =20 Hello, I'm testing video and audio capacity inside a guest. Guest chosen is CentOS 6 with latest updates. oVirt is 3.6.6 on an intel NUC6i5SYH with CentOS 7.2 OS =20 BTW: is it of any importance audio adapter on the host? In case lspci on host gives 00:1f.3 Audio device: Intel Corporation Device 9d70 (rev 21) =20 Client connecting from user portal is Fedora 23 on an Asus laptop = U36SD where audio works and lspci gives 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset = Family High Definition Audio Controller (rev 05) =20 On CentOS 6 guest the audio adapter detected by OS with lspci is 00:08.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 = Family) High Definition Audio Controller (rev 01) =20 It seems all ok, apart that on guest actually I don't get any audio, = also from test speakers page ;-) Both on guest and on client the volume bar is near the maximum. =20 Any hints about debugging? =46rom host point of view the qemu-kvm command line is this one below =20 I don't understand the env variable QEMU_AUDIO_DRV=3Dnone ??? =20 If it can be of any importance, I initially configured the guest = without sound card and in fact in gnome I saw the audio card as "dummy". Then I powered off the guest and enabled sound card from user portal = edit vm (I see it enabled also from admin portal btw...) and then =
--Apple-Mail=_C49B3ADA-F4A5-46A0-9919-9539105F5C72 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii powered on the VM.
Now the sound card seems to be present but no audio
=20 Thanks in advance, Gianluca =20 2016-06-11 09:22:13.698+0000: starting up libvirt version: 1.2.17, =
31-16:56:26, worker1.bsys.centos.org = <http://worker1.bsys.centos.org/>), qemu version: 2.3.0 = (qemu-kvm-ev-2.3.0-31.el7_2.10.1) LC_ALL=3DC PATH=3D/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin = QEMU_AUDIO_DRV=3Dnone /usr/libexec/qemu-kvm -name c6desktop -S -machine =
fx-rhel7.2.0,accel=3Dkvm,usb=3Doff -cpu Broadwell-noTSX -m = size=3D3145728k,slots=3D16,maxmem=3D4294967296k -realtime mlock=3Doff = -smp 1,maxcpus=3D16,socket s=3D16,cores=3D1,threads=3D1 -numa node,nodeid=3D0,cpus=3D0,mem=3D3072 = -uuid 68a82ada-a1d2-44d0-85b0-f3a08cc2f579 -smbios = type=3D1,manufacturer=3DoVirt,produ ct=3DoVirt = Node,version=3D7-2.1511.el7.centos.2.10,serial=3DAC1EDDD3-CAF1-2711-EE16-B= 8AEED7F1711,uuid=3D68a82ada-a1d2-44d0-85b0-f3a08cc2f579 -no-user -config -nodefaults -chardev = socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/qemu/domain-c6desktop/moni= tor.sock,server,nowait -mon chardev=3Dcharmo nitor,id=3Dmonitor,mode=3Dcontrol -rtc =
t menu=3Don,strict=3Don -device = ich9-usb-ehci1,id=3Dusb,bus=3Dpci.0,addr=3D0x9.0x7 -device = ich9-usb-uhci3,masterbus=3Dusb.0,firstport=3D4,bus=3Dpci.0,addr=3D0x 9.0x2 -device = ich9-usb-uhci2,masterbus=3Dusb.0,firstport=3D2,bus=3Dpci.0,addr=3D0x9.0x1 = -device ich9-usb-uhci1,masterbus=3Dusb.0,firstport=3D0,bus=3Dpci.0, multifunction=3Don,addr=3D0x9 -device = virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.0,addr=3D0x3 -device = virtio-serial-pci,id=3Dvirtio-serial0,max_ports=3D16,bus=3Dpc i.0,addr=3D0x4 -drive if=3Dnone,id=3Ddrive-ide0-1-0,readonly=3Don,format= =3Draw -device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide= 0-1-0 -drive=20 = file=3D/rhev/data-center/00000001-0001-0001-0001-000000000343/572eabe7-15d= 0-42c2-8fa9-0bd773e22e2e/images/aff55e62-6a41-4f75-bbd3-78561eae18f3/ = f520473e-8fbe-4886-bb64-921b42edf499,if=3Dnone,id=3Ddrive-virtio-disk0,for= mat=3Draw,serial=3Daff55e62-6a41-4f75-bbd3-78561eae18f3,cache=3Dnone,werro= r=3Ds top,rerror=3Dstop,aio=3Dthreads -device = virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x5,drive=3Ddrive-virtio-disk= 0,id=3Dvirtio-disk0,bootindex=3D1 -netdev t ap,fd=3D28,id=3Dhostnet0,vhost=3Don,vhostfd=3D29 -device = virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:1a:4a:16:01:51,bus=3Dp= ci.0,addr=3D0x7 -chardev soc = ket,id=3Dcharserial0,path=3D/var/run/ovirt-vmconsole-console/68a82ada-a1d2= -44d0-85b0-f3a08cc2f579.soc k,server,nowait -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 = -chardev = socket,id=3Dcharchannel0,path=3D/var/lib/libvirt/qemu/channels/68a82ada-a1= d2-44d0-85b0-f3a08cc2f579.com.redhat.rhevm.vdsm,server,nowait -device = virtserialport,bus=3Dvirtio-serial0.0,nr=3D1,chardev=3Dcharchannel0,id=3Dc= hannel0,name=3Dcom.redhat.rhevm.vdsm -chardev = socket,id=3Dcharchannel1,path=3D/var/lib/libvirt/qemu/channels/68a82ada-a1= d2-44d0-85b0-f3a08cc2f579.org.qemu.guest_agent.0,server,nowait -device = virtserialport,bus=3Dvirtio-serial0.0,nr=3D2,chardev=3Dcharchannel1,id=3Dc= hannel1,name=3Dorg.qemu.guest_agent.0 -chardev = spicevmc,id=3Dcharchannel2,name=3Dvdagent -device = virtserialport,bus=3Dvirtio-serial0.0,nr=3D3,chardev=3Dcharchannel2,id=3Dc= hannel2,name=3Dcom.redhat.spice.0 -spice =
Sorry for late response:/ This would be best answered by spice guys I guess Latest virt-viewer? package: 13.el7_2.4 (CentOS BuildSystem <http://bugs.centos.org = <http://bugs.centos.org/>>, 2016-03- pc-i440 base=3D2016-06-11T09:22:13,driftfix=3Dslew -global = kvm-pit.lost_tick_policy=3Ddiscard -no-hpet -no-shutdown -boo port=3D5901,tls-port=3D5902,addr=3D0,x509-dir=3D/etc/pki/vdsm/libvirt-spic= e,seamless-migration=3Don -vnc 0:3,password -device = qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D8388608,vgamem_mb=3D16= ,bus=3Dpci.0,addr=3D0x2 -device intel-hda,id=3Dsound0,bus=3Dpci.0,addr=3D0= x8 -device hda-duplex,id=3Dsound0-codec0,bus=3Dsound0.0,cad=3D0 -chardev = spicevmc,id=3Dcharredir0,name=3Dusbredir -device = usb-redir,chardev=3Dcharredir0,id=3Dredir0 -chardev = spicevmc,id=3Dcharredir1,name=3Dusbredir -device = usb-redir,chardev=3Dcharredir1,id=3Dredir1 -chardev = spicevmc,id=3Dcharredir2,name=3Dusbredir -device = usb-redir,chardev=3Dcharredir2,id=3Dredir2 -chardev = spicevmc,id=3Dcharredir3,name=3Dusbredir -device = usb-redir,chardev=3Dcharredir3,id=3Dredir3 -device = virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x6 -msg = timestamp=3Don
2016-06-11T09:22:13.748410Z qemu-kvm: warning: CPU(s) not present in = any NUMA nodes: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2016-06-11T09:22:13.748524Z qemu-kvm: warning: All CPU(s) up to = maxcpus should be described in NUMA config main_channel_link: add main channel client main_channel_handle_parsed: net test: latency 21.910000 ms, bitrate = 51635025 bps (49.242997 Mbps) inputs_connect: inputs channel client create red_dispatcher_set_cursor_peer:=20 main_channel_handle_parsed: agent start main_channel_handle_parsed: agent start =20 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail=_C49B3ADA-F4A5-46A0-9919-9539105F5C72 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div = class=3D"">On 11 Jun 2016, at 05:42, Gianluca Cecchi <<a = href=3D"mailto:gianluca.cecchi@gmail.com" = class=3D"">gianluca.cecchi@gmail.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = class=3D""><div class=3D""><div class=3D""><div class=3D""><div = class=3D""><div class=3D"">Hello,<br class=3D""></div>I'm testing video = and audio capacity inside a guest.<br class=3D""></div>Guest chosen is = CentOS 6 with latest updates.<br class=3D""></div>oVirt is 3.6.6 on an = intel NUC6i5SYH with CentOS 7.2 OS<br class=3D""><br class=3D""></div>BTW:= is it of any importance audio adapter on the host?<br class=3D""></div>In= case lspci on host gives<br class=3D"">00:1f.3 Audio device: Intel = Corporation Device 9d70 (rev 21)<br class=3D""><div class=3D""><div = class=3D""><div class=3D""><br class=3D""></div><div class=3D"">Client = connecting from user portal is Fedora 23 on an Asus laptop U36SD where = audio works and lspci gives<br class=3D"">00:1b.0 Audio device: Intel = Corporation 6 Series/C200 Series Chipset Family High Definition Audio = Controller (rev 05)<br class=3D""><br class=3D""></div><div class=3D"">On = CentOS 6 guest the audio adapter detected by OS with lspci is<br = class=3D"">00:08.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW = (ICH6 Family) High Definition Audio Controller (rev 01)<br class=3D""><br = class=3D""></div><div class=3D"">It seems all ok, apart that on guest = actually I don't get any audio, also from test speakers page ;-)<br = class=3D""></div><div class=3D"">Both on guest and on client the volume = bar is near the maximum.<br class=3D""><br class=3D""></div><div = class=3D"">Any hints about debugging?<br class=3D""></div><div = class=3D"">=46rom host point of view the qemu-kvm command line is this = one below<br class=3D""><br class=3D""></div><div class=3D"">I don't = understand the env variable<br class=3D"">QEMU_AUDIO_DRV=3Dnone<br = class=3D"">???<br class=3D""></div><div class=3D""><br = class=3D""></div><div class=3D"">If it can be of any importance, I = initially configured the guest without sound card and in fact in gnome I = saw the audio card as "dummy".<br class=3D""></div><div class=3D"">Then = I powered off the guest and enabled sound card from user portal edit vm = (I see it enabled also from admin portal btw...) and then powered on the = VM.<br class=3D""></div><div class=3D"">Now the sound card seems to be = present but no audio<br = class=3D""></div></div></div></div></div></blockquote><div><br = class=3D""></div>Sorry for late response:/</div><div>This would be best = answered by spice guys I guess</div><div>Latest = virt-viewer?</div><div><br class=3D""><blockquote type=3D"cite" = class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div = class=3D""><div class=3D""><div class=3D""><br class=3D""></div><div = class=3D"">Thanks in advance,<br class=3D""></div><div = class=3D"">Gianluca<br class=3D""></div><div class=3D""><br = class=3D"">2016-06-11 09:22:13.698+0000: starting up libvirt version: = 1.2.17, package: 13.el7_2.4 (CentOS BuildSystem <<a = href=3D"http://bugs.centos.org/" = class=3D"">http://bugs.centos.org</a>>, 2016-03-<br = class=3D"">31-16:56:26, <a href=3D"http://worker1.bsys.centos.org/" = class=3D"">worker1.bsys.centos.org</a>), qemu version: 2.3.0 = (qemu-kvm-ev-2.3.0-31.el7_2.10.1)<br class=3D"">LC_ALL=3DC = PATH=3D/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin = QEMU_AUDIO_DRV=3Dnone /usr/libexec/qemu-kvm -name c6desktop -S -machine = pc-i440<br class=3D"">fx-rhel7.2.0,accel=3Dkvm,usb=3Doff -cpu = Broadwell-noTSX -m size=3D3145728k,slots=3D16,maxmem=3D4294967296k = -realtime mlock=3Doff -smp 1,maxcpus=3D16,socket<br = class=3D"">s=3D16,cores=3D1,threads=3D1 -numa = node,nodeid=3D0,cpus=3D0,mem=3D3072 -uuid = 68a82ada-a1d2-44d0-85b0-f3a08cc2f579 -smbios = type=3D1,manufacturer=3DoVirt,produ<br class=3D"">ct=3DoVirt = Node,version=3D7-2.1511.el7.centos.2.10,serial=3DAC1EDDD3-CAF1-2711-EE16-B= 8AEED7F1711,uuid=3D68a82ada-a1d2-44d0-85b0-f3a08cc2f579 -no-user<br = class=3D"">-config -nodefaults -chardev = socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/qemu/domain-c6desktop/moni= tor.sock,server,nowait -mon chardev=3Dcharmo<br = class=3D"">nitor,id=3Dmonitor,mode=3Dcontrol -rtc = base=3D2016-06-11T09:22:13,driftfix=3Dslew -global = kvm-pit.lost_tick_policy=3Ddiscard -no-hpet -no-shutdown -boo<br = class=3D"">t menu=3Don,strict=3Don -device = ich9-usb-ehci1,id=3Dusb,bus=3Dpci.0,addr=3D0x9.0x7 -device = ich9-usb-uhci3,masterbus=3Dusb.0,firstport=3D4,bus=3Dpci.0,addr=3D0x<br = class=3D"">9.0x2 -device = ich9-usb-uhci2,masterbus=3Dusb.0,firstport=3D2,bus=3Dpci.0,addr=3D0x9.0x1 = -device ich9-usb-uhci1,masterbus=3Dusb.0,firstport=3D0,bus=3Dpci.0,<br = class=3D"">multifunction=3Don,addr=3D0x9 -device = virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.0,addr=3D0x3 -device = virtio-serial-pci,id=3Dvirtio-serial0,max_ports=3D16,bus=3Dpc<br = class=3D"">i.0,addr=3D0x4 -drive = if=3Dnone,id=3Ddrive-ide0-1-0,readonly=3Don,format=3Draw -device = ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 -drive = <br = class=3D"">file=3D/rhev/data-center/00000001-0001-0001-0001-000000000343/5= 72eabe7-15d0-42c2-8fa9-0bd773e22e2e/images/aff55e62-6a41-4f75-bbd3-78561ea= e18f3/<br = class=3D"">f520473e-8fbe-4886-bb64-921b42edf499,if=3Dnone,id=3Ddrive-virti= o-disk0,format=3Draw,serial=3Daff55e62-6a41-4f75-bbd3-78561eae18f3,cache=3D= none,werror=3Ds<br class=3D"">top,rerror=3Dstop,aio=3Dthreads -device = virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x5,drive=3Ddrive-virtio-disk= 0,id=3Dvirtio-disk0,bootindex=3D1 -netdev t<br = class=3D"">ap,fd=3D28,id=3Dhostnet0,vhost=3Don,vhostfd=3D29 -device = virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:1a:4a:16:01:51,bus=3Dp= ci.0,addr=3D0x7 -chardev soc<br = class=3D"">ket,id=3Dcharserial0,path=3D/var/run/ovirt-vmconsole-console/68= a82ada-a1d2-44d0-85b0-f3a08cc2f579.soc<br class=3D"">k,server,nowait = -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 -chardev = socket,id=3Dcharchannel0,path=3D/var/lib/libvirt/qemu/channels/68a82ada-a1= d2-44d0-85b0-f3a08cc2f579.com.redhat.rhevm.vdsm,server,nowait -device = virtserialport,bus=3Dvirtio-serial0.0,nr=3D1,chardev=3Dcharchannel0,id=3Dc= hannel0,name=3Dcom.redhat.rhevm.vdsm -chardev = socket,id=3Dcharchannel1,path=3D/var/lib/libvirt/qemu/channels/68a82ada-a1= d2-44d0-85b0-f3a08cc2f579.org.qemu.guest_agent.0,server,nowait -device = virtserialport,bus=3Dvirtio-serial0.0,nr=3D2,chardev=3Dcharchannel1,id=3Dc= hannel1,name=3Dorg.qemu.guest_agent.0 -chardev = spicevmc,id=3Dcharchannel2,name=3Dvdagent -device = virtserialport,bus=3Dvirtio-serial0.0,nr=3D3,chardev=3Dcharchannel2,id=3Dc= hannel2,name=3Dcom.redhat.spice.0 -spice = port=3D5901,tls-port=3D5902,addr=3D0,x509-dir=3D/etc/pki/vdsm/libvirt-spic= e,seamless-migration=3Don -vnc 0:3,password -device = qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D8388608,vgamem_mb=3D16= ,bus=3Dpci.0,addr=3D0x2 -device intel-hda,id=3Dsound0,bus=3Dpci.0,addr=3D0= x8 -device hda-duplex,id=3Dsound0-codec0,bus=3Dsound0.0,cad=3D0 -chardev = spicevmc,id=3Dcharredir0,name=3Dusbredir -device = usb-redir,chardev=3Dcharredir0,id=3Dredir0 -chardev = spicevmc,id=3Dcharredir1,name=3Dusbredir -device = usb-redir,chardev=3Dcharredir1,id=3Dredir1 -chardev = spicevmc,id=3Dcharredir2,name=3Dusbredir -device = usb-redir,chardev=3Dcharredir2,id=3Dredir2 -chardev = spicevmc,id=3Dcharredir3,name=3Dusbredir -device = usb-redir,chardev=3Dcharredir3,id=3Dredir3 -device = virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x6 -msg = timestamp=3Don<br class=3D"">2016-06-11T09:22:13.748410Z qemu-kvm: = warning: CPU(s) not present in any NUMA nodes: 1 2 3 4 5 6 7 8 9 10 11 = 12 13 14 15<br class=3D"">2016-06-11T09:22:13.748524Z qemu-kvm: warning: = All CPU(s) up to maxcpus should be described in NUMA config<br = class=3D"">main_channel_link: add main channel client<br = class=3D"">main_channel_handle_parsed: net test: latency 21.910000 ms, = bitrate 51635025 bps (49.242997 Mbps)<br class=3D"">inputs_connect: = inputs channel client create<br class=3D"">red_dispatcher_set_cursor_peer:= <br class=3D"">main_channel_handle_parsed: agent start<br = class=3D"">main_channel_handle_parsed: agent start<br class=3D""><br = class=3D""></div></div></div></div> _______________________________________________<br class=3D"">Users = mailing list<br class=3D""><a href=3D"mailto:Users@ovirt.org" = class=3D"">Users@ovirt.org</a><br = class=3D"">http://lists.ovirt.org/mailman/listinfo/users<br = class=3D""></div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_C49B3ADA-F4A5-46A0-9919-9539105F5C72--