
Hello All, I've set up an all in one install on Ovirt3.5 All though I've done it before, for the life of me I can't get sound to work with Spice sessions. I tried auto, native, browser plugin and html5. Following this page: http://www.ovirt.org/develop/infra/testing/spice/ I've installed xorg-x11-drv-qxl and installed and started spice-vdagent in Edit virtual -machine-console, enable sound card is checked. What else is needed to get this to work? Many thanks for any advise Greetings, J.

Hi Johan, On Út, 2016-05-10 at 18:23 +0200, Johan Vermeulen wrote:
Hello All,
I've set up an all in one install on Ovirt3.5
All though I've done it before, for the life of me
I can't get sound to work with Spice sessions.
I tried auto, native, browser plugin and html5.
Following this page:. http://www.ovirt.org/develop/infra/testing/spice/
I've installed xorg-x11-drv-qxl and installed and started spice-vdagent
So the VM is Fedora/RHEL/CentOS? What is the client system and virt-viewer/remote-viewer version btw?
in Edit virtual -machine-console, enable sound card is checked.
can the VM see the soundcard? (look to Sound Settings or lspci or alsa utilities or ...)
What else is needed to get this to work?
If the sound card is not detected in the VM, can you paste qemu command line? (It's available on the host in /var/log/libvirt/qemu/VM_NAME.log, it's a very long line right after domain - VM in libvirt terminology - start message). HTH, David
Many thanks for any advise
Greetings, J. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hello David, thank you very much for the reply. Both host, client and the machine from wich I connect through Spice is Centos7 In the guest machine, I see an audio card with lspci: 00:04.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 01) Subsystem: Red Hat, Inc QEMU Virtual Machine Physical Slot: 4 Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at fe020000 (32-bit, non-prefetchable) [size=16K] Kernel driver in use: snd_hda_intel What I did now ( I think ) is check "use guest agent" in admin console and now it works. Thanks again for the help. greetings, J. 2016-05-11 7:16 GMT+02:00 David Jaša <djasa@redhat.com>:
Hi Johan,
On Út, 2016-05-10 at 18:23 +0200, Johan Vermeulen wrote:
Hello All,
I've set up an all in one install on Ovirt3.5
All though I've done it before, for the life of me
I can't get sound to work with Spice sessions.
I tried auto, native, browser plugin and html5.
Following this page:. http://www.ovirt.org/develop/infra/testing/spice/
I've installed xorg-x11-drv-qxl and installed and started spice-vdagent
So the VM is Fedora/RHEL/CentOS? What is the client system and virt-viewer/remote-viewer version btw?
in Edit virtual -machine-console, enable sound card is checked.
can the VM see the soundcard? (look to Sound Settings or lspci or alsa utilities or ...)
What else is needed to get this to work?
If the sound card is not detected in the VM, can you paste qemu command line? (It's available on the host in /var/log/libvirt/qemu/VM_NAME.log, it's a very long line right after domain - VM in libvirt terminology - start message).
HTH,
David
Many thanks for any advise
Greetings, J. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On St, 2016-05-11 at 16:31 +0200, Johan Vermeulen wrote:
Hello David,
thank you very much for the reply.
Both host, client and the machine from wich I connect through Spice is Centos7
In the guest machine, I see an audio card with lspci:
00:04.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 01) Subsystem: Red Hat, Inc QEMU Virtual Machine Physical Slot: 4 Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at fe020000 (32-bit, non-prefetchable) [size=16K] Kernel driver in use: snd_hda_intel
What I did now ( I think ) is check "use guest agent" in admin console and now it works.
This is weird, guest agent has nothing to do with audio - audio is driven purely by VM's OS components (PA and alsa in this case). Anyway, I'm glad it works for you. David
Thanks again for the help.
greetings, J.
2016-05-11 7:16 GMT+02:00 David Jaša <djasa@redhat.com>: Hi Johan,
On Út, 2016-05-10 at 18:23 +0200, Johan Vermeulen wrote: > Hello All, > > > I've set up an all in one install on Ovirt3.5 > > > All though I've done it before, for the life of me > > I can't get sound to work with Spice sessions. > > I tried auto, native, browser plugin and html5. > > > Following this page:. > http://www.ovirt.org/develop/infra/testing/spice/ > > I've installed xorg-x11-drv-qxl and installed and started > spice-vdagent
So the VM is Fedora/RHEL/CentOS? What is the client system and virt-viewer/remote-viewer version btw?
> > > in Edit virtual -machine-console, enable sound card is checked. >
can the VM see the soundcard? (look to Sound Settings or lspci or alsa utilities or ...)
> > What else is needed to get this to work? >
If the sound card is not detected in the VM, can you paste qemu command line? (It's available on the host in /var/log/libvirt/qemu/VM_NAME.log, it's a very long line right after domain - VM in libvirt terminology - start message).
HTH,
David
> > Many thanks for any advise > > Greetings, J. > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

