Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#34546 - [qemu] Please set the default audio driver to alsa.
Attached to Project:
Arch Linux
Opened by Kevin (gkjarch) - Monday, 01 April 2013, 11:33 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 05 April 2013, 12:50 GMT
Opened by Kevin (gkjarch) - Monday, 01 April 2013, 11:33 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 05 April 2013, 12:50 GMT
|
DetailsDescription:
I found the default qemu audio driver seems oss. I have to add environment variables "export QEMU_AUDIO_DRV=alsa" to make it work.The key is I usually run virtual machine with virt-manager, it has virtual network. I google it and found similar problem on Gentoo forum: http://forums.gentoo.org/viewtopic-t-920554-start-0.html. By the way, display use SDL. Additional info: * package version(s) 1.4.0-2 * config and/or log files etc. Output: [gkj@JG-Arch ~]$ bash qemu oss: Could not initialize ADC oss: Failed to open `/dev/dsp' oss: Reason: No such file or directory oss: Could not initialize ADC oss: Failed to open `/dev/dsp' oss: Reason: No such file or directory audio: Failed to create voice `ac97.pi' oss: Could not initialize DAC oss: Failed to open `/dev/dsp' oss: Reason: No such file or directory oss: Could not initialize DAC oss: Failed to open `/dev/dsp' oss: Reason: No such file or directory audio: Failed to create voice `ac97.po' ...... Steps to reproduce: use bash file, content like this: #!/bin/sh #export QEMU_AUDIO_DRV=alsa qemu-system-i386 -enable-kvm -usbdevice tablet -m 512 -vga vmware -soundhw ac97 -boot order=c -drive file=/home/VM/WinXP.img,if=virtio -net nic,model=virtio |
This task depends upon
It's not a compile option.