Hi guys, I'm using libvirt and virt-manager for my GPU passthrough setup, with no-root. For the life of me, I can't figure out how to get pulseaudio working. Even though it is running as user, libvirt is trying to look in /root for pulse config files. The VM shows I have an audio device connected, but there is no sound passes through to me on the host. If I use a script with no libvirt, it works fine. If I use libvirt with no gpu passthrough, it works fine. I've pasted the log below. Please let me know if you have any ideas.
Thanks, sarnex Home directory not accessible: Permission denied W: [pulseaudio] core-util.c: Failed to open configuration file '/root/.config/pulse//daemon.conf': Permission denied W: [pulseaudio] daemon-conf.c: Failed to open configuration file: Permission denied pulseaudio: pa_context_connect() failed pulseaudio: Reason: Connection refused pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver Home directory not accessible: Permission denied W: [pulseaudio] core-util.c: Failed to open configuration file '/root/.config/pulse//daemon.conf': Permission denied W: [pulseaudio] daemon-conf.c: Failed to open configuration file: Permission denied audio: Failed to create voice `ac97.pi' Home directory not accessible: Permission denied W: [pulseaudio] core-util.c: Failed to open configuration file '/root/.config/pulse//daemon.conf': Permission denied W: [pulseaudio] daemon-conf.c: Failed to open configuration file: Permission denied ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.1/work/alsa-lib-1.1.1/src/pcm/pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave sdl: SDL_OpenAudio failed sdl: Reason: ALSA: Couldn't open audio device: Device or resource busy ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.1/work/alsa-lib-1.1.1/src/pcm/pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave sdl: SDL_OpenAudio failed sdl: Reason: ALSA: Couldn't open audio device: Device or resource busy audio: Failed to create voice `ac97.po' audio: Failed to create voice `ac97.mc' audio: Failed to create voice `ac97.pi' ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.1/work/alsa-lib-1.1.1/src/pcm/pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave sdl: SDL_OpenAudio failed sdl: Reason: ALSA: Couldn't open audio device: Device or resource busy ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.1/work/alsa-lib-1.1.1/src/pcm/pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave sdl: SDL_OpenAudio failed sdl: Reason: ALSA: Couldn't open audio device: Device or resource busy audio: Failed to create voice `ac97.po' audio: Failed to create voice `ac97.mc' 2016-04-18T02:27:04.033280Z qemu-system-x86_64: terminating on signal 15 from pid 5395 2016-04-18 02:27:05.634+0000: shutting down
_______________________________________________ vfio-users mailing list vfio-users@redhat.com https://www.redhat.com/mailman/listinfo/vfio-users