And is audio supposed to work with auto, Native cliënt, html5,...every option? Op 11-mei-2016 16:45 schreef "David Jaša" <djasa@redhat.com>:
On St, 2016-05-11 at 16:31 +0200, Johan Vermeulen wrote:
Hello David,
thank you very much for the reply.
Both host, client and the machine from wich I connect through Spice is Centos7
In the guest machine, I see an audio card with lspci:
00:04.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 01) Subsystem: Red Hat, Inc QEMU Virtual Machine Physical Slot: 4 Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at fe020000 (32-bit, non-prefetchable) [size=16K] Kernel driver in use: snd_hda_intel
What I did now ( I think ) is check "use guest agent" in admin console and now it works.
This is weird, guest agent has nothing to do with audio - audio is driven purely by VM's OS components (PA and alsa in this case).
Anyway, I'm glad it works for you.
David
Thanks again for the help.
greetings, J.
2016-05-11 7:16 GMT+02:00 David Jaša <djasa@redhat.com>: Hi Johan,
On Út, 2016-05-10 at 18:23 +0200, Johan Vermeulen wrote: > Hello All, > > > I've set up an all in one install on Ovirt3.5 > > > All though I've done it before, for the life of me > > I can't get sound to work with Spice sessions. > > I tried auto, native, browser plugin and html5. > > > Following this page:. > http://www.ovirt.org/develop/infra/testing/spice/ > > I've installed xorg-x11-drv-qxl and installed and started > spice-vdagent
So the VM is Fedora/RHEL/CentOS? What is the client system and virt-viewer/remote-viewer version btw?
> > > in Edit virtual -machine-console, enable sound card is checked. >
can the VM see the soundcard? (look to Sound Settings or lspci or alsa utilities or ...)
> > What else is needed to get this to work? >
If the sound card is not detected in the VM, can you paste qemu command line? (It's available on the host in /var/log/libvirt/qemu/VM_NAME.log, it's a very long line right after domain - VM in libvirt terminology - start message).
HTH,
David
> > Many thanks for any advise > > Greetings, J. > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Audio should work with thick client (launched using both plug-in and .vv file - natively) in all cases. HTML5 client IIRC supports audio. It requires opus codec support on the server however which isn't included in el7 spice-server yet. Keep your fingers crossed for 7.3 or try with your own build of more recent spice server, rebuilt with opus support enabled (but in that case, use some _released_ version, the master has seen a lot of churn in last 1/2 year without much real-world testing). David On St, 2016-05-11 at 17:04 +0200, Johan Vermeulen wrote:
And is audio supposed to work with auto, Native cliënt, html5,...every option?
Op 11-mei-2016 16:45 schreef "David Jaša" <djasa@redhat.com>: On St, 2016-05-11 at 16:31 +0200, Johan Vermeulen wrote: > Hello David, > > > thank you very much for the reply. > > > Both host, client and the machine from wich I connect through Spice is > Centos7 > > In the guest machine, I see an audio card with lspci: > > 00:04.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 > Family) High Definition Audio Controller (rev 01) > Subsystem: Red Hat, Inc QEMU Virtual Machine > Physical Slot: 4 > Flags: bus master, fast devsel, latency 0, IRQ 11 > Memory at fe020000 (32-bit, non-prefetchable) [size=16K] > Kernel driver in use: snd_hda_intel > > > What I did now ( I think ) is check "use guest agent" in admin > console and now it works.
This is weird, guest agent has nothing to do with audio - audio is driven purely by VM's OS components (PA and alsa in this case).
Anyway, I'm glad it works for you.
David
> > > Thanks again for the help. > > > greetings, J. > > > > > 2016-05-11 7:16 GMT+02:00 David Jaša <djasa@redhat.com>: > Hi Johan, > > On Út, 2016-05-10 at 18:23 +0200, Johan Vermeulen wrote: > > Hello All, > > > > > > I've set up an all in one install on Ovirt3.5 > > > > > > All though I've done it before, for the life of me > > > > I can't get sound to work with Spice sessions. > > > > I tried auto, native, browser plugin and html5. > > > > > > Following this page:. > > http://www.ovirt.org/develop/infra/testing/spice/ > > > > I've installed xorg-x11-drv-qxl and installed and started > > spice-vdagent > > So the VM is Fedora/RHEL/CentOS? What is the client system and > virt-viewer/remote-viewer version btw? > > > > > > > in Edit virtual -machine-console, enable sound card is > checked. > > > > can the VM see the soundcard? (look to Sound Settings or lspci > or alsa > utilities or ...) > > > > > What else is needed to get this to work? > > > > If the sound card is not detected in the VM, can you paste > qemu command > line? (It's available on the host > in /var/log/libvirt/qemu/VM_NAME.log, > it's a very long line right after domain - VM in libvirt > terminology - > start message). > > HTH, > > David > > > > > Many thanks for any advise > > > > Greetings, J. > > _______________________________________________ > > Users mailing list > > Users@ovirt.org > > http://lists.ovirt.org/mailman/listinfo/users > > > > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On St, 2016-05-11 at 18:02 +0200, David Jaša wrote:
Audio should work with thick client (launched using both plug-in and .vv file - natively) in all cases.
HTML5 client IIRC supports audio. It requires opus codec support on the server however which isn't included in el7 spice-server yet. Keep your fingers crossed for 7.3 or try with your own build of more recent spice server, rebuilt with opus support enabled (but in that case, use some _released_ version, the master has seen a lot of churn in last 1/2 year without much real-world testing).
David
On St, 2016-05-11 at 17:04 +0200, Johan Vermeulen wrote:
And is audio supposed to work with auto, Native cliënt, html5,...every option?
Op 11-mei-2016 16:45 schreef "David Jaša" <djasa@redhat.com>: On St, 2016-05-11 at 16:31 +0200, Johan Vermeulen wrote: > Hello David, > > > thank you very much for the reply. > > > Both host, client and the machine from wich I connect through Spice is > Centos7 > > In the guest machine, I see an audio card with lspci: > > 00:04.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 > Family) High Definition Audio Controller (rev 01) > Subsystem: Red Hat, Inc QEMU Virtual Machine > Physical Slot: 4 > Flags: bus master, fast devsel, latency 0, IRQ 11 > Memory at fe020000 (32-bit, non-prefetchable) [size=16K] > Kernel driver in use: snd_hda_intel > > > What I did now ( I think ) is check "use guest agent" in admin > console and now it works.
This is weird, guest agent has nothing to do with audio - audio is driven purely by VM's OS components (PA and alsa in this case).
Anyway, I'm glad it works for you.
David
> > > Thanks again for the help. > > > greetings, J. > > > > > 2016-05-11 7:16 GMT+02:00 David Jaša <djasa@redhat.com>: > Hi Johan, > > On Út, 2016-05-10 at 18:23 +0200, Johan Vermeulen wrote: > > Hello All, > > > > > > I've set up an all in one install on Ovirt3.5 > > > > > > All though I've done it before, for the life of me > > > > I can't get sound to work with Spice sessions. > > > > I tried auto, native, browser plugin and html5. > > > > > > Following this page:. > > http://www.ovirt.org/develop/infra/testing/spice/ > > > > I've installed xorg-x11-drv-qxl and installed and started > > spice-vdagent > > So the VM is Fedora/RHEL/CentOS? What is the client system and > virt-viewer/remote-viewer version btw? > > > > > > > in Edit virtual -machine-console, enable sound card is > checked. > > > > can the VM see the soundcard? (look to Sound Settings or lspci > or alsa > utilities or ...) > > > > > What else is needed to get this to work? > > > > If the sound card is not detected in the VM, can you paste > qemu command > line? (It's available on the host > in /var/log/libvirt/qemu/VM_NAME.log, > it's a very long line right after domain - VM in libvirt > terminology - > start message). > > HTH, > > David > > > > > Many thanks for any advise > > > > Greetings, J. > > _______________________________________________ > > Users mailing list > > Users@ovirt.org > > http://lists.ovirt.org/mailman/listinfo/users > > > > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Sorry, once more: HTML5 client supports audio in trunk only so you'd have to grab it from there as well as spice-server... (spice-server has at least been released with html5 support). David On St, 2016-05-11 at 18:02 +0200, David Jaša wrote:
Audio should work with thick client (launched using both plug-in and .vv file - natively) in all cases.
HTML5 client IIRC supports audio. It requires opus codec support on the server however which isn't included in el7 spice-server yet. Keep your fingers crossed for 7.3 or try with your own build of more recent spice server, rebuilt with opus support enabled (but in that case, use some _released_ version, the master has seen a lot of churn in last 1/2 year without much real-world testing).
David
On St, 2016-05-11 at 17:04 +0200, Johan Vermeulen wrote:
And is audio supposed to work with auto, Native cliënt, html5,...every option?
Op 11-mei-2016 16:45 schreef "David Jaša" <djasa@redhat.com>: On St, 2016-05-11 at 16:31 +0200, Johan Vermeulen wrote: > Hello David, > > > thank you very much for the reply. > > > Both host, client and the machine from wich I connect through Spice is > Centos7 > > In the guest machine, I see an audio card with lspci: > > 00:04.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 > Family) High Definition Audio Controller (rev 01) > Subsystem: Red Hat, Inc QEMU Virtual Machine > Physical Slot: 4 > Flags: bus master, fast devsel, latency 0, IRQ 11 > Memory at fe020000 (32-bit, non-prefetchable) [size=16K] > Kernel driver in use: snd_hda_intel > > > What I did now ( I think ) is check "use guest agent" in admin > console and now it works.
This is weird, guest agent has nothing to do with audio - audio is driven purely by VM's OS components (PA and alsa in this case).
Anyway, I'm glad it works for you.
David
> > > Thanks again for the help. > > > greetings, J. > > > > > 2016-05-11 7:16 GMT+02:00 David Jaša <djasa@redhat.com>: > Hi Johan, > > On Út, 2016-05-10 at 18:23 +0200, Johan Vermeulen wrote: > > Hello All, > > > > > > I've set up an all in one install on Ovirt3.5 > > > > > > All though I've done it before, for the life of me > > > > I can't get sound to work with Spice sessions. > > > > I tried auto, native, browser plugin and html5. > > > > > > Following this page:. > > http://www.ovirt.org/develop/infra/testing/spice/ > > > > I've installed xorg-x11-drv-qxl and installed and started > > spice-vdagent > > So the VM is Fedora/RHEL/CentOS? What is the client system and > virt-viewer/remote-viewer version btw? > > > > > > > in Edit virtual -machine-console, enable sound card is > checked. > > > > can the VM see the soundcard? (look to Sound Settings or lspci > or alsa > utilities or ...) > > > > > What else is needed to get this to work? > > > > If the sound card is not detected in the VM, can you paste > qemu command > line? (It's available on the host > in /var/log/libvirt/qemu/VM_NAME.log, > it's a very long line right after domain - VM in libvirt > terminology - > start message). > > HTH, > > David > > > > > Many thanks for any advise > > > > Greetings, J. > > _______________________________________________ > > Users mailing list > > Users@ovirt.org > > http://lists.ovirt.org/mailman/listinfo/users > > > > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
David Jaša
-
Johan Vermeulen