[Bug 393430] Re: kvm: please prefer ALSA over OSS
Arie Skliarouk
skliarie at gmail.com
Mon Oct 12 17:30:42 BST 2009
I did dist-upgrade and now the situation is the same as in the bug
description, so we are squarely at the beginning:
... 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).
# lsof | grep snd
kvm 2085 root mem REG 8,1 385016 12068460 /usr/lib/libsndfile.so.1.0.20
kvm 2093 root mem REG 8,1 385016 12068460 /usr/lib/libsndfile.so.1.0.20
kvm 5343 root mem CHR 116,7 3967 /dev/snd/pcmC0D0c
kvm 5343 root mem REG 8,1 385016 12068460 /usr/lib/libsndfile.so.1.0.20
kvm 5343 root mem CHR 116,6 3963 /dev/snd/pcmC0D0p
kvm 5343 root 20r CHR 116,2 0t0 3859 /dev/snd/timer
kvm 5343 root 21u CHR 116,6 0t0 3963 /dev/snd/pcmC0D0p
kvm 5343 root 22u CHR 116,9 0t0 3971 /dev/snd/controlC0
kvm 5343 root 23r CHR 116,2 0t0 3859 /dev/snd/timer
kvm 5343 root 24u CHR 116,7 0t0 3967 /dev/snd/pcmC0D0c
kvm 5343 root 25u CHR 116,9 0t0 3971 /dev/snd/controlC0
gnome-set 5541 gdm mem REG 8,1 385016 12068460 /usr/lib/libsndfile.so.1.0.20
pulseaudi 5559 gdm mem REG 8,1 385016 12068460 /usr/lib/libsndfile.so.1.0.20
gconf-hel 5561 gdm mem REG 8,1 385016 12068460 /usr/lib/libsndfile.so.1.0.20
#
I though that alsa interface to sound card allows several users simultaneously...
Will running kvm with pa (pulseaudio) driver solve the problem? How can I do that?
--
kvm: please prefer ALSA over OSS
https://bugs.launchpad.net/bugs/393430
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in ubuntu.
More information about the Ubuntu-server-bugs
mailing list