Hi,
ok, after some testing: the problem is actually that the libvirt-qemu
user is not allowed to access some files. I've not tracked down exactly
which ones are the problem, but when I run
kvm -hda x.img -cdrom ubuntu_precise-desktop-amd64.iso -m 1G \
-smp 2 -vnc :1 -device AC97
there was no kvm connect in your pulseaudio verbose log ,
do you get any sound or connection log if you select other backend alsa , pa,
sdl, oss using QEMU_AUDIO_DRV ?
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/saucy/qemu-
kvm/saucy/view/head:/audio/alsaaudio.c
struct audio_driver al
Raymond ... you asked for:
>>post the pulseaudio verbose log in your real machine and check whether kvm is
>>accessing through alsa-plugin or pulseaudio native api
See attached.
Still no audio heard in VM
** Attachment added: "pulseaudio verbose log while KVM VM is running AND w/AC97
enabled
Serge you asked...
>>No, wait. If I specify AC97 audio when setting up the vm in virt-manager (by
>>specifying "customize config before install"), I do see >>the
>>QEMU_AUDIO_DRV=none in env variable, but kvm is started with -device AC97,...
>>
>>Can you please re-try specifying AC97 when creatin
use -audio-help to list the available backend
if (!found) {
dolog ("Unknown audio driver `%s'\n", drvname);
dolog ("Run with -audio-help to list available drivers\n");
}
}
if (!done) {
for (i = 0; !done && i < ARRAY_SIZE (drvtab); i++) {
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/saucy/qemu-
kvm/saucy/view/head:/audio/noaudio.c
specify none is selectIng noaudio (timer based audio emulation)
struct audio_driver no_audio_driver = {
.name = "none",
.descr = "Timer based audio emulation",
.opt
post the pulseaudio verbose log in your real machine and check whether
kvm is accessing through alsa-plugin or pulseaudio native api
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/124
AC97 is the emulated sound card inside KVM, you must configure kvm to
use a backend to access your real sound card
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1246929
Title:
als
No, wait. If I specify AC97 audio when setting up the vm in virt-
manager (by specifying "customize config before install"), I do see the
QEMU_AUDIO_DRV=none in env variable, but kvm is started with -device
AC97,...
Can you please re-try specifying AC97 when creating the VM and see if
you get wor
** No longer affects: qemu-kvm (Ubuntu)
** Also affects: virt-manager (Ubuntu)
Importance: Undecided
Status: New
** Changed in: virt-manager (Ubuntu)
Importance: Undecided => Medium
** Changed in: virt-manager (Ubuntu)
Status: New => Confirmed
** Also affects: libvirt (Ubunt
** Package changed: alsa-driver (Ubuntu) => qemu-kvm (Ubuntu)
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1246929
Title:
alsa bug in KVM virtual machines
Status in “pulseaudio”
you have to ask the package maintainer since the default is specifed in
CONFIG_AUDIO_DRIVERS during build
/* Order of CONFIG_AUDIO_DRIVERS is import.
The 1st one is the one used by default, that is the reason
that we generate the list.
*/
static struct audio_driver *drvtab[] = {
#ifdef CON
Raymond...
Here is some more info. I created a 2nd KVM VM using the same ubuntu 13.10
desktop .ISO and all default virt-manager settings
once the new VM (called test) was created again there was no Audio.
So I checked:
/var/log/libvirt/qemu/test.log file and found: QEMU_AUDIO_DRV=none
as be
Raymond..
I am using virt-manager not the cli to create/manage my KVM VM's.
I did check in case QEMU_AUDIO_DRV is supposed to be an environment
variable either in the Host OS or the VM itself so just in case I did
check and there is no ENV present (printenv QEMU_AUDIO_DRV) in either.
I also chec
what do mean when you say sound not working ?
> Title: PCI/internal sound card not detected
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1246929
Title:
alsa bug in KVM virtual
just want to verify which audio backend you are using ?
what is the value of QEMU_AUDIO_DRV ?
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1246929
Title:
alsa bug in KVM virtua
do you mean audio work with the emulated hda sound card before you upgrade ? or
just other emulated sound card work before upgrade since the emulated hda sound
card is quite new compared with emulated AC97 sound card ?
Since upgrading to Ubuntu 13.10 audio no longer works in KVM.
Checking SYSL
Raymond.. I thought I'd check because I'm not sure if you are waiting on
any info from me or not
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1246929
Title:
alsa bug in KVM virt
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/saucy/qemu-
kvm/saucy/view/head:/audio/audio.c
you can select different backend by export QEMU_AUDIO_DRV=
there are other options TIMER_PERIOD, LOG_TO_MONITOR,
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/saucy/qemu-kvm/saucy/view/
it is pulseaudio call snd_pcm_start at
37.726| 0.000) I: [alsa-sink-Intel ICH] alsa-sink.c: Starting
playback.
so you have to find out why pulseaudio did not write any data to alsa-sink
( 37.702| 32.638) I: [pulseaudio] client.c: Created 3 "Native client (UNIX
socket client)"
( 37.704|
seem get a poll from the emulated ICH controller just at the time of
starting capture 0.052 , there is no data to read of course
( 0.050| 0.000) D: [pulseaudio] alsa-util.c: Hardware PCM card 0 'Intel
82801AA-ICH' device 0 subdevice 0
( 0.050| 0.000) D: [pulseaudio] alsa-util.c: Its setu
# define QEMU_HDA_ID_OUTPUT ((QEMU_HDA_ID_VENDOR << 16) | 0x11)
# define QEMU_HDA_ID_DUPLEX ((QEMU_HDA_ID_VENDOR << 16) | 0x21)
# define QEMU_HDA_ID_MICRO ((QEMU_HDA_ID_VENDOR << 16) | 0x31)
# define QEMU_HDA_AMP_CAPS QEMU_HDA_AMP_NONE
0x21 mean the emulated codec does not has any amp (volu
http://git.kernel.org/cgit/virt/kvm/qemu-kvm.git/plain/hw/ac97.c
the emulated ac97 emulate 82801AA (ICH)
static void ac97_class_init (ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS (klass);
PCIDeviceClass *k = PCI_DEVICE_CLASS (klass);
k->init = ac97_initfn;
k->
Raymond... pls keep in mind I'm not a developer. I want to help with
this problem but you have to give me end-user understandable questions.
>>do you mean the emulated hda sound card (QEMU_HDA_ID_DUPLEX) ?
>>http://git.kernel.org/cgit/virt/kvm/qemu-kvm.git/plain/hw/hda-audio.c
You also asked:
All of this is on a 2nd machine of mine with a fresh Ubuntu 13.10 install on a
new hard disk.
The KVM is the default install.
The KVM VM was created using the default Ubuntu 13.10 Desktop ISO image.
Note that I started with this 2nd machine because my primary Ubuntu
13.10 machine (which was an up
which backend audio are you using ?
http://git.kernel.org/cgit/virt/kvm/qemu-kvm.git/tree/audio
alsa , pulseaudio or sdl
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1246929
Tit
do you mean the emulated hda sound card (QEMU_HDA_ID_DUPLEX) ?
http://git.kernel.org/cgit/virt/kvm/qemu-kvm.git/plain/hw/hda-audio.c
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1
Raymond...
Sorry, not sure what you mean by -- which is "alsa source-ID 21 Analog"
?
Also... the previous messages are from /var/log/syslog inside the KVM VM
Ubuntu 13.10 running image... not from the Host OS.
--
You received this bug notification because you are a member of Desktop
Packages, w
Oct 31 15:32:31 bmullan-virtual-machine pulseaudio[1814]: [alsa-source-ID 21
Analog] alsa-source.c: ALSA woke us up to read new data from the device, but
there was actually nothing to read!
Oct 31 15:32:31 bmullan-virtual-machine pulseaudio[1814]: [alsa-source-ID 21
Analog] alsa-source.c: Most
7.726| 0.000) D: [pulseaudio] reserve-wrap.c: Successfully acquired
reservation lock on device 'Audio0'
( 37.726| 0.000) I: [alsa-sink-Intel ICH] alsa-sink.c: Trying resume...
( 37.726| 0.000) D: [alsa-sink-Intel ICH] alsa-util.c: Maximum hw buffer
size is 371 ms
( 37.726| 0.000) D: [a
see attached pulseverbose.log
In the KVM 13.10 VM ... all I've been doing is using firefox to go to YouTube
and then start a YouTube video up.
But no sound/audio is presented.
** Attachment added: "pulseverbose.log"
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1246929/+attach
post the pulseaudio verbose log inside kvm
what kind of application can reproduce your case ?
https://wiki.ubuntu.com/PulseAudio/Log
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/
I've tried:
ICH6
- that was the orig default in the VM when created
AC97
I cleared syslog
- I changed to AC97 (shutdown vm and restarted it & verified it was now set to
AC97)
and got this in syslog which appears the SAME as with ICH6 despite having
switch to AC97:
Nov 1 06:27:52 bmullan-virtua
** Changed in: alsa-driver (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1246929
Title:
alsa bug in KVM virtual machines
Status in “als
https://wiki.ubuntu.com/PulseAudio/Log
which emulated sound card are you using inside kvm ?
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1246929
Title:
alsa bug in KVM virtual
35 matches
Mail list logo