If I understand ALSA correctly, not using dmix will cause sound-producing applications to grab the sound card exclusively if it doesn't support HW mixing. I would try it in any case, if only to eliminate problems on the host side.

System-wide ALSA config is /etc/asound.conf, user-specific is ~/.asoundrc. The syntax is not intuitive, to say the least.

See here: https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Dmix


/--Regards, Aleksei/

------------------------------------------------------------------------

*From:* Holger Wünsche
*Sent:* Sunday, September 25, 2016 5:40PM
*To:* Aleksei
*Subject:* Re: [Qemu-discuss] "main-loop: WARNING: I/O thread spun for 1000 iterations" when playing audio

On 25 September 2016 15:57:23 CEST, Aleksei <alex3...@zoho.com> wrote:

Hi,

I didn't have this issue, so here are my wild pointers :)

Do you have pulseaudio on the host?

No I only use alsa and it is not installed.

Have you tried other soundhw models ("qemu-system-x86_64 -soundhw help" will 
tell you what's available).

Yes, I tried some and they did not fix the problem.

What does your .asoundrc look like? Do you use ALSA's dmix?

As far as I can see dmix should not be used. (I might miss something, but I 
could not find any '*asound*' on my drive. Not in /etc/ nor in my home 
directory. Also it is not shown when I type aplay -lL)

/--Regards, Aleksei/



Holger Wünsche


Reply via email to