HOW-TO:Modify dirty regions: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Enabling [[Advancedsettings.xml#<algorithmdirtyregions>|dirty regions]] can help speed up the GUI in XBMC and decrease the demand on your CPU and GPU. Dirty regions has no effect during video playback unless there are GUI elements (on screen buttons) visible. The video itself is unaffected by these settings. It is currently not enabled by default due to some GPU/hardware configurations having some minor issues (such as a visual "flicker"), but should still work for most set-ups. For more information see: '''[[xbmc.org:theuni/2011/06/19/working-with-dirty-regions/|Working with dirty regions]]'''
[[Advancedsettings.xml#<algorithmdirtyregions>|Dirty regions]] can help speed up the GUI in XBMC and decrease the demand on your CPU and GPU. Dirty regions has no effect during video playback unless there are GUI elements (on screen buttons) visible. Using dirty regions requires XBMC v11 (Eden) or higher.


For more information see: '''[[xbmc.org:theuni/2011/06/19/working-with-dirty-regions/|Working with dirty regions]]'''


Using dirty regions requires XBMC v11 (Eden).
==Modes==
"Mode" 3 is currently enabled by default (as of XBMC v12), as it will reduce CPU/GPU usage without causing any flickering in the graphics. However Mode 3 will not make the GUI any faster. For that you will need mode 1 or 2. Mode 1 will provide the greatest speedup.


Some GPU/hardware configurations will have some minor issues (such as a visual "flicker"), so for those situations try mode 2 or use the default (mode 3, which requires no advancedsetting).
==Example==
This example is probably the setting that most users will want to try if they want to increase the GUI speed. As noted above, if you have issues you might want to try this same setting with mode 2 or 3:


:1. Create a text document and save it as <code>advancedsettings.xml</code> (or edit the existing one if you've already made it)
:1. Create a text document and save it as <code>advancedsettings.xml</code> (or edit the existing one if you've already made it)

Revision as of 01:48, 18 November 2012

Dirty regions can help speed up the GUI in XBMC and decrease the demand on your CPU and GPU. Dirty regions has no effect during video playback unless there are GUI elements (on screen buttons) visible. Using dirty regions requires XBMC v11 (Eden) or higher.

For more information see: Working with dirty regions

Modes

"Mode" 3 is currently enabled by default (as of XBMC v12), as it will reduce CPU/GPU usage without causing any flickering in the graphics. However Mode 3 will not make the GUI any faster. For that you will need mode 1 or 2. Mode 1 will provide the greatest speedup.

Some GPU/hardware configurations will have some minor issues (such as a visual "flicker"), so for those situations try mode 2 or use the default (mode 3, which requires no advancedsetting).

Example

This example is probably the setting that most users will want to try if they want to increase the GUI speed. As noted above, if you have issues you might want to try this same setting with mode 2 or 3:

1. Create a text document and save it as advancedsettings.xml (or edit the existing one if you've already made it)
2. Cut and paste the following into your new advancedsettings.xml file:
<advancedsettings>
 <gui>    
   <algorithmdirtyregions>1</algorithmdirtyregions>
   <nofliptimeout>1000</nofliptimeout>
 </gui>
</advancedsettings>
3. Place your advancedsettings.xml file in your userdata folder.
4. Done!

Technical notes

From the advancedsettings.xml page:


<algorithmdirtyregions>


<nofliptimeout>