Skip to contentSkip to conversation

qemu/kvm seems to take ALSA all for itself?

DISCUSSION David Abrahams 3 participants 5 messages May 21, 2007 – May 23, 2007 2 messages not in the archive KVM

lore
Share & tools
lore
#0 lore raw

When I have windows XP running under kvm, I get

  dave@grogan:/tmp$ aplay /usr/share/sounds/gaim/receive.wav 
  ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
  aplay: main:550: audio open error: Device or resource busy

As soon as I shut down my VM, though, it works perfectly. Is this expected behavior?

Signature · 10 lines
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 9 lines · David Abrahams

When I have windows XP running under kvm, I get

  dave@grogan:/tmp$ aplay /usr/share/sounds/gaim/receive.wav 
  ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
  aplay: main:550: audio open error: Device or resource busy

As soon as I shut down my VM, though, it works perfectly. Is this expected behavior?

I think you have to set up a mixer or something. But I'd rather be deaf than have to wade through all the pseudo-documentation in order to find out how.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
#3 lore raw
Quoted 7 lines · Avi Kivity
Quoted 6 lines · David Abrahams

When I have windows XP running under kvm, I get

  dave@grogan:/tmp$ aplay /usr/share/sounds/gaim/receive.wav 
  ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
  aplay: main:550: audio open error: Device or resource busy
Quoted 7 lines
Quoted 3 lines

As soon as I shut down my VM, though, it works perfectly. Is this expected behavior?

I think you have to set up a mixer or something. But I'd rather be deaf than have to wade through all the pseudo-documentation in order to find out how.

Maybe I wasn't sufficiently clear. Sound in the VM works fine; it just seems to kill sound in the host... or is the mixer somehow supposed to cure that?

Signature · 10 lines
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 1 line · On Tuesday 22 May 2007 23:37:56 David Abrahams wrote:

on Mon May 21 2007, Avi Kivity

Quoted 10 lines · <avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org> wrote:
Quoted 10 lines
Quoted 8 lines · David Abrahams

When I have windows XP running under kvm, I get

  dave@grogan:/tmp$ aplay /usr/share/sounds/gaim/receive.wav
  ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
  aplay: main:550: audio open error: Device or resource busy

As soon as I shut down my VM, though, it works perfectly. Is this expected behavior?

Quoted 7 lines
Quoted 3 lines

I think you have to set up a mixer or something. But I'd rather be deaf than have to wade through all the pseudo-documentation in order to find out how.

Maybe I wasn't sufficiently clear. Sound in the VM works fine; it just seems to kill sound in the host... or is the mixer somehow supposed to cure that?

Same issue here, even though my sound card supports hardware mixing (i.e., I don't use any sound daemons and can play more than one sound at the same time).

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

#6 lore raw
In reply to a message not in the archive
Quoted 15 lines · David Abrahams
Quoted 12 lines · Avi Kivity
Quoted 10 lines · David Abrahams

When I have windows XP running under kvm, I get

  dave@grogan:/tmp$ aplay /usr/share/sounds/gaim/receive.wav 
  ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
  aplay: main:550: audio open error: Device or resource busy

As soon as I shut down my VM, though, it works perfectly. Is this expected behavior?

Quoted 10 lines
Quoted 4 lines

I think you have to set up a mixer or something. But I'd rather be deaf than have to wade through all the pseudo-documentation in order to find out how.

Maybe I wasn't sufficiently clear. Sound in the VM works fine; it just seems to kill sound in the host... or is the mixer somehow supposed to cure that?

I have a similar problem where running a Java virtual machine kills sound to other apps. I assume that a mixer will fix this, but have been unable to get it to work.

Looks like this is a similar problem.

Signature · 8 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/