mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-04 07:08:53 +00:00
Merge branch 'min_period' into 'main'
feat: enable min_period in all profiles for better performance See merge request gabmus/envision!21
This commit is contained in:
commit
ceffdcad9b
6 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,7 @@ pub static ENV_VAR_DESCRIPTIONS: Map<&str, &str> = phf_map! {
|
||||||
"XRT_COMPOSITOR_SCALE_PECENTAGE" =>
|
"XRT_COMPOSITOR_SCALE_PECENTAGE" =>
|
||||||
"Render resolution percentage. A percentage higher than the native resolution (>100) will help with antialiasing and image clarity.",
|
"Render resolution percentage. A percentage higher than the native resolution (>100) will help with antialiasing and image clarity.",
|
||||||
"XRT_COMPOSITOR_COMPUTE" => "Set to 1 to use GPU compute for the OpenXR compositor.",
|
"XRT_COMPOSITOR_COMPUTE" => "Set to 1 to use GPU compute for the OpenXR compositor.",
|
||||||
|
"U_PACING_APP_USE_MIN_FRAME_PERIOD" => "Set to 1 to unlimit the compositor refresh from a power of two of your HMD refresh, typically provides a large performance boost.",
|
||||||
"SURVIVE_GLOBALSCENESOLVER" =>
|
"SURVIVE_GLOBALSCENESOLVER" =>
|
||||||
"Continuously recalibrate lighthouse tracking during use. In the current state it's recommended to disable this feature by setting this value to 0.",
|
"Continuously recalibrate lighthouse tracking during use. In the current state it's recommended to disable this feature by setting this value to 0.",
|
||||||
// "SURVIVE_TIMECODE_OFFSET_MS" => "",
|
// "SURVIVE_TIMECODE_OFFSET_MS" => "",
|
||||||
|
|
|
@ -14,6 +14,7 @@ pub fn lighthouse_profile() -> Profile {
|
||||||
environment.insert("XRT_COMPOSITOR_COMPUTE".into(), "1".into());
|
environment.insert("XRT_COMPOSITOR_COMPUTE".into(), "1".into());
|
||||||
environment.insert("XRT_DEBUG_GUI".into(), "1".into());
|
environment.insert("XRT_DEBUG_GUI".into(), "1".into());
|
||||||
environment.insert("XRT_CURATED_GUI".into(), "1".into());
|
environment.insert("XRT_CURATED_GUI".into(), "1".into());
|
||||||
|
environment.insert("U_PACING_APP_USE_MIN_FRAME_PERIOD".into(), "1".into());
|
||||||
environment.insert(
|
environment.insert(
|
||||||
"LD_LIBRARY_PATH".into(),
|
"LD_LIBRARY_PATH".into(),
|
||||||
format!("{pfx}/lib:{pfx}/lib64", pfx = prefix),
|
format!("{pfx}/lib:{pfx}/lib64", pfx = prefix),
|
||||||
|
|
|
@ -17,6 +17,7 @@ pub fn openhmd_profile() -> Profile {
|
||||||
environment.insert("XRT_COMPOSITOR_COMPUTE".into(), "1".into());
|
environment.insert("XRT_COMPOSITOR_COMPUTE".into(), "1".into());
|
||||||
environment.insert("XRT_DEBUG_GUI".into(), "1".into());
|
environment.insert("XRT_DEBUG_GUI".into(), "1".into());
|
||||||
environment.insert("XRT_CURATED_GUI".into(), "1".into());
|
environment.insert("XRT_CURATED_GUI".into(), "1".into());
|
||||||
|
environment.insert("U_PACING_APP_USE_MIN_FRAME_PERIOD".into(), "1".into());
|
||||||
environment.insert(
|
environment.insert(
|
||||||
"LD_LIBRARY_PATH".into(),
|
"LD_LIBRARY_PATH".into(),
|
||||||
format!("{pfx}/lib:{pfx}/lib64", pfx = prefix),
|
format!("{pfx}/lib:{pfx}/lib64", pfx = prefix),
|
||||||
|
|
|
@ -19,6 +19,7 @@ pub fn survive_profile() -> Profile {
|
||||||
environment.insert("SURVIVE_TIMECODE_OFFSET_MS".into(), "-6.94".into());
|
environment.insert("SURVIVE_TIMECODE_OFFSET_MS".into(), "-6.94".into());
|
||||||
environment.insert("XRT_DEBUG_GUI".into(), "1".into());
|
environment.insert("XRT_DEBUG_GUI".into(), "1".into());
|
||||||
environment.insert("XRT_CURATED_GUI".into(), "1".into());
|
environment.insert("XRT_CURATED_GUI".into(), "1".into());
|
||||||
|
environment.insert("U_PACING_APP_USE_MIN_FRAME_PERIOD".into(), "1".into());
|
||||||
environment.insert(
|
environment.insert(
|
||||||
"LD_LIBRARY_PATH".into(),
|
"LD_LIBRARY_PATH".into(),
|
||||||
format!("{pfx}/lib:{pfx}/lib64", pfx = prefix),
|
format!("{pfx}/lib:{pfx}/lib64", pfx = prefix),
|
||||||
|
|
|
@ -15,6 +15,7 @@ pub fn wivrn_profile() -> Profile {
|
||||||
);
|
);
|
||||||
environment.insert("XRT_DEBUG_GUI".into(), "1".into());
|
environment.insert("XRT_DEBUG_GUI".into(), "1".into());
|
||||||
environment.insert("XRT_CURATED_GUI".into(), "1".into());
|
environment.insert("XRT_CURATED_GUI".into(), "1".into());
|
||||||
|
environment.insert("U_PACING_APP_USE_MIN_FRAME_PERIOD".into(), "1".into());
|
||||||
Profile {
|
Profile {
|
||||||
uuid: "wivrn-default".into(),
|
uuid: "wivrn-default".into(),
|
||||||
name: format!("WiVRn - {name} Default", name = APP_NAME),
|
name: format!("WiVRn - {name} Default", name = APP_NAME),
|
||||||
|
|
|
@ -17,6 +17,7 @@ pub fn wmr_profile() -> Profile {
|
||||||
environment.insert("XRT_COMPOSITOR_COMPUTE".into(), "1".into());
|
environment.insert("XRT_COMPOSITOR_COMPUTE".into(), "1".into());
|
||||||
environment.insert("XRT_DEBUG_GUI".into(), "1".into());
|
environment.insert("XRT_DEBUG_GUI".into(), "1".into());
|
||||||
environment.insert("XRT_CURATED_GUI".into(), "1".into());
|
environment.insert("XRT_CURATED_GUI".into(), "1".into());
|
||||||
|
environment.insert("U_PACING_APP_USE_MIN_FRAME_PERIOD".into(), "1".into());
|
||||||
environment.insert(
|
environment.insert(
|
||||||
"LD_LIBRARY_PATH".into(),
|
"LD_LIBRARY_PATH".into(),
|
||||||
format!("{pfx}/lib:{pfx}/lib64", pfx = prefix),
|
format!("{pfx}/lib:{pfx}/lib64", pfx = prefix),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue