[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qemu-discuss
Subject:    Re: [Qemu-discuss] "main-loop: WARNING: I/O thread spun for 1000 iterations" when playing audio
From:       Aleksei <alex3kov () zoho ! com>
Date:       2016-09-25 15:01:02
Message-ID: 06a000cc-acf7-9ae3-80bd-acc49f3f7afa () zoho ! com
[Download RAW message or body]

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 <alex3kov@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


[Attachment #3 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body smarttemplateinserted="true" bgcolor="#FFFFFF" text="#000000">
    <div id="smartTemplate4-template">
      <p>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.</p>
      <p>System-wide ALSA config is /etc/asound.conf, user-specific is
        ~/.asoundrc. The syntax is not intuitive, to say the least.<br>
      </p>
      <p>See here:
<a class="moz-txt-link-freetext" \
href="https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Dmix">https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Dmix</a><br>
  </p>
    </div>
    <br>
    <div class="moz-signature"><i>--Regards, Aleksei</i>
    </div>
    <br>
    <div id="smartTemplate4-quoteHeader">
      <hr><br>
      <b>From:</b> Holger Wünsche<br>
      <b>Sent:</b> Sunday, September 25, 2016 5:40PM<br>
      <b>To:</b> Aleksei<br>
      <b>Subject:</b> Re: [Qemu-discuss] "main-loop: WARNING: I/O thread
      spun for 1000 iterations" when playing audio</div>
    <pre wrap="">On 25 September 2016 15:57:23 CEST, Aleksei <a \
class="moz-txt-link-rfc2396E" \
href="mailto:alex3kov@zoho.com">&lt;alex3kov@zoho.com&gt;</a> wrote: </pre>
    <blockquote type="cite">
      <pre wrap="">Hi,

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

Do you have pulseaudio on the host?
</pre>
    </blockquote>
    <pre wrap="">No I only use alsa and it is not installed.

</pre>
    <blockquote type="cite">
      <pre wrap="">Have you tried other soundhw models ("qemu-system-x86_64 -soundhw \
help" will tell you what's available). </pre>
    </blockquote>
    <pre wrap="">Yes, I tried some and they did not fix the problem.

</pre>
    <blockquote type="cite">
      <pre wrap="">What does your .asoundrc look like? Do you use ALSA's dmix?
</pre>
    </blockquote>
    <pre wrap="">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)

</pre>
    <blockquote type="cite">
      <pre wrap="">/--Regards, Aleksei/
</pre>
    </blockquote>
    <pre wrap="">


Holger Wünsche
</pre>
    <br>
  </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic