no sound in spice when VNC enabled

Bug #1900352 reported by azrdev
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Running Fedora32 with virt-manager → libvirt → qemu I noticed that I got no sound in my spice client. The VM is configured with a SPICE-server and a QXL display, and in addition a VNC display.

Apparently when I remove the VNC display, then the sound is routed just fine to the spice client: I can hear it, and `G_MESSAGES_DEBUG=all remote-viewer --spice-debug spice://localhost:5900` mentions SpicePlaybackChannel and SpiceRecordChannel. With the VNC server configured, such messages are missing, and I cannot hear the sound (which is sent by the guest OS to the virtual hardware).


azrdev (azrdev)
description: updated
Revision history for this message
Gerd Hoffmann (kraxel-redhat) wrote :

What is in the libvirt logs (/var/log/libvirt/qemu/${guest}.log) ?

Revision history for this message
Daniel Berrange (berrange) wrote :

If VNC is enabled, then libvirt sets QEMU_AUDIO_DRV=none unless /etc/libvirt/qemu.conf is set to allow output to host audio.

Clearly this doesn't do the right thing when SPICE is present at the same time as VNC, but that's libvirt's fault rather than QEMU.

Revision history for this message
Thomas Huth (th-huth) wrote :

So if this is libvirt's fault, can we close this ticket here? Has anybody already reported this to in the libvirt bug tracker?

Changed in qemu:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for QEMU because there has been no activity for 60 days.]

Changed in qemu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers