<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Windows XP: PulseAudio consumes too much CPU when launched with high priority"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80772">80772</a>
</td>
</tr>
<tr>
<th>CC</th>
<td>lennart@poettering.net
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Windows XP: PulseAudio consumes too much CPU when launched with high priority
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mikedep333@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86 (IA32)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>misc
</td>
</tr>
<tr>
<th>Product</th>
<td>PulseAudio
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=102099" name="attach_102099" title="PulseAudio log while this bug is reproduced on XP SP3 32-bit">attachment 102099</a> <a href="attachment.cgi?id=102099&action=edit" title="PulseAudio log while this bug is reproduced on XP SP3 32-bit">[details]</a></span>
PulseAudio log while this bug is reproduced on XP SP3 32-bit
As reported in the X2Go bugtracker (<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Add segment separator drawing feature"
href="show_bug.cgi?id=526">bug #526</a> by "Nable 80"):
<a href="http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=526">http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=526</a>
When I use sound forwarding and launch inside X2Go session some application
with sound support, pulseaudio.exe at client side starts consuming ~100% CPU.
By default, X2Go Client starts pulseaudio.exe with high priority (13).
When I set priority to "Above Normal (10)" PA's CPU load drops to 10-20%.
With "Normal (8)" it drops to almost 0%, although sound is still played stable,
without any additional delays.
I'm using WinXP SP3 (32-bit) on my laptop with single core CPU.
This issue seems to be "PulseAudio 5.0 && WinXP"-specific.
--------
As I mentioned in a follow-up, I was able to reproduce this issue on a VM.
("setup #2") Therefore, I assume it affects all Windows XP machines. The VM
was dual-core and only 1 CPU core was being maxed out by PulseAudio.
I also assume it affects windows server 2003 and server 2003 R2 due to their
similarity with Windows XP. Those 2 server OS's are supported by Microsoft
through July 2015.
For now, we on the X2Go project plan to work around this bug by lowering the
priority of PulseAudio, but only when we are running on Windows XP or server
2003 (R2). We ship & use PulseAudio 5.0 on Windows.
I ran into another bug ("setup #1") (I cloned it as <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Land XPRINT branch on XORG-CURRENT"
href="show_bug.cgi?id=530">bug #530</a>), but I think that
an OS misconfiguration that was at fault. So just ignore that in this bug
report.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>