qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 393430] Re: kvm: use PulseAudio instead of ALSA
       [not found] <20090629112321.11928.45348.malonedeb@palladium.canonical.com>
@ 2010-05-19 19:40 ` Dustin Kirkland
  2010-05-19 19:47 ` Dustin Kirkland
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: Dustin Kirkland @ 2010-05-19 19:40 UTC (permalink / raw)
  To: qemu-devel

Hmm, I think upstream does prioritize pa over alsa.  Marking incomplete,
need to check that.

** Changed in: qemu
       Status: New => Incomplete

-- 
kvm: use PulseAudio instead of ALSA
https://bugs.launchpad.net/bugs/393430
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: Incomplete
Status in “kvm” package in Ubuntu: Incomplete
Status in “kvm” package in Debian: Fix Released

Bug description:
Binary package hint: kvm

kvm in jaunty prefers to use OSS drivers rather than ALSA:
# dpkg -l | grep kvm
ii  kvm            1:84+dfsg-0ubuntu11            Full virtualization on i386 and amd64 hardwa
# kvm -audio-help | grep ^Name
Name: oss
Name: alsa
Name: sdl
Name: pa
Name: none
Name: wav
#

Because of that, once a virtual machine with working audio card starts, the kvm grabs the audio card entirely for itself. Any subsequent operations on audio card either from the host machine, or from the other audio-enabled virtual machines lock up (apparently awaiting on on access to the audio card).

The bug is echo of the corresponding debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508018

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 393430] Re: kvm: use PulseAudio instead of ALSA
       [not found] <20090629112321.11928.45348.malonedeb@palladium.canonical.com>
  2010-05-19 19:40 ` [Qemu-devel] [Bug 393430] Re: kvm: use PulseAudio instead of ALSA Dustin Kirkland
@ 2010-05-19 19:47 ` Dustin Kirkland
  2010-05-19 20:02 ` Arie Skliarouk
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: Dustin Kirkland @ 2010-05-19 19:47 UTC (permalink / raw)
  To: qemu-devel

Hmm, I think upstream does prioritize pa over alsa.  Marking incomplete,
need to check that.

-- 
kvm: use PulseAudio instead of ALSA
https://bugs.launchpad.net/bugs/393430
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: Incomplete
Status in “kvm” package in Ubuntu: Incomplete
Status in “kvm” package in Debian: Fix Released

Bug description:
Binary package hint: kvm

kvm in jaunty prefers to use OSS drivers rather than ALSA:
# dpkg -l | grep kvm
ii  kvm            1:84+dfsg-0ubuntu11            Full virtualization on i386 and amd64 hardwa
# kvm -audio-help | grep ^Name
Name: oss
Name: alsa
Name: sdl
Name: pa
Name: none
Name: wav
#

Because of that, once a virtual machine with working audio card starts, the kvm grabs the audio card entirely for itself. Any subsequent operations on audio card either from the host machine, or from the other audio-enabled virtual machines lock up (apparently awaiting on on access to the audio card).

The bug is echo of the corresponding debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508018

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 393430] Re: kvm: use PulseAudio instead of ALSA
       [not found] <20090629112321.11928.45348.malonedeb@palladium.canonical.com>
  2010-05-19 19:40 ` [Qemu-devel] [Bug 393430] Re: kvm: use PulseAudio instead of ALSA Dustin Kirkland
  2010-05-19 19:47 ` Dustin Kirkland
@ 2010-05-19 20:02 ` Arie Skliarouk
  2011-08-26 23:47 ` Dave Walker
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: Arie Skliarouk @ 2010-05-19 20:02 UTC (permalink / raw)
  To: qemu-devel

KVM on lucid appears to prioritize pa:
#kvm -audio-help | grep ^Name
Name: pa
Name: alsa
Name: sdl
Name: oss
Name: none
Name: wav

but in effect alsa is still used... could it be related to the fact that
by default pulse-audio daemon is started per user, whereas kvm starts
the virtual machines before user has a chance to login?

-- 
kvm: use PulseAudio instead of ALSA
https://bugs.launchpad.net/bugs/393430
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: Incomplete
Status in “kvm” package in Ubuntu: Incomplete
Status in “kvm” package in Debian: Fix Released

Bug description:
Binary package hint: kvm

kvm in jaunty prefers to use OSS drivers rather than ALSA:
# dpkg -l | grep kvm
ii  kvm            1:84+dfsg-0ubuntu11            Full virtualization on i386 and amd64 hardwa
# kvm -audio-help | grep ^Name
Name: oss
Name: alsa
Name: sdl
Name: pa
Name: none
Name: wav
#

Because of that, once a virtual machine with working audio card starts, the kvm grabs the audio card entirely for itself. Any subsequent operations on audio card either from the host machine, or from the other audio-enabled virtual machines lock up (apparently awaiting on on access to the audio card).

The bug is echo of the corresponding debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508018

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 393430] Re: kvm: use PulseAudio instead of ALSA
       [not found] <20090629112321.11928.45348.malonedeb@palladium.canonical.com>
                   ` (2 preceding siblings ...)
  2010-05-19 20:02 ` Arie Skliarouk
@ 2011-08-26 23:47 ` Dave Walker
  2011-08-29 16:59 ` Serge Hallyn
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: Dave Walker @ 2011-08-26 23:47 UTC (permalink / raw)
  To: qemu-devel

The Debian big referenced suggested using ALSA over OSS, this bug is
related to favouring PA over ALSA.  The Debian issue was resolved with:

--- kvm-79+dfsg/debian/rules
+++ kvm-82+dfsg/debian/rules
@@ -141,7 +141,9 @@
 config.status: configure
 	dh_testdir
 	# Add here commands to configure the package.
-	./configure --prefix=/usr
+	./configure --prefix=/usr \
+                    --audio-drv-list="alsa oss sdl" \
+                    --audio-card-list="ac97 adlib cs4231a gus"
 
 
 build-arch: patch config.status build-arch-stamp


However, the current debian qemu-kvm package contains:
                    --audio-drv-list="alsa oss sdl pa" \
                    --audio-card-list="ac97 es1370 sb16 cs4231a adlib gus hda" \


Neither of these configure options are set in debian/rules.  This probably requires further investigation.

Thanks.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/393430

Title:
  kvm: use PulseAudio instead of ALSA

Status in QEMU:
  Incomplete
Status in “kvm” package in Ubuntu:
  Incomplete
Status in “kvm” package in Debian:
  Fix Released

Bug description:
  Binary package hint: kvm

  kvm in jaunty prefers to use OSS drivers rather than ALSA:
  # dpkg -l | grep kvm
  ii  kvm            1:84+dfsg-0ubuntu11            Full virtualization on i386 and amd64 hardwa
  # kvm -audio-help | grep ^Name
  Name: oss
  Name: alsa
  Name: sdl
  Name: pa
  Name: none
  Name: wav
  #

  Because of that, once a virtual machine with working audio card
  starts, the kvm grabs the audio card entirely for itself. Any
  subsequent operations on audio card either from the host machine, or
  from the other audio-enabled virtual machines lock up (apparently
  awaiting on on access to the audio card).

  The bug is echo of the corresponding debian bug:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508018

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/393430/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 393430] Re: kvm: use PulseAudio instead of ALSA
       [not found] <20090629112321.11928.45348.malonedeb@palladium.canonical.com>
                   ` (3 preceding siblings ...)
  2011-08-26 23:47 ` Dave Walker
@ 2011-08-29 16:59 ` Serge Hallyn
  2012-03-10  0:57 ` Clint Byrum
  2012-05-23 22:34 ` Serge Hallyn
  6 siblings, 0 replies; 7+ messages in thread
From: Serge Hallyn @ 2011-08-29 16:59 UTC (permalink / raw)
  To: qemu-devel

Can someone post a good test case, and expected and actual results at
this point?  Maybe an upstart job running

  kvm --audio-help  | grep ^Name

so that no user is logged in yet (per comment #14)?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/393430

Title:
  kvm: use PulseAudio instead of ALSA

Status in QEMU:
  Incomplete
Status in “kvm” package in Ubuntu:
  Incomplete
Status in “kvm” package in Debian:
  Fix Released

Bug description:
  Binary package hint: kvm

  kvm in jaunty prefers to use OSS drivers rather than ALSA:
  # dpkg -l | grep kvm
  ii  kvm            1:84+dfsg-0ubuntu11            Full virtualization on i386 and amd64 hardwa
  # kvm -audio-help | grep ^Name
  Name: oss
  Name: alsa
  Name: sdl
  Name: pa
  Name: none
  Name: wav
  #

  Because of that, once a virtual machine with working audio card
  starts, the kvm grabs the audio card entirely for itself. Any
  subsequent operations on audio card either from the host machine, or
  from the other audio-enabled virtual machines lock up (apparently
  awaiting on on access to the audio card).

  The bug is echo of the corresponding debian bug:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508018

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/393430/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 393430] Re: kvm: use PulseAudio instead of ALSA
       [not found] <20090629112321.11928.45348.malonedeb@palladium.canonical.com>
                   ` (4 preceding siblings ...)
  2011-08-29 16:59 ` Serge Hallyn
@ 2012-03-10  0:57 ` Clint Byrum
  2012-05-23 22:34 ` Serge Hallyn
  6 siblings, 0 replies; 7+ messages in thread
From: Clint Byrum @ 2012-03-10  0:57 UTC (permalink / raw)
  To: qemu-devel

Bump, fairly old issue here. I wonder if anybody is still affected on
recent releases of Ubuntu (including 10.04 but also 11.10 and precise.)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/393430

Title:
  kvm: use PulseAudio instead of ALSA

Status in QEMU:
  Incomplete
Status in “kvm” package in Ubuntu:
  Incomplete
Status in “kvm” package in Debian:
  Fix Released

Bug description:
  Binary package hint: kvm

  kvm in jaunty prefers to use OSS drivers rather than ALSA:
  # dpkg -l | grep kvm
  ii  kvm            1:84+dfsg-0ubuntu11            Full virtualization on i386 and amd64 hardwa
  # kvm -audio-help | grep ^Name
  Name: oss
  Name: alsa
  Name: sdl
  Name: pa
  Name: none
  Name: wav
  #

  Because of that, once a virtual machine with working audio card
  starts, the kvm grabs the audio card entirely for itself. Any
  subsequent operations on audio card either from the host machine, or
  from the other audio-enabled virtual machines lock up (apparently
  awaiting on on access to the audio card).

  The bug is echo of the corresponding debian bug:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508018

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/393430/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 393430] Re: kvm: use PulseAudio instead of ALSA
       [not found] <20090629112321.11928.45348.malonedeb@palladium.canonical.com>
                   ` (5 preceding siblings ...)
  2012-03-10  0:57 ` Clint Byrum
@ 2012-05-23 22:34 ` Serge Hallyn
  6 siblings, 0 replies; 7+ messages in thread
From: Serge Hallyn @ 2012-05-23 22:34 UTC (permalink / raw)
  To: qemu-devel

** Changed in: kvm (Ubuntu)
       Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/393430

Title:
  kvm: use PulseAudio instead of ALSA

Status in QEMU:
  Incomplete
Status in “kvm” package in Ubuntu:
  Fix Released
Status in “kvm” package in Debian:
  Fix Released

Bug description:
  Binary package hint: kvm

  kvm in jaunty prefers to use OSS drivers rather than ALSA:
  # dpkg -l | grep kvm
  ii  kvm            1:84+dfsg-0ubuntu11            Full virtualization on i386 and amd64 hardwa
  # kvm -audio-help | grep ^Name
  Name: oss
  Name: alsa
  Name: sdl
  Name: pa
  Name: none
  Name: wav
  #

  Because of that, once a virtual machine with working audio card
  starts, the kvm grabs the audio card entirely for itself. Any
  subsequent operations on audio card either from the host machine, or
  from the other audio-enabled virtual machines lock up (apparently
  awaiting on on access to the audio card).

  The bug is echo of the corresponding debian bug:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508018

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/393430/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-23 22:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20090629112321.11928.45348.malonedeb@palladium.canonical.com>
2010-05-19 19:40 ` [Qemu-devel] [Bug 393430] Re: kvm: use PulseAudio instead of ALSA Dustin Kirkland
2010-05-19 19:47 ` Dustin Kirkland
2010-05-19 20:02 ` Arie Skliarouk
2011-08-26 23:47 ` Dave Walker
2011-08-29 16:59 ` Serge Hallyn
2012-03-10  0:57 ` Clint Byrum
2012-05-23 22:34 ` Serge Hallyn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).