From fc7cd9a949adeb169aa31d841e345ba6939a4280 Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Mon, 11 Sep 2023 22:07:47 +0200 Subject: [PATCH] feat: enable monado debug gui --- src/profiles/lighthouse.rs | 2 +- src/profiles/openhmd.rs | 2 +- src/profiles/system_valve_index.rs | 2 +- src/profiles/valve_index.rs | 2 +- src/profiles/wivrn.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/profiles/lighthouse.rs b/src/profiles/lighthouse.rs index 128548a..21d725b 100644 --- a/src/profiles/lighthouse.rs +++ b/src/profiles/lighthouse.rs @@ -12,7 +12,7 @@ pub fn lighthouse_profile() -> Profile { environment.insert("XRT_JSON_LOG".into(), "1".into()); environment.insert("XRT_COMPOSITOR_SCALE_PERCENTAGE".into(), "140".into()); environment.insert("XRT_COMPOSITOR_COMPUTE".into(), "1".into()); - environment.insert("XRT_DEBUG_GUI".into(), "0".into()); + environment.insert("XRT_DEBUG_GUI".into(), "1".into()); environment.insert("XRT_CURATED_GUI".into(), "1".into()); environment.insert( "LD_LIBRARY_PATH".into(), diff --git a/src/profiles/openhmd.rs b/src/profiles/openhmd.rs index e386209..eaded5f 100644 --- a/src/profiles/openhmd.rs +++ b/src/profiles/openhmd.rs @@ -15,7 +15,7 @@ pub fn openhmd_profile() -> Profile { environment.insert("XRT_JSON_LOG".into(), "1".into()); environment.insert("XRT_COMPOSITOR_SCALE_PERCENTAGE".into(), "140".into()); environment.insert("XRT_COMPOSITOR_COMPUTE".into(), "1".into()); - environment.insert("XRT_DEBUG_GUI".into(), "0".into()); + environment.insert("XRT_DEBUG_GUI".into(), "1".into()); environment.insert("XRT_CURATED_GUI".into(), "1".into()); environment.insert( "LD_LIBRARY_PATH".into(), diff --git a/src/profiles/system_valve_index.rs b/src/profiles/system_valve_index.rs index accdccf..8dd8066 100644 --- a/src/profiles/system_valve_index.rs +++ b/src/profiles/system_valve_index.rs @@ -12,7 +12,7 @@ pub fn system_valve_index_profile() -> Profile { environment.insert("XRT_COMPOSITOR_COMPUTE".into(), "1".into()); environment.insert("SURVIVE_GLOBALSCENESOLVER".into(), "0".into()); environment.insert("SURVIVE_TIMECODE_OFFSET_MS".into(), "-6.94".into()); - environment.insert("XRT_DEBUG_GUI".into(), "0".into()); + environment.insert("XRT_DEBUG_GUI".into(), "1".into()); environment.insert("XRT_CURATED_GUI".into(), "1".into()); Profile { uuid: "system-valve-index-default".into(), diff --git a/src/profiles/valve_index.rs b/src/profiles/valve_index.rs index bbc191c..7387e96 100644 --- a/src/profiles/valve_index.rs +++ b/src/profiles/valve_index.rs @@ -17,7 +17,7 @@ pub fn valve_index_profile() -> Profile { environment.insert("XRT_COMPOSITOR_COMPUTE".into(), "1".into()); environment.insert("SURVIVE_GLOBALSCENESOLVER".into(), "0".into()); environment.insert("SURVIVE_TIMECODE_OFFSET_MS".into(), "-6.94".into()); - environment.insert("XRT_DEBUG_GUI".into(), "0".into()); + environment.insert("XRT_DEBUG_GUI".into(), "1".into()); environment.insert("XRT_CURATED_GUI".into(), "1".into()); environment.insert( "LD_LIBRARY_PATH".into(), diff --git a/src/profiles/wivrn.rs b/src/profiles/wivrn.rs index 9d28528..10f356f 100644 --- a/src/profiles/wivrn.rs +++ b/src/profiles/wivrn.rs @@ -13,7 +13,7 @@ pub fn wivrn_profile() -> Profile { "LD_LIBRARY_PATH".into(), format!("{pfx}/lib:{pfx}/lib64", pfx = prefix), ); - environment.insert("XRT_DEBUG_GUI".into(), "0".into()); + environment.insert("XRT_DEBUG_GUI".into(), "1".into()); environment.insert("XRT_CURATED_GUI".into(), "1".into()); Profile { uuid: "wivrn-default".into(),