<p dir="ltr">Hi Nable, sorry to hear you are running into this bug.</p>
<p dir="ltr">On Jun 29, 2014 7:52 AM, "Nable 80" <<a href="mailto:nable.maininbox@googlemail.com">nable.maininbox@googlemail.com</a>> wrote:<br>
><br>
> Included version of PulseAudion consumes too much CPU with default settings.<br>
> I've observed such behaviour on my laptop with single core CPU and<br>
> WinXP SP3 x86.</p>
<p dir="ltr">1. Does this happen on 4.0.2.0? Both versions use PulseAudio 5.0. They even use the same exact build of PulseAudio.<br>
2. On 4.0.2.0 at least, I've observed this bug on my VM with the same OS. I assumed it was a compatibility bug with the virtual hardware (fedora 20 KVM, I'll check what sound adapter model).</p>
<p dir="ltr">> It looks like pulseaudio.exe uses some polling:<br>
> (stacktrace from Process Explorer)<br>
> ntdll.dll!KiFastSystemCallRet<br>
> USER32.dll!GetLastInputInfo+0x105<br>
> USER32.dll!MsgWaitForMultipleObjects+0x1f<br>
> libpulsecommon-5.0.dll!pa_poll+0x2f7<br>
> libpulse-0.dll!pa_mainloop_poll+0x185<br>
> pulseaudio.exe+0x13de<br>
> kernel32.dll!RegisterWaitForInputIdle+0x49</p>
<p dir="ltr">I'm not familiar much with polling.</p>
<p dir="ltr">> and frequency depends on priority of process.<br>
> By default pulseaudio.exe is started with high priority (13, I don't<br>
> know whether<br>
> this setting is set by PA or X2Go Client) and it leads to ~100% CPU load.<br>
> When I set priority to "Above Normal (10)" PA's CPU load drops to 10-20%.<br>
> With "Normal (8)" it drops to almost 0%, although sound is still played stable,<br>
> without any additional delays.</p>
<p dir="ltr">1. I'm assuming our x2goclient code sets that priority. Id probably be ok with setting it to normal priority instead. I'll probably look into this matter today or tomorrow.</p>
<p dir="ltr">2. Could you please report this as a bug?<br>
<a href="http://wiki.x2go.org/doku.php/wiki:bugs">http://wiki.x2go.org/doku.php/wiki:bugs</a></p>
<p dir="ltr">3. Mike1#, I'd like this to block 4.0.2.1. Especially because my this bug interferes with XP users using their computer, the computer becomes very unresponsive.</p>
<p dir="ltr">-Mike#2<br>
Windows maintainer for X2Go Client</p>