[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2017-07-11 Thread Launchpad Bug Tracker
[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.] ** Changed in: pulseaudio (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2017-07-11 Thread Launchpad Bug Tracker
[Expired for virt-manager (Ubuntu) because there has been no activity for 60 days.] ** Changed in: virt-manager (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2017-07-11 Thread Launchpad Bug Tracker
[Expired for libvirt (Ubuntu) because there has been no activity for 60 days.] ** Changed in: libvirt (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2017-05-12 Thread Daniel van Vugt
Thank you for reporting this bug to Ubuntu. Ubuntu 13.10 (saucy) reached end-of-life on July 17, 2014. See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases We appreciate that this bug may be old and you might not be interested in discussing it any more.

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2016-08-31 Thread Ubuntu QA Website
This bug has been reported on the Ubuntu ISO testing tracker. A list of all reports related to this bug can be found here: http://iso.qa.ubuntu.com/qatracker/reports/bugs/1246929 ** Tags added: iso-testing -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2014-09-04 Thread redger
Libvirt / Virt-Manager and host Alsa based sound == I have battled the same problem ... and managed to get it working on Trusty (1) this is all down to AppArmor (2) In order to run ALSA you will need the following apparmor entries, preferably in

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2014-09-04 Thread Raymond
AC97 is emulated sound card not any pci passthrough AFAIK, the emulated hda work in Ubuntu 11.10 but no longer work at later versions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1246929 Title:

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2014-09-04 Thread redger
the emulated HDA works fine in Windows 7 VM using the above, with proviso that I run VM as root, ie. /etc/libvirt/qemu.conf includes (in my case, which works) user = root group = root cgroup_device_acl = [ /dev/null, /dev/full, /dev/zero, /dev/random, /dev/urandom, /dev/ptmx,

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2014-01-03 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pulseaudio (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1246929 Title:

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-19 Thread Raymond
APLAY List of PLAYBACK Hardware Devices card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 3: ALC892 Digital [ALC892 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: NVidia [HDA

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-19 Thread Raymond
http://git.kernel.org/cgit/virt/kvm/qemu-kvm.git/log/audio/paaudio.c seem paaudio no longer use simple pulseaudio api -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1246929 Title: no audio in KVM

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-18 Thread Raymond
http://libvirt.org/git/?p=libvirt.git;a=commit;h=a216e6487255d3b65d97c7ec1fa5da63dbced902 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1246929 Title: no audio in KVM virtual machines : cannot

Re: [Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-18 Thread Serge Hallyn
To be clear, the qemu process is launched as my userid and /proc/$$/environ shows QEMU_AUDIO_DRV=pa. The 'outout' file in comment #41 shows the strace output which shows qemu opening some pulse cookies and doing some dbus transactions, presumably related to pulse. -- You received this bug

Re: [Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-18 Thread Serge Hallyn
Quoting Raymond (1246...@bugs.launchpad.net): http://libvirt.org/git/?p=libvirt.git;a=commit;h=a216e6487255d3b65d97c7ec1fa5da63dbced902 We're not running with -nographic though. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-16 Thread Serge Hallyn
** Changed in: libvirt (Ubuntu) Status: Incomplete = Confirmed ** Changed in: virt-manager (Ubuntu) Status: Incomplete = Confirmed ** Changed in: pulseaudio (Ubuntu) Status: Incomplete = New -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-16 Thread Serge Hallyn
At this point I don't know where the problem lies. When I follow https://wiki.ubuntu.com/PulseAudio/Log I don't see any attemps to connect by qemu. (Should I?) I've disabled seccomp (which I think is disabled by default), allowed all capabilities in the apparmor profile, and checked that

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-16 Thread Serge Hallyn
@Brian, if possible, could you please follow the steps in comment #40 and also comment out 'deny capability kill' in /etc/apparmor.d/abstractions /libvirt-qemu, restart libvirt (sudo stop libvirt-bin; sudo start libvirt-bin) or reboot, and see if that works for you? It is possible that my

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-16 Thread brian mullan
Serge I made the changes in comment #40 and the extra change in comment #42 but after reboot when I started Virt-Manager I immediately got a dialog box stating: Unable to connect to libvirt. Verify that: - The 'libvirt-bin' package is installed - The 'libvirtd' daemon has been started - You

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-16 Thread Raymond
are there any way to select alsa as backend ? https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/plain/Documentation/sound/alsa /HD-Audio.txt card 0: SB [HDA ATI SB], device 2: ALC892 Alt Analog [ALC892 Alt Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 for a desktop , you can

Re: [Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-16 Thread Serge Hallyn
Quoting Raymond (1246...@bugs.launchpad.net): are there any way to select alsa as backend ? Using 'export QEMU_AUDIO_DRV=alsa' in /etc/init/libvirt-bin should switch from pulse to alsa. Still no sound though when I do that. (Sorry if I misunderstood the question) -- You received this bug

Re: [Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-16 Thread Serge Hallyn
@Brian, Well shoot, I can't think what would have caused that. There may be useful info in /var/log/upstart/libvirt-bin.log or /var/log/libvirt/libvirtd.log. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-14 Thread brian mullan
any status on this bug? The last note was 11-13-2013 by Serge -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1246929 Title: no audio in KVM virtual machines : cannot select alsa or pa To manage

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-14 Thread Raymond
I do see the QEMU_AUDIO_DRV=none in env variable this mean kvm is using noaudio in backend dolog (Run with -audio-help to list available drivers\n); did you see any avaiable drivers when you use -audio-help ? -- You received this bug notification because you are a member of Ubuntu

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-12-14 Thread Serge Hallyn
Hi Brian, so the first steps in fixing this are as follows: 1. in /etc/libvirt/qemu.conf add the lines vnc_allow_host_audio = 1 user=bmullan group=bmullan 2. in /etc/init/libvirt-bin.conf, add the line export QEMU_AUDIO_DRV=pa right before the final exec, so 'script' block at the bottom

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-11-13 Thread Serge Hallyn
I suspect we can remove pulseaudio from the list of affected packages, but I'm not 100% certain. It comes down to why the libvirt-qemu user is not allowed to use pulseaudio devices, and where the cofniguration needs to be chagned to allow it. ** Changed in: libvirt (Ubuntu) Importance:

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-11-13 Thread Raymond
but pulseaudio backend allow you to change the address of pulseaudio server does this mean that you can send the audio to the remote pa sink and souce even your machine run kvm don't have any real sound card ? pa-s = pa_simple_new ( conf.server, qemu, PA_STREAM_PLAYBACK,

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-11-13 Thread Raymond
for always, you can also specify DAC_DEV and ADC_DEV for different sound cards on your real machine or device null if you have more than one vm do you mean both alsa or pulseaudio backend were not build in Ubuntu kvm package ? static struct audio_option alsa_options[] = { { .name

Re: [Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-11-13 Thread Serge Hallyn
do you mean both alsa or pulseaudio backend were not build in Ubuntu kvm package ? Both are built-in. the driver list is pa,alsa,dsl,oss (in order). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1246929] Re: no audio in KVM virtual machines : cannot select alsa or pa

2013-11-08 Thread Raymond
** Summary changed: - alsa bug in KVM virtual machines + no audio in KVM virtual machines : cannot select alsa or pa -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1246929 Title: no audio in KVM