by BasiK » Fri Jul 20, 2012 12:26 pm
Didn't know if I should have made an extra post for this, but well... it's about the idle cpu load of XBMC on the RPi.
When idle, my xbmc uses about 70 to 90 % cpu. I checked the net for solutions and what I can find is that you need an 'advancedsettings.xml' file in the ~/.xbmc/userdata/ directory. This file should contain the gui setting <algorithmdirtyregions>3</algorithmdirtyregions>. I added the file and even used all of the advanced settings that OpenELEC uses (on which I know, idle xbmc only uses about 20 to 30% cpu), but I still got my high cpu load. The xbmc log also confirms that it uses my advanced settings.
About the xbmc build: I first used one from rbp git that I compiled myself some time ago (also on this thread), but now took a completele fresh arch rpi build and installed the binary from sajuuk. Also put the advancedsettings.xml there, but still have the high cpu load.
Do you guys experience the same? And if so... anybody with a fix/workaround?
For completeness, here is my advancedsettings.xml (the one used by OpenELEC):
$this->bbcode_second_pass_code('', '
<advancedsettings>
<splash>false</splash>
<showexitbutton>false</showexitbutton>
<destroywindowcontrols>false</destroywindowcontrols>
<fanartheight>512</fanartheight>
<thumbsize>256</thumbsize>
<bginfoloadermaxthreads>2</bginfoloadermaxthreads>
<useddsfanart>true</useddsfanart>
<gui>
<algorithmdirtyregions>3</algorithmdirtyregions>
<nofliptimeout>0</nofliptimeout>
<visualizedirtyregions>off</visualizedirtyregions>
</gui>
<audio>
<omxhwaudiodecode>1</omxhwaudiodecode>
</audio>
<network>
<cachemembuffersize>30242880</cachemembuffersize>
</network>
<samba>
<clienttimeout>30</clienttimeout>
</samba>
</advancedsettings>
')