All of lore.kernel.org
 help / color / mirror / Atom feed
From: razamatan <razamatan@hotmail.com>
To: kvm@vger.kernel.org
Subject: Re: SOLVED: RE: Garbled audio - Windows 7 64 bit guest on Debian
Date: Thu, 29 Nov 2012 07:23:12 +0000 (UTC)	[thread overview]
Message-ID: <loom.20121129T080915-382@post.gmane.org> (raw)
In-Reply-To: 477D878A06EA6742AA4384840FAF721E6418485A88@Exchserver2.internal.compu-share.com

Jimmy Crossley <jcrossley <at> CoNetrix.com> writes:

> 
> > -----Original Message-----
> > From: kvm-owner <at> vger.kernel.org [mailto:kvm-owner <at> vger.kernel.org] 
On Behalf Of Jimmy Crossley
> > Sent: Friday, June 08, 2012 17:29
> > Subject: Garbled audio - Windows 7 64 bit guest on Debian
> > 
> > I am experiencing garbled sound on a Windows 7 64 bit guest running under 64 
bit Debian.  I have
> > searched many discussion groups, etc. on the net and could find nothing 
useful, so I thought I would
> > post this here, hoping someone with a deeper understanding could help out.

** <snip>

> > If I connect to the machine using remote desktop (mstsc.exe, rdesktop, 
xfreerdp), the sound gets
> > redirected to the local machine and sounds perfect.  The sound is only 
garbled when using SDL.  The
> > same audio problems exist if I start up the machine and connect to it with 
vnc.
> > 
> 
> I have mostly solved this issue.  The sound works much, much, better, but is 
still not as good as on my host machine.
> 
> I installed PulseAudio and used it instead of ALSA.  In order to get kvm to 
use it, I set the environment
> variable QEMU_AUDIO_DRV=pa.  I had been using sudo to start the VM, and that 
kept this environment
> variable from being used.  I did a "sudo setcap cap_net_admin+ep /usr/bin/kvm" 
in order to be able to run
> kvm under a normal user account.  Now the sound works quite well.
> 
> 


i've pretty much nearly duplicated this setup (gentoo host, qemu-kvm 1.2.1, 
pulseaudio, sdl, emulated hda audio, windows 7 64bit sp1 guest) due to the same 
reasons and the same result.  however, as jcrossley mentioned, it's not as crisp 
as the host; there's a lot of crackling and popping still.

based on jcrossley's investigation using rdp instead (and seeing no ill effects 
wrt sound), wouldn't the issue be pointed at the hda emulation?

how would one go about getting involved in terms of helping out w/ the hda 
emulator?


  parent reply	other threads:[~2012-11-29  7:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-18 19:32 SOLVED: RE: Garbled audio - Windows 7 64 bit guest on Debian Jimmy Crossley
2012-06-19  9:21 ` Avi Kivity
2012-06-19 13:46   ` Jimmy Crossley
2012-11-29  7:23 ` razamatan [this message]
2012-12-06  8:38   ` Simon O'Riordan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20121129T080915-382@post.gmane.org \
    --to=razamatan@hotmail.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.