Re: QEMU VNC Audio Patch



On Fri, Dec 09, 2011 at 11:27:12AM -0500, Steven Carr wrote:
> On Friday 09 December 2011 10:41:55 you wrote:
> I'm betting that your guest OS is not using DMA for audio output.   If I were 
> writing the virtual driver in QEMU, I would be passing the packet data from 
> the virtual driver to the VNC connection as I received the data.   Which would 
> lead me to think that your receiving a trickle of data because QEMU is 
> receiving it from the guest OS in a trickle form.   Is your guest using SB16 
> emulation?
> 
> I just put a printf() in the example viewer for audio output packet data and I 
> am receiving an average audio packet data size of 740 bytes (roughly 185 
> samples).
> > >    In my case, I am not trying to play video games or watch movies in my
> > > VM. I am really looking for 1/3 second audio alerts from pidgin so I
> > > don't have to keep checking to see if any of my co-workers has sent me a
> > > message.   But I can see people trying to run some sort of full
> > > audio/video multimedia application on a Pentium 3 and complaining about
> > > it.
> > 
> > Yeah, even your minimal use case is a good step forward. If people want
> > to watch full screen video inside a VM they really ought to just use
> > SPICE isntead, since that does some very clever stuff to optimize video
> > playback. Thanks for your  patches. I make ask you to test again once
> > I've done some more coding to check it still works well for you.
> > 
> > Regards,
> > Daniel
> > 
> 
> Versions of the software I am using on the Host.   Just an FYI
> 
> [scarr@bumblebee examples]$ rpm -qa | grep qemu
> qemu-kvm-0.12.1.2-2.160.el6_1.2.x86_64
> gpxe-roms-qemu-0.9.7-6.7.el6.noarch
> qemu-img-0.12.1.2-2.160.el6_1.2.x86_64
> 
> [scarr@bumblebee examples]$ rpm -qa | grep virt
> python-virtinst-0.500.5-3.el6.noarch
> libvirt-java-0.4.7-1.el6.noarch
> libvirt-0.8.7-18.el6_1.1.x86_64
> virt-manager-0.8.6-4.el6.noarch
> libvirt-devel-0.8.7-18.el6_1.1.x86_64
> virt-viewer-0.2.1-3.el6.x86_64
> libvirt-python-0.8.7-18.el6_1.1.x86_64
> virt-top-1.0.4-3.8.el6.x86_64
> libvirt-java-devel-0.4.7-1.el6.noarch
> libvirt-client-0.8.7-18.el6_1.1.x86_64
> 
> I would be happy to be a test subject for your changes,

I've just pushed the audio patches to GIT, along with a big code style
cleanup i've had pending for ages. Hopefully it will still be working
for you...

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]