aboutsummaryrefslogtreecommitdiff
path: root/tools/Linux/kodi.sh.in
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2016-08-26 19:46:19 +0200
committerwsnipex <wsnipex@a1.net>2016-08-26 19:46:19 +0200
commit9c7ff65adf24ca99d424d945d9d5ffdd832a4076 (patch)
tree4f828db79daa8dcfade1c7fbe515a33bc51aa2cb /tools/Linux/kodi.sh.in
parenta56be14886528adb567e0f0a1fc7a3c5a63c92f4 (diff)
[linux] fix high CPU usage with nvidia cards
Diffstat (limited to 'tools/Linux/kodi.sh.in')
-rw-r--r--tools/Linux/kodi.sh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/Linux/kodi.sh.in b/tools/Linux/kodi.sh.in
index 9e25f45992..d0e3871681 100644
--- a/tools/Linux/kodi.sh.in
+++ b/tools/Linux/kodi.sh.in
@@ -29,6 +29,10 @@ CRASHLOG_DIR=${CRASHLOG_DIR:-$HOME}
USERDATA_DIR="${HOME}/.${bin_name}"
+# Workaround for high CPU load with nvidia GFX
+export __GL_YIELD=USLEEP
+
+
# Check for some options used by this script
while [ "$#" -gt "0" ]
do