From 8a348ffbf059dc42dccf6a41e98c452a40109760 Mon Sep 17 00:00:00 2001 From: jackun Date: Thu, 20 Feb 2020 22:19:52 +0200 Subject: [PATCH] Disable gpu_timing for now Issue #44 --- src/overlay_params.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/overlay_params.cpp b/src/overlay_params.cpp index 784c824..24fbcbf 100644 --- a/src/overlay_params.cpp +++ b/src/overlay_params.cpp @@ -323,6 +323,9 @@ parse_overlay_config(struct overlay_params *params, if (env && read_cfg) parse_overlay_env(params, env); + // Command buffer gets reused and timestamps cause hangs for some reason, force off for now + params->enabled[OVERLAY_PARAM_ENABLED_gpu_timing] = false; + // if font_size is used and height has not been changed from default // increase height as needed based on font_size