[fedora-virt] xinit, Spice and sound

Cole Robinson crobinso at redhat.com
Tue Jul 9 12:33:27 UTC 2013


On 07/09/2013 07:06 AM, Eric Viseur wrote:
> Hi,
> 
> Back with one more (probably last for the moment) problem, with sound this time.
> 
> When I connect to a Windows 7 (ich6 audio device) with virt-manager or spicec
> from Gnome, sound works like a charm.
> However, for the intended use, my standard boot sequence is booting Fedora in
> the multi-user.target (runlevel 3), and run spicec with xinit.
> In this situation, I logically get a connection refused to pulseaudio since it
> isn't running.  If I start pulseaudio with start-pulseaudio-x11 as the user
> running spicec, I don't get any errors, but no sound either.
> 
> I know this has more to do with pulseaudio than virtualization, however, since
> I know sound has been a long time issue with Spice on previous versions, maybe
> someone can help me on this ?
> 

No ideas from me, though you can eliminate qemu/spice from the equation by
seeing if 'pacat /dev/urandom' actually generates any sound when run from the
host. If not, it's strictly an environment/pulseaudio issue. Turn down your
volume first since the noise is pretty offensive if it works :)

- Cole


More information about the virt mailing list