HOW-TO:Modify dirty regions
|advancedsettings.xml||HOW-TO:Modify dirty regions|
Dirty regions is an advanced setting and interface rendering method that can help speed up the GUI in Kodi 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 Kodi v11 (Eden) or higher.
1 Settings explained
The following settings are available
Enable dirty-region processing. Dirty regions are any parts of the screen that have changed since the last frame. By not re-rendering what hasn't changed the GUI can be sped up. Because all GPUs work differently, only Mode 3 is guaranteed to work for everyone without flickering issues. This mode will reduce CPU/GPU usage, but will not increase GUI speed.
|0||Off||The entire viewport is always rendered.|
|1||Union||All dirty regions are grouped into the smallest possible rectangle. This is typically the fastest mode for slower GPUs due to only making one pass.|
|2||Cost reduction||Each dirty region is presented separately, in as many passes as there are regions.|
|3||Whole Screen||The entire screen is rendered if there are any dirty regions. This is a safe default for drivers that clear buffer contents (manifests as blinking or vibrating images). Default|
Enable dirty-region visualization. Paints a rectangle over marked controls.
- true: on
- false: off (Default)
This tag was removed in v17 and no longer has any effect.
If you don't already have an advancedsettings.xml file, it's very simple to make. Kodi uses this file for advanced settings and features that normal users shouldn't modify without first knowing what they do, as well as for experimental features.
|1|| Create a plain text file (no rich text formatting, don't use .doc, etc) and save it as advancedsettings.xml. Make sure that the file extension is ".xml" and not ".txt" or ".xml.txt".
|2|| Cut and paste this into your new plain text file. Do not duplicate any tags if they already exist in your advancedsettings.xml file:
|3|| Change the values between the tags to fit your situation. See #Settings explained for details.
|4|| Save this file in your userdata folder